This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
1. Create a new Java SE project 2. Wait for the scanning to finish, the TODO task will be shown in the tasklist 3. In the Main class that was created, delete the line with TODO comment and save => TODO item disappears from tasklist: correct 4. Switch to "currently edited file only" scope in the tasklist => TODO item reappears: bug Here is my build info: Product Version: NetBeans IDE 6.7 RC3 (Build 200906100001) Java: 1.6.0_07; Java HotSpot(TM) 64-Bit Server VM 1.6.0_07-b06-57 System: Mac OS X version 10.5.7 running on x86_64; MacRoman; en_US (nb)
Why java.hints?
I guess because I ran into this using a Java Se project. Feel free to reassign to a more appropriate category.
Reproducible. Happens also for ie. PHP projects => not java specific.
fixed in core-main 8c36c3b814d1 might be worth fixing in 6.7 release - when all todos are removed from a given file the tasklist will still be showing those todos until a new todo is created in that file
Ok, targeted for NB 6.7 - we'll test it today and let you know once we have results.
i've just pushed a new fix to core-main 0fd3fa898a65 the previous fix is invalid
Integrated into 'main-golden', will be available in build *200906110201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/8c36c3b814d1 User: S. Aubrecht <saubrecht@netbeans.org> Log: #166858 - Task list doesn't clear its cache when all tasks are removed from indexed file
I've tried to reproduce the problem, but haven't been able to do so in latest build from core-main ... so Standa, please go ahead and integrate the fix into release67 ... thanks in advance.
fixed in release67 6fd9dfc5d5ce
Integrated into 'main-golden', will be available in build *200906120201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/0fd3fa898a65 User: S. Aubrecht <saubrecht@netbeans.org> Log: #166858 - Task list doesn't clear its cache when all tasks are removed from indexed file - proper fix
verified. NetBeans IDE 6.7 RC3 (Build 200906142201)