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.
Scenario: 1) Create project 2) Create such C++ file: #include <cstdlib> #ifdef AAA int i; #endif int main() { return 0; } 3) Push 'Tools|Options' menu item 4) Click on 'C/C++' icon 5) Open 'Code Assistance' tab 6) Add 'AAA=1' string into 'C++ Compiler' tab ==> 'int i;' is highlighted as active code 7) Push 'Tools|Options' menu item 8) Click on 'C/C++' icon 9) Open 'Code Assistance' tab 10) Press 'Reset Settings' button in 'C++ Compiler' tab ==> 'int i;' is highlighted as inactive code 11) Repeat steps 3) - 10) ==> 'int i;' is highlighted as active code
escalated to P2
I have repeated steps 3)-10) 10 times and everything is OK with reset settings
I verified this bug in latest build, and I see old problem. IDE ignores changes in Options window (when I delete preprocessor directive from 'Code Assistance' tab)
In today's build I can reproduce it as well
fixed http://hg.netbeans.org/cnd-main?cmd=changeset;node=37e110416cc3
Integrated into 'main-golden', will be available in build *200904201507* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/37e110416cc3 User: Nick N. Krasilnikov <nnnnnk@netbeans.org> Log: fixed IZ#134029 : Project ignores Reset Settings action