better-cpp-syntax icon indicating copy to clipboard operation
better-cpp-syntax copied to clipboard

💾 The source of VS Code's C++ syntax highlighting

Results 164 better-cpp-syntax issues
Sort by recently updated
recently updated
newest added

- [x] This problem exists even with the setting `"C_Cpp.enhancedColorization": "Disabled"` - [x] This bug exists for C - [ ] This bug exists for C++ - [ ] This...

🐛 Bug
Syntax: C

Checklist - [x] This problem exists even with the setting `"C_Cpp.enhancedColorization": "Disabled"` - [ ] This bug exists for C - [x] This bug exists for C++ - [ ]...

low priority
Syntax: C++

Use code ``` void f(); namespace A { void g(); } namespace X { using ::f; using A::g; } ``` The "using ::f" has a scope of entity.name.scope-resolution.cpp instead of...

🐛 Bug
Syntax: C++

From #382 ![Screenshot from 2019-09-01 10-31-14](https://user-images.githubusercontent.com/714007/64079999-b9c5e300-cca3-11e9-861b-2c675876d24f.png) `struct` and `class` are being treated as types.

🐛 Bug

Sample file [testh.txt](https://github.com/jeff-hykin/cpp-textmate-grammar/files/3496240/testh.txt) Checkout the `{` on line 564. It is incorrectly scoped as a macro, and has duplicate scopes. Scopes: ``` punctuation.section.block.begin.bracket.curly.namespace.cpp meta.head.namespace.cpp meta.block.namespace.cpp meta.head.function.definition.cpp meta.function.definition.cpp meta.preprocessor.macro.cpp meta.head.function.definition.cpp meta.function.definition.cpp...

🐛 Bug
Hard
External

Include guards are in the form of: ``` #ifndef INCLUDE_GUARD_NAME #define INCLUDE_GUARD_NAME ... #endif ``` It may be possible using a while Pattern Range to detect when the `define` does...

✨ Enhancement
low priority
📖 Clarification

Comments are replaced with whitespace in phase 3 of translation. The preprocessor is executed in phase 4 of translation. Therefore with regards to preprocessor conditionals, comments that contain preprocessor instructions...

🐛 Bug
Hard

By having `variable.other.macro.argument` be outside of the `macro_context`, An annoying result happens. As you type a preprocessor directive, the text is colored as a variable, when you finish typing the...

I haven't been able to check if it's highlighted correctly, but I don't think it is. see the `##__folly_traits_impl__` in the following code https://github.com/facebook/folly/blob/master/folly/Traits.h

Regenerate the spec for `features/preprocessor.cpp` and observer that `#error` has the scope `meta.preprocessor.diagnostic.$reference(directive)`

🐛 Bug