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 245792 - C++11 specific keywords are not highlighted as keywords in standalone files
Summary: C++11 specific keywords are not highlighted as keywords in standalone files
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: PC Solaris
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-18 11:22 UTC by soldatov
Modified: 2014-12-19 23:19 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2014-07-18 11:22:52 UTC
Scenario:
- Push File|Open File...
- Select some C++11 source file and press OK button
==> C++11 specific keywords has black foreground color instead of blue and user can't change this behavior. Really I want to see valid basic syntax (and syntax only) highlighting in Dbxtool.
Comment 1 Alexander Simon 2014-08-12 11:29:10 UTC
It looks like enhancement.
By the way what does "Select some C++11 source file" mean?
Please provide strict definition of C++11 source.
Comment 2 cinderblock 2014-12-19 22:39:37 UTC
I had the same *problem*.

I believe you need to tell Netbeans that the current project is C11/C++11.

Go to:

File -> Project Properties -> Build -> C Compiler -> C Standard = C11
File -> Project Properties -> Build -> C++ Compiler -> C++ Standard = C++11

If you are just opening a random file outside of a project, I believe netbeans parses it based on the default C/C++ standard that your compiler uses.
Comment 3 soldatov 2014-12-19 23:19:27 UTC
I think my bug was fixed in issue 247764