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.

Bug 134029 - Project ignores 'Reset Settings' action
Summary: Project ignores 'Reset Settings' action
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: nnnnnk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-26 16:08 UTC by soldatov
Modified: 2009-04-20 20:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2008-04-26 16:08:03 UTC
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
Comment 1 Alexander Pepin 2008-05-11 01:38:44 UTC
escalated to P2
Comment 2 Vladimir Voskresensky 2008-08-12 16:12:30 UTC
I have repeated steps 3)-10) 10 times and everything is OK with reset settings
Comment 3 soldatov 2008-08-13 15:18:27 UTC
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)
Comment 4 Vladimir Voskresensky 2008-08-13 15:46:01 UTC
In today's build I can reproduce it as well
Comment 6 Quality Engineering 2009-04-20 20:11:09 UTC
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