better-cpp-syntax
better-cpp-syntax copied to clipboard
💾 The source of VS Code's C++ syntax highlighting
Checklist - [x] This problem exists even with the setting `"C_Cpp.enhancedColorization": "Disabled"` ## The code with a problem is: ``` #define FOO1(param) param #define FOO2(param) #bar ``` Macro parameters are...
Checklist - [x] This problem exists even with the setting `"C_Cpp.enhancedColorization": "Disabled"` ## The code with a problem is: ``` struct alignas(8) Foo {}; ``` `alignas` is being tokenized to...
Checklist - [x] This problem exists even with the setting `"C_Cpp.enhancedColorization": "Disabled"` ## The code with a problem is: ``` void Foo() throw() {} ``` ## It looks like: ...
See the original bug report at https://github.com/microsoft/vscode-cpptools/issues/10561 . Doxygen docs at https://www.doxygen.nl/manual/commands.html#cmdcopydetails .
We have some nested syntax highlighting, eg SQL which colours as expected, however, bracket matching does not work, and it just shows the outer brackets of the string.  I...
Checklist - [x] This problem exists even with the setting `"C_Cpp.enhancedColorization": "Disabled"` If Disabling that^ makes the problem go away, then follow this to make an issue on the C++...
Checklist - [x] This problem exists even with the setting `"C_Cpp.enhancedColorization": "Disabled"` ## The code with a problem is: ``` #include void test(std::function f1) { std::function f2; } ``` ##...
Checklist - [x] This problem exists even with the setting `"C_Cpp.enhancedColorization": "Disabled"` ## The code with a problem is: ``` struct A1 { virtual ~A1() = default; }; struct A2...
I would argue that "entity.name.type.parameter" is a poor choice of textmate scope to tag user-defined types of function parameters. It turns out that VSCode maps the semantic token "typeParameter" which...
Checklist - [X] This problem exists even with the setting `"C_Cpp.enhancedColorization": "Disabled"` ## The code with a problem is: ``` [LinuxExcluded] [Description("For testing")] public ref class TestClass ... ``` ##...