[Feature request] C++11 keywords highlighting
A free, portable, fast and simple C/C++ IDE
Brought to you by:
orwelldevcpp
Some C++ keywords not highlighted in the editor.
The C++11 keywords: 'alignas', 'alignof', 'char16_t', 'char32_t', 'constexpr', 'decltype', 'noexcept', 'nullptr', 'static_assert', 'thread_local'.
And the C++03 keyword 'export' (it's not used really, but it's reserved as a keyword).
Don't forget override and final if used behind the method declaration.
I'll consider adding all C++ keywords, up to and including C++11.
Do you think this is a good reference: http://en.cppreference.com/w/cpp/keyword ?
Last edit: orwelldevcpp 2012-11-01
Yes, it's good enough.
Note that 'override' it is contextual keyword and only meaningful after the member function declaration:
The 'final' works just like 'override', but can also be used after the class name in a class declaration:
In other contexts 'final' and 'override' are not keywords.
Last edit: Vasily Biryukov 2012-11-01
I'll probably add those keywords to 5.3.0.3 (expect it in about 8-9 days), but I'm afraid it will be a hell of a job making the highlighting so context sensitive for override and final. The highlighter has limited parsing capabilities, so getting that stuff to work would be out of my reach (I'd have to completely rewrite the highlighter).
Added all context insensitive keywords from said link.
That took a while.