better-cpp-syntax
better-cpp-syntax copied to clipboard
💾 The source of VS Code's C++ syntax highlighting
Type: Bug "#if 0//" >>> OK, but "if0 //" >> not highlighting VS Code version: Code 1.70.0 (da76f93349a72022ca4670c1b84860304616aaa2, 2022-08-04T04:38:16.462Z) OS version: Windows_NT x64 10.0.19044 Modes: Extensions (12) Extension|Author (truncated)|Version ---|---|---...
 c++ Keyword alignas afert struct declaration is not ricognized , as Visualstudio can do. Version: 1.70.0 (user setup) Commit: da76f93349a72022ca4670c1b84860304616aaa2 Date: 2022-08-04T04:38:16.462Z Electron: 18.3.5 Chromium: 100.0.4896.160 Node.js: 16.13.2 V8:...
This pull request should take care of issue https://github.com/jeff-hykin/better-cpp-syntax/issues/492. However it will probably not work for more involved cases. More work is needed for that, see issue https://github.com/jeff-hykin/better-cpp-syntax/issues/246.
Replace the scope `punctuation.section.angle-brackets.start.template.definition.cpp` by `punctuation.section.angle-brackets.begin.template.definition.cpp` for consistency.
When multiple trailing qualifiers are present, the scopes are not properly computed, see comment on issue https://github.com/jeff-hykin/better-cpp-syntax/issues/511
Here is my proposal for fixing issue https://github.com/jeff-hykin/better-cpp-syntax/issues/407 (see also duplicate issue https://github.com/jeff-hykin/better-cpp-syntax/issues/496 and related issue https://github.com/jeff-hykin/better-cpp-syntax/issues/587). I introduced four additional TextMate scopes, namely `keyword.other.[default|delete].[destructor|function]` since any special member function...
Rather than defining the string_context as a child of the function_parameter_context, we seem to get a more reliable result if we define it as part of the parameter tag (`meta.parameter.cpp`)....
Checklist - [ ] This problem exists even with the setting `"C_Cpp.enhancedColorization": "Disabled"` → Not sure, see below - [ ] This bug exists for C - [x] This bug...
Hi there @jeff-hykin 👋, Please publish this extension to the Open VSX marketplace. ## Context Unfortunately, as Microsoft prohibits usages of the Microsoft marketplace by any other products or redistribution...
Checklist - [ ] This problem exists even with the setting `"C_Cpp.enhancedColorization": "Disabled"` ## The code with a problem is: ```c #ifdef CONFIG_CC_HAS_ASM_INLINE #define asm_inline asm __inline #else #define asm_inline...