You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Documentation/LanguageServer/colorization.md
+5-14Lines changed: 5 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
2
2
# VS Code C/C++ Extension - Enhanced Colorization
3
3
4
-
The VS Code C/C++ extension now supports lexical/syntactic and semantic colorization, when IntelliSense is enabled. Enhanced colorization can be enabled using the enhancedColorization setting:
4
+
The VS Code C/C++ extension now supports semantic colorization, when IntelliSense is enabled. Enhanced colorization can be enabled using the enhancedColorization setting:
5
5
6
6
```
7
7
"C_Cpp.enhancedColorization": "Enabled"
@@ -20,41 +20,32 @@ Colors are associated with [TextMate scopes](https://macromates.com/manual/en/la
20
20
| Token | Scope |
21
21
| ------------- |:-------------:|
22
22
| Class Template | entity.name.class.template |
23
-
| Comment | comment |
24
23
| Enumerator | variable.other.enummember |
25
24
| Event (C++/CLI) | variable.other.event |
26
25
| Function | entity.name.function |
27
26
| Function Template | entity.name.function.template |
28
27
| Generic Type (C++/CLI) | entity.name.class.generic |
29
28
| Global Variable | variable.other.global |
30
29
| Identifier | <span>entity.name</span> |
31
-
| Keyword | keyword.control |
32
30
| Label | entity.name.label |
33
31
| Local Variable | variable.other.local |
34
32
| Macro | entity.name.function.preprocessor |
35
33
| Member Field | variable.other.member |
36
34
| Member Function | entity.name.function.member |
37
35
| Member Operator | keyword.operator.member |
38
-
| Namespace | entity.name.namespace |
36
+
| Namespace | entity.name.type.namespace |
39
37
| New / Delete | keyword.operator.new |
40
-
| Number Literal | constant.numeric |
41
-
| Operator | keyword.operator |
42
38
| Operator Function | entity.name.function.operator |
| Value Type (C++/CLI) | entity.name.class.value |
55
-
| Variable | variable |
56
-
| Xml Doc Comment | comment.xml.doc |
57
-
| Xml Doc Tag | comment.xml.doc.tag |
58
49
59
50
Many of the tokens recognized by IntelliSense do not directly map to existing scopes in the VS Code's default C/C++ TextMate grammar, so are likely not colored by existing VS Code themes.
60
51
@@ -259,7 +250,7 @@ Use the following to augment the Visual Studio Dark theme to match what Visual S
259
250
}
260
251
},
261
252
{
262
-
"scope": "entity.name.namespace",
253
+
"scope": "entity.name.type.namespace",
263
254
"settings": {
264
255
"foreground": "#C8C8C8"
265
256
}
@@ -480,7 +471,7 @@ Use the following to augment the Visual Studio Light theme to match what Visual
Copy file name to clipboardExpand all lines: Extension/CHANGELOG.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,21 @@
1
1
# C/C++ for Visual Studio Code Change Log
2
2
3
+
## Version 0.24.0-insiders2: June 25, 2019
4
+
### Minor Changes
5
+
* Change `C_Cpp.clang_format_path` to `machine` scope. [#3774](https://github.com/microsoft/vscode-cpptools/issues/3774)
6
+
* Removed syntactic/lexical colorization from `enhancedColorization`. [PR #3821](https://github.com/microsoft/vscode-cpptools/pull/3821)
7
+
8
+
### Bug Fixes
9
+
* Fix crash when tag parsing Objective-C code. [#3776](https://github.com/microsoft/vscode-cpptools/issues/3776)
10
+
* Fix duplicate slashes getting added to `c_cpp_properties.json`. [PR #3778](https://github.com/microsoft/vscode-cpptools/pull/3778)
11
+
* Fix incorrect "file already opened in editor" message on Linux/Mac. [#3786](https://github.com/microsoft/vscode-cpptools/issues/3786)
12
+
* Fix colorization for themes with background colors equal to the editor background color. [#3780](https://github.com/microsoft/vscode-cpptools/issues/3780)
13
+
* Improve performance of colorization. [#3781](https://github.com/microsoft/vscode-cpptools/issues/3781)
14
+
* Fix regression crash on hover. [#3792](https://github.com/microsoft/vscode-cpptools/issues/3792)
15
+
3
16
## Version 0.24.0-insiders: June 14, 2019
4
17
### New Features
5
-
*Syntactic/lexical and semantic colorization [PR #3651](https://github.com/microsoft/vscode-cpptools/pull/3651)[Documentation](https://github.com/microsoft/vscode-cpptools/blob/master/Documentation/LanguageServer/colorization.md)
Copy file name to clipboardExpand all lines: Extension/package.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -146,7 +146,7 @@
146
146
"C_Cpp.dimInactiveRegions": {
147
147
"type": "boolean",
148
148
"default": true,
149
-
"description": "Controls whether inactive preprocessor blocks are colored differently than active code. This setting is ignored by the Tag Parser engine.",
149
+
"description": "Controls whether inactive preprocessor blocks are colored differently than active code. This setting has no effect if IntelliSense is disabled or if using the Default High Contrast theme.",
150
150
"scope": "resource"
151
151
},
152
152
"C_Cpp.inactiveRegionOpacity": {
@@ -504,7 +504,7 @@
504
504
"Disabled"
505
505
],
506
506
"default": "Disabled",
507
-
"description": "If enabled, code is colorized based on IntelliSense. This setting has no effect if IntelliSense is disabled.",
507
+
"description": "If enabled, code is colorized based on IntelliSense. This setting has no effect if IntelliSense is disabled or if using the Default High Contrast theme.",
0 commit comments