Re: Suggestion's Fix Panel

Tor Norbye <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.tasklist.devel
Message-ID <[email protected]>
vbrabant wrote:
> Hi Tor,
> Contratulations for the suggestions submodule.
> I use it every day at work now.
> But just somes remarks after one week usage:
> 
>    Is it possible to have an option that put the line in comment in
>    place of delete it ?

Good idea, I've added it to my tasklist!

> 
>    Sometime the line nr is not uptodate, it means that when i want to
>    fix a line, it fix another one.

I have not seen that problem. If you can reproduce it, please
file a bug. (If you can't provide the source file itself,
it would really help if you could boil down the source file
to a short test case that I can open in my editor and
see the pmd warnings and failure myself.)

> 
>    Do you think it's feasable to use the merge module with at left side
>    the current javasource, and at right side, the currentjavasource
>    with all suggestions fixed ? Just a question.

It would be very nice, and I believe I have recorded an issuezilla
feature request for something like that. However, it's very hard.
(For the copyright suggester I'm doing something similar - I'm
actually applying the fix method to modify a second copy of the
document and I show that in the "after" preview area - but granted,
this is not a diff view.)  The reason it's hard in general is
that for the javadoc fixer, import tool, etc., I'm using the
java srcmodel APIs to modify the java source - and they operate
on the source file themselves - so it would be difficult to create
an isolated copy of the class and run these functions on it.
But not undoable I think.

-- 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.