Re: Integrated compiler and javaparser functionality

Petr Kuzel <[email protected]> Thu, 12 Feb 2004 12:06:32 +0100
Newsgroups gmane.comp.java.netbeans.modules.tasklist.devel
Organization Sun Microsystems
Message-ID <[email protected]>
Tim Lebedkov wrote:

> Hi Petr,
> 
> Petr Kuzel wrote:
> 
>>Hello Tim,
>>
>>looking at compiler submodule from user's point
>>of view it misses fix feature javaparser submodule
>>provides. I think that both background parsing
>>snd explicit compilation action errors are worth
>>to support the fix action. Furthermore it looks
>>doable.
>>
>>What do you think?
>>
> - Will this submodule become a part of NB 4.0?

I have not figured out my plans yet. Preliminary answer
is that I'll not drive it to become 4.0 part without rework.

> - The main problem is that Ant does not use the CompilationEngine to
> output the messages.
> (All projects I work on are Ant based and this is why this module is not
> very important for me now).

4.0 should have better support for Ant based projects AFAIK.

> - Earlier the compiler submodule was just a SuggestionProvider. But we
> decided to
> create a special TopComponent for it. The TODO view could show now not
> only nodes for the current open editor. Maybe /compiler should become a
> SuggestionProvider again.
> This way it would be easier to implement the fix action.

Separate view showing compilation results is unique
property of this module distinguishing it from pure
suggestion providers. I do not think that compilation
action results should appear in regular suggestions view
(compare to current file background parsing).

  Cc.

-- 
<address>
<a href="mailto:[email protected]">Petr Kuzel</a> at Sun Microsystems :
<a href="http://www.netbeans.org/">NetBeans Java IDE</a></address>