Re: Suggestions Icon

Tor Norbye <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.tasklist.devel
Message-ID <1037901320.27913.50.camel@norbye>
[cc'ed dev@tasklist since I'm including a status-update of
 what I've been working on; I apologize for being so silent on
 the alias about this]

On Thu, 2002-11-21 at 09:49, Dusan Pavlica wrote:
> Hi Tor,
> 
> That bulb icon I took from any free WEB-gallery and I modified it.
> So I suppose that you can use it?

Great!

> 
> BTW: Any rising features in TaskList ? ;)

Yes, I've been working on the suggestions stuff and a lot of it
is working in my private copy. But I have some more work to polish
off before I can commit it.

But the suggestions view is there. And I have
- made source-task-providers out of the copyright check and the
  document TODO/XXX scanner, such that these show up in the suggestions
  view instead of/in addition to the source scan view.
- modified the java module to add suggestions for each source parse
  annotation, so you see the compiler error message, not just
  the squiggly line under your error in the editor. (When the
  javacompletion API is ready I hope to do some more analysis to
  actually provide performers to attempt to fix the error, such
  as for example importing a class. )
- modified the PMD checker to also be a suggestion provider keyed
  off my document suggestion provider API.  That way, just like
  you get to see tasks for your TODOs in your source file, you get
  to see tasks suggested by the PMD module for errors in your
  current file. Most errors simply warp to source when you double
  click on them, but for the "unused import" violation, I've added
  a performer which removes the given line. So you can shift-select
  a set of "unused import X" suggestions, right click and select "Fix"
  and the statements are removed from the source code!

But I've run into some UI problems so I'll write to nbui about this
when I work on it some more this weekend.

-- Tor
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.