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

**Type:** Bug **Description:** Having a function return a constant reference (`T const&`) breaks syntax highlighting for that function declaration. **Severity:** Little-to-none. There's no loss of productivity arising from this bug,...

It looks like new used to be keyword.control.cpp. Now it is keyword.operator.memory.new.cpp. Is this intentional? If it's intentional, we can add the it into the themes in VS Code, but...

workflow
📖 Clarification

Checklist - [ ] This problem exists even with the setting `"C_Cpp.enhancedColorization": "Disabled"` ## The code with a problem is: ```cpp #include std::vector test(1

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...

Consider the following code: ```c++ bool test1(int a) { return true; } bool test2(int a) { return true; } ``` Using inspect tokens and scopes, we see that `test1` is...

> This will get you the bleeding-edge syntax highlighting for C++. Which means your theme will be able to color your code better. This used to be a fix, but...

Checklist - [V ] This problem exists even with the setting `"C_Cpp.enhancedColorization": "Disabled"` ## It looks like: ![image](https://github.com/user-attachments/assets/6fa12854-d686-4f93-b449-353594112ca3) ## It should look like: ![image](https://github.com/user-attachments/assets/5afecf07-1ef9-4237-ab53-9f7d5fbfdebb)

![00](https://user-images.githubusercontent.com/10380828/63512701-04fb2b80-c517-11e9-9ae2-a548c42e0650.png) ![02](https://user-images.githubusercontent.com/10380828/63512773-2bb96200-c517-11e9-813c-a53c763c124b.png) _Originally posted by @peaceshi in https://github.com/jeff-hykin/cpp-textmate-grammar/issues/365#issuecomment-523874094_ @peaceshi What file is this from?

🐛 Bug

https://docs.microsoft.com/en-us/cpp/cpp/int8-int16-int32-int64?view=vs-2019 https://docs.microsoft.com/en-us/cpp/cpp/keywords-cpp?view=vs-2019 https://docs.microsoft.com/en-us/cpp/cpp/fundamental-types-cpp?view=vs-2019

✨ Enhancement

The following preprocessor directives expect an sequence of non-whitespace, non-comment characters on the __same__ line as the directive: - `#if` - `#ifdef` - `#ifndef` - `#elif` - `#pragma` - `#undef`...