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 135891 - Extensions added in options aren't applied to existing files till NetBeans restart
Summary: Extensions added in options aren't applied to existing files till NetBeans re...
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
: 124249 136978 (view as bug list)
Depends on: 134192
Blocks:
  Show dependency tree
 
Reported: 2008-05-27 15:10 UTC by Sergey Grinev
Modified: 2009-03-23 16:49 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 Sergey Grinev 2008-05-27 15:10:03 UTC
1. Create a plain text file with name "random.cfg"
2. Type "int i;" in it. No highlighing should be shown.
3. Go to Tools->Options->C/C++->Other->C/C++ Header File Extensions and add "cfg" to extensions list.

EXPECTED: opened "random.cfg" would get syntax highlighting and will be marked as header file in project view
OBSERVED: it is not. Neither reopening file, nor reopening project, nor removing from project and adding back will fix
this. 
WORKAROUND: new extensions works fine after restarting IDE.

N.B.: applicable only to trunk version due to http://www.netbeans.org/issues/show_bug.cgi?id=134192
Comment 1 Vladimir Voskresensky 2008-05-31 13:11:47 UTC
Have a look at http://www.netbeans.org/issues/show_bug.cgi?id=133773 as well. Could be related
Comment 2 Alexander Pepin 2008-06-30 14:06:47 UTC
see also issue #116111
Comment 3 Sergey Grinev 2008-07-21 16:19:04 UTC
*** Issue 124249 has been marked as a duplicate of this issue. ***
Comment 4 Sergey Grinev 2008-07-21 16:20:30 UTC
*** Issue 136978 has been marked as a duplicate of this issue. ***
Comment 5 Alexander Simon 2009-03-23 16:49:01 UTC
not repeatable now