Re: [tasklist] RFE: remove duplicate suggestions from the suggestion view...
"Trond Norbye" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.tasklist.devel |
|---|---|
| Message-ID | <[email protected]> |
Tor Norbye said: > But if you have a statement like this: > > Calendar c = new Calendar(); > > you get TWO errors complaining that Calendar is an unknown symbol. For > each error, the suggestions view will attempt to find a fix. > > We -could- suppress successive identical errors - is that what your > enhancement request is all about? Yes ;) > > But of course if I have a statement like this: > > Calendar c = null; Date d = null; c = new Calendar(); > > I will again get two errors on calendar - but a Date error in > the middle. In this case, removing the duplicates seem like a bad > idea since they're really referring to different statements. > Given javac error output, I can't tell this case apart from the > earlier example. Well, _personally_ I would only like to see the first entry, since _both_ of the suggestions you provide is to include the same class, but I do understand your objections (or what I'll guess is your objections) to it... Trond