better-cpp-syntax
better-cpp-syntax copied to clipboard
💾 The source of VS Code's C++ syntax highlighting
It may be possible to expand attribute support to include macros that expand to attributes. I was thinking that the attribute pattern be expanded to include ```regex [A-Z_]*_(NORETURN|CARRIES_DEPENDENCY|DEPRECATED|FALLTHROUGH|NO_?DISCARD|MAYBE_UNUSED|LIKELY|UNLIKELY|NO_UNIQUE_ADDRESS|OPTIMIZE_FOR_SYNCHRONIZED|ALIGNAS)(?:_[A-Z_]*|\b)(?:\([^)]\))? ``` portable...
Doxygen is a popular documentation comment format for C and C++. Just as the javascript/typescript grammar has support for jsdoc comments, this grammar should have support for Doxygen comments. Documentation...
Checklist - [x] This problem exists even with the setting `"C_Cpp.enhancedColorization": "Disabled"` ## The code with a problem is: ```cpp type7 function3(type8 value8, type9 value9); type10 function4(type11 value11, type12 value12);...
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 - [ ] 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...
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"` If Disabling that^ makes the problem go away, then follow this to make an issue on the C++...
I am using clangd. now normally it works super well with clangd and compile commands enabled... but other than that? from what I have seen. it just doesn't play nice......
The syntax described in [Putting documentation after members](https://www.doxygen.nl/manual/docblocks.html#memberdoc) is not recognized as Doxygen comments and gets highlighted as ordinary comments. ## Checklist - [x] This problem exists even with the...
Fixes https://github.com/jeff-hykin/better-cpp-syntax/issues/677. I'm not happy with the `->` being mistagged, but I'm also not excited about fixing it for [pack-index-specifier](https://eel.is/c++draft/dcl.type.pack.index#nt:pack-index-specifier) while keeping it broken for [decltype-specifier](https://eel.is/c++draft/dcl.type.decltype#nt:decltype-specifier) (see [computed-type-specifier](https://eel.is/c++draft/dcl.type.simple#nt:computed-type-specifier), [simple-type-specifier](https://eel.is/c++draft/dcl.type.simple#nt:simple-type-specifier), [type-specifier](https://eel.is/c++draft/dcl.type.general#nt:type-specifier),...