@codingame/monaco-editor-wrapper 3.5.3 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/COBOL.tmLanguage.js +22 -6
- package/dist/JavaScript.tmLanguage.js +2 -2
- package/dist/JavaScriptReact.tmLanguage.js +2 -2
- package/dist/TypeScript.tmLanguage.js +2 -2
- package/dist/TypeScriptReact.tmLanguage.js +2 -2
- package/dist/_monaco-editor_commonjs-external.js +8 -1
- package/dist/angular.js +6 -0
- package/dist/buildignore.r.js +5 -0
- package/dist/{COBOL.js → cobol.js} +2 -2
- package/dist/cobol2.js +71 -47
- package/dist/configuration/index.d.ts +2 -2
- package/dist/cpp.tmLanguage.js +808 -4380
- package/dist/cpptools.js +1896 -1867
- package/dist/css.tmLanguage.js +1 -1
- package/dist/css.worker.js +1 -1
- package/dist/d.js +3 -0
- package/dist/d3.js +369 -288
- package/dist/dart.js +37 -24
- package/dist/dart3.js +46 -6
- package/dist/features/extensionConfigurations.js +2 -1
- package/dist/features/jsonContribution.d.ts +1 -1
- package/dist/features/typescriptContribution.js +1 -1
- package/dist/go.mod.js +8 -0
- package/dist/go.mod.tmGrammar.js +182 -0
- package/dist/go.sum.tmGrammar.js +55 -0
- package/dist/go.work.js +8 -0
- package/dist/govulncheck.tmGrammar.js +138 -0
- package/dist/html.tmLanguage.js +4 -4
- package/dist/html.worker.js +1 -1
- package/dist/index2.js +89 -18
- package/dist/java2.js +80 -2
- package/dist/javascript.js +1 -1
- package/dist/javascriptreact.js +1 -1
- package/dist/json.worker.js +1 -1
- package/dist/lua.tmLanguage.js +104 -7
- package/dist/lua2.js +98 -26
- package/dist/main.js +144 -29
- package/dist/markdown-vue.js +1 -1
- package/dist/namespace.r.js +88 -0
- package/dist/ocaml3.js +8 -1
- package/dist/rbuildignore.js +39 -0
- package/dist/rnamespace.js +283 -0
- package/dist/scalameta.js +12 -5
- package/dist/shell-unix-bash.tmLanguage.js +1193 -528
- package/dist/solargraph.js +2 -2
- package/dist/sql.tmLanguage.js +134 -46
- package/dist/svelte.js +3 -1
- package/dist/svelte.svelte-vscode.js +11 -14
- package/dist/svlangserver.js +2 -2
- package/dist/tcl.tmlanguage.yaml.js +1 -1
- package/dist/theme-defaults~dark_plus_experimental.js +146 -0
- package/dist/theme-defaults~dark_vs.js +6 -2
- package/dist/theme-defaults~light_plus_experimental.js +159 -0
- package/dist/theme-defaults~light_vs.js +4 -2
- package/dist/tools/EditorOpenHandlerRegistry.d.ts +1 -1
- package/dist/typescript-language-features.js +48 -45
- package/dist/typescript.js +1 -1
- package/dist/typescriptreact.js +1 -1
- package/dist/volar-vue.js +51 -18
- package/dist/vscode-R.js +12 -1
- package/dist/vscode-go-go.js +276 -0
- package/dist/vscode-go.js +1604 -0
- package/dist/vscode-python.js +14 -9
- package/dist/vue-directives.js +1 -1
- package/dist/vue-interpolations.js +1 -1
- package/dist/vue-sfc-style-variable-injection.js +1 -1
- package/dist/vue.tmLanguage.js +44 -12
- package/dist/worker.d.ts +1 -1
- package/package.json +31 -31
- package/stats.html +2462 -329
- package/dist/COBOL Copybook.js +0 -6
- package/dist/cobol-snippets.js +0 -5
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
var $schema = "vscode://schemas/color-theme";
|
|
2
|
+
var name = "Light+ (Experimental)";
|
|
3
|
+
var include = "./light_plus.json";
|
|
4
|
+
var colors = {
|
|
5
|
+
"activityBar.activeBorder": "#005FB8",
|
|
6
|
+
"activityBar.background": "#f8f8f8",
|
|
7
|
+
"activityBar.border": "#0000001a",
|
|
8
|
+
"activityBar.foreground": "#000000e4",
|
|
9
|
+
"activityBar.inactiveForeground": "#0000009e",
|
|
10
|
+
"activityBarBadge.background": "#005FB8",
|
|
11
|
+
"activityBarBadge.foreground": "#ffffff",
|
|
12
|
+
"badge.background": "#005FB8",
|
|
13
|
+
"badge.foreground": "#ffffff",
|
|
14
|
+
"button.background": "#005FB8",
|
|
15
|
+
"button.border": "#0000001a",
|
|
16
|
+
"button.foreground": "#ffffff",
|
|
17
|
+
"button.hoverBackground": "#005FB8e6",
|
|
18
|
+
"button.secondaryBackground": "#0000001a",
|
|
19
|
+
"button.secondaryForeground": "#000000e4",
|
|
20
|
+
"button.secondaryHoverBackground": "#00000034",
|
|
21
|
+
"checkbox.background": "#f8f8f8",
|
|
22
|
+
"checkbox.border": "#0000001a",
|
|
23
|
+
descriptionForeground: "#000000e4",
|
|
24
|
+
"diffEditor.insertedLineBackground": "#23863633",
|
|
25
|
+
"diffEditor.insertedTextBackground": "#2386364d",
|
|
26
|
+
"diffEditor.removedLineBackground": "#da363333",
|
|
27
|
+
"diffEditor.removedTextBackground": "#da36334d",
|
|
28
|
+
"dropdown.background": "#ffffff",
|
|
29
|
+
"dropdown.border": "#0000001a",
|
|
30
|
+
"dropdown.foreground": "#000000e4",
|
|
31
|
+
"dropdown.listBackground": "#ffffff",
|
|
32
|
+
"editor.background": "#ffffff",
|
|
33
|
+
"editor.findMatchBackground": "#9e6a03",
|
|
34
|
+
"editor.foreground": "#000000e4",
|
|
35
|
+
"editor.inactiveSelectionBackground": "#E5EBF1",
|
|
36
|
+
"editor.selectionHighlightBackground": "#ADD6FF80",
|
|
37
|
+
"editorGroup.border": "#0000001a",
|
|
38
|
+
"editorGroupHeader.tabsBackground": "#f8f8f8",
|
|
39
|
+
"editorGroupHeader.tabsBorder": "#0000001a",
|
|
40
|
+
"editorGutter.addedBackground": "#2ea043",
|
|
41
|
+
"editorGutter.deletedBackground": "#f85149",
|
|
42
|
+
"editorGutter.modifiedBackground": "#005FB8",
|
|
43
|
+
"editorIndentGuide.background": "#D3D3D3",
|
|
44
|
+
"editorInlayHint.background": "#8b949e33",
|
|
45
|
+
"editorInlayHint.foreground": "#8b949e",
|
|
46
|
+
"editorInlayHint.typeBackground": "#8b949e33",
|
|
47
|
+
"editorInlayHint.typeForeground": "#8b949e",
|
|
48
|
+
"editorLineNumber.activeForeground": "#171184",
|
|
49
|
+
"editorLineNumber.foreground": "#6e7681",
|
|
50
|
+
"editorOverviewRuler.border": "#0000001a",
|
|
51
|
+
"editorSuggestWidget.background": "#f8f8f8",
|
|
52
|
+
"editorWidget.background": "#ffffff",
|
|
53
|
+
errorForeground: "#f85149",
|
|
54
|
+
focusBorder: "#005FB8",
|
|
55
|
+
foreground: "#000000e4",
|
|
56
|
+
"icon.foreground": "#000000e4",
|
|
57
|
+
"input.background": "#ffffff",
|
|
58
|
+
"input.border": "#0000001a",
|
|
59
|
+
"input.foreground": "#000000e4",
|
|
60
|
+
"input.placeholderForeground": "#00000079",
|
|
61
|
+
"inputOption.activeBackground": "#005fb841",
|
|
62
|
+
"inputOption.activeBorder": "#005FB8",
|
|
63
|
+
"inputOption.activeForeground": "#000000",
|
|
64
|
+
"keybindingLabel.foreground": "#000000e4",
|
|
65
|
+
"list.activeSelectionBackground": "#e8e8e8",
|
|
66
|
+
"list.activeSelectionForeground": "#000000",
|
|
67
|
+
"list.hoverBackground": "#f2f2f2",
|
|
68
|
+
"menu.border": "#D4D4D4",
|
|
69
|
+
"notebook.cellBorderColor": "#E8E8E8",
|
|
70
|
+
"notebook.selectedCellBackground": "#c8ddf150",
|
|
71
|
+
"notificationCenterHeader.background": "#ffffff",
|
|
72
|
+
"notificationCenterHeader.foreground": "#000000e4",
|
|
73
|
+
"notifications.background": "#ffffff",
|
|
74
|
+
"notifications.border": "#0000001a",
|
|
75
|
+
"notifications.foreground": "#000000e4",
|
|
76
|
+
"panel.background": "#f8f8f8",
|
|
77
|
+
"panel.border": "#0000001a",
|
|
78
|
+
"panelInput.border": "#0000001a",
|
|
79
|
+
"panelTitle.activeBorder": "#005FB8",
|
|
80
|
+
"panelTitle.activeForeground": "#000000e4",
|
|
81
|
+
"panelTitle.inactiveForeground": "#000000e4",
|
|
82
|
+
"peekViewEditor.matchHighlightBackground": "#bb800966",
|
|
83
|
+
"peekViewResult.background": "#ffffff",
|
|
84
|
+
"peekViewResult.matchHighlightBackground": "#bb800966",
|
|
85
|
+
"pickerGroup.border": "#0000001a",
|
|
86
|
+
"pickerGroup.foreground": "#8b949e",
|
|
87
|
+
"ports.iconRunningProcessForeground": "#369432",
|
|
88
|
+
"progressBar.background": "#005FB8",
|
|
89
|
+
"quickInput.background": "#ffffff",
|
|
90
|
+
"quickInput.foreground": "#000000e4",
|
|
91
|
+
"scrollbar.shadow": "#484f5833",
|
|
92
|
+
"scrollbarSlider.activeBackground": "#6e768187",
|
|
93
|
+
"scrollbarSlider.background": "#6e768133",
|
|
94
|
+
"scrollbarSlider.hoverBackground": "#6e768145",
|
|
95
|
+
"searchEditor.textInputBorder": "#CECECE",
|
|
96
|
+
"settings.dropdownBackground": "#ffffff",
|
|
97
|
+
"settings.dropdownBorder": "#0000001a",
|
|
98
|
+
"settings.headerForeground": "#000000e4",
|
|
99
|
+
"settings.modifiedItemIndicator": "#bb800966",
|
|
100
|
+
"settings.numberInputBorder": "#CECECE",
|
|
101
|
+
"settings.textInputBorder": "#CECECE",
|
|
102
|
+
"sideBar.background": "#f8f8f8",
|
|
103
|
+
"sideBar.border": "#0000001a",
|
|
104
|
+
"sideBar.foreground": "#000000e4",
|
|
105
|
+
"sideBarSectionHeader.background": "#f8f8f8",
|
|
106
|
+
"sideBarSectionHeader.border": "#0000001a",
|
|
107
|
+
"sideBarSectionHeader.foreground": "#000000e4",
|
|
108
|
+
"sideBarTitle.foreground": "#000000e4",
|
|
109
|
+
"statusBar.background": "#f8f8f8",
|
|
110
|
+
"statusBar.foreground": "#000000e4",
|
|
111
|
+
"statusBar.border": "#0000001a",
|
|
112
|
+
"statusBar.debuggingBackground": "#fd716c",
|
|
113
|
+
"statusBar.debuggingForeground": "#000000",
|
|
114
|
+
"statusBar.focusBorder": "#005FB8",
|
|
115
|
+
"statusBar.noFolderBackground": "#f8f8f8",
|
|
116
|
+
"statusBarItem.errorBackground": "#c72e0f",
|
|
117
|
+
"statusBarItem.focusBorder": "#005FB8",
|
|
118
|
+
"statusBarItem.prominentBackground": "#6e768166",
|
|
119
|
+
"statusBarItem.remoteBackground": "#005FB8",
|
|
120
|
+
"statusBarItem.remoteForeground": "#ffffff",
|
|
121
|
+
"tab.activeBackground": "#ffffff",
|
|
122
|
+
"tab.activeBorder": "#f8f8f8",
|
|
123
|
+
"tab.activeBorderTop": "#005FB8",
|
|
124
|
+
"tab.activeForeground": "#000000e4",
|
|
125
|
+
"tab.border": "#0000001a",
|
|
126
|
+
"tab.hoverBackground": "#ffffff",
|
|
127
|
+
"tab.inactiveBackground": "#f8f8f8",
|
|
128
|
+
"tab.inactiveForeground": "#00000080",
|
|
129
|
+
"tab.lastPinnedBorder": "#61616130",
|
|
130
|
+
"tab.unfocusedActiveBorder": "#f8f8f8",
|
|
131
|
+
"tab.unfocusedActiveBorderTop": "#00000015",
|
|
132
|
+
"tab.unfocusedHoverBackground": "#6e76811a",
|
|
133
|
+
"terminalCursor.foreground": "#005FB8",
|
|
134
|
+
"terminal.foreground": "#ffffffc5",
|
|
135
|
+
"terminal.inactiveSelectionBackground": "#E5EBF1",
|
|
136
|
+
"terminal.tab.activeBorder": "#005fb8",
|
|
137
|
+
"textBlockQuote.background": "#f8f8f8",
|
|
138
|
+
"textBlockQuote.border": "#0000001a",
|
|
139
|
+
"textCodeBlock.background": "#6e768166",
|
|
140
|
+
"textLink.activeForeground": "#005FB8",
|
|
141
|
+
"textLink.foreground": "#005FB8",
|
|
142
|
+
"textPreformat.foreground": "#8b949e",
|
|
143
|
+
"textSeparator.foreground": "#21262d",
|
|
144
|
+
"titleBar.activeBackground": "#f8f8f8",
|
|
145
|
+
"titleBar.activeForeground": "#1e1e1e",
|
|
146
|
+
"titleBar.border": "#0000001a",
|
|
147
|
+
"titleBar.inactiveBackground": "#f8f8f8",
|
|
148
|
+
"titleBar.inactiveForeground": "#8b949e",
|
|
149
|
+
"welcomePage.tileBackground": "#f3f3f3",
|
|
150
|
+
widgetBorder: "#0000001a"
|
|
151
|
+
};
|
|
152
|
+
var themeDefaults_light_plus_experimental = {
|
|
153
|
+
$schema: $schema,
|
|
154
|
+
name: name,
|
|
155
|
+
include: include,
|
|
156
|
+
colors: colors
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
export { $schema, colors, themeDefaults_light_plus_experimental as default, include, name };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var $schema = "vscode://schemas/color-theme";
|
|
2
2
|
var name = "Light (Visual Studio)";
|
|
3
3
|
var colors = {
|
|
4
|
-
"
|
|
4
|
+
"checkbox.border": "#919191",
|
|
5
5
|
"editor.background": "#FFFFFF",
|
|
6
6
|
"editor.foreground": "#000000",
|
|
7
7
|
"editor.inactiveSelectionBackground": "#E5EBF1",
|
|
@@ -12,6 +12,7 @@ var colors = {
|
|
|
12
12
|
"activityBarBadge.background": "#007ACC",
|
|
13
13
|
"sideBarTitle.foreground": "#6F6F6F",
|
|
14
14
|
"list.hoverBackground": "#E8E8E8",
|
|
15
|
+
"menu.border": "#D4D4D4",
|
|
15
16
|
"input.placeholderForeground": "#767676",
|
|
16
17
|
"searchEditor.textInputBorder": "#CECECE",
|
|
17
18
|
"settings.textInputBorder": "#CECECE",
|
|
@@ -27,7 +28,8 @@ var colors = {
|
|
|
27
28
|
"statusBarItem.errorBackground": "#c72e0f",
|
|
28
29
|
"list.activeSelectionIconForeground": "#FFF",
|
|
29
30
|
"list.focusAndSelectionOutline": "#90C2F9",
|
|
30
|
-
"terminal.inactiveSelectionBackground": "#E5EBF1"
|
|
31
|
+
"terminal.inactiveSelectionBackground": "#E5EBF1",
|
|
32
|
+
"widget.border": "#d4d4d4"
|
|
31
33
|
};
|
|
32
34
|
var tokenColors = [
|
|
33
35
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as monaco from 'monaco-editor';
|
|
2
2
|
import { OpenEditor, IEditorOptions } from 'vscode/service-override/modelEditor';
|
|
3
|
-
export
|
|
3
|
+
export type EditorOpenHandler = (model: monaco.editor.ITextModel, input: IEditorOptions | undefined, editor: monaco.editor.ICodeEditor | null, sideBySide?: boolean) => Promise<monaco.editor.ICodeEditor | null>;
|
|
4
4
|
export default class EditorOpenHandlerRegistry {
|
|
5
5
|
private handlers;
|
|
6
6
|
registerEditorOpenHandler(handler: EditorOpenHandler): monaco.IDisposable;
|
|
@@ -119,13 +119,13 @@ var typescriptLanguageFeatures = [
|
|
|
119
119
|
"javascript.suggest.includeAutomaticOptionalChainCompletions": {
|
|
120
120
|
"type": "boolean",
|
|
121
121
|
"default": true,
|
|
122
|
-
"description": "Enable/disable showing completions on potentially undefined values that insert an optional chain call. Requires
|
|
122
|
+
"description": "Enable/disable showing completions on potentially undefined values that insert an optional chain call. Requires strict null checks to be enabled.",
|
|
123
123
|
"scope": 4
|
|
124
124
|
},
|
|
125
125
|
"typescript.suggest.includeAutomaticOptionalChainCompletions": {
|
|
126
126
|
"type": "boolean",
|
|
127
127
|
"default": true,
|
|
128
|
-
"description": "Enable/disable showing completions on potentially undefined values that insert an optional chain call. Requires
|
|
128
|
+
"description": "Enable/disable showing completions on potentially undefined values that insert an optional chain call. Requires strict null checks to be enabled.",
|
|
129
129
|
"scope": 4
|
|
130
130
|
},
|
|
131
131
|
"typescript.inlayHints.parameterNames.enabled": {
|
|
@@ -141,7 +141,7 @@ var typescriptLanguageFeatures = [
|
|
|
141
141
|
"Enable parameter name hints for literal and non-literal arguments."
|
|
142
142
|
],
|
|
143
143
|
"default": "none",
|
|
144
|
-
"markdownDescription": "Enable/disable inlay hints for parameter names:\n```typescript\n\nparseInt(/* str: */ '123', /* radix: */ 8)\n \n
|
|
144
|
+
"markdownDescription": "Enable/disable inlay hints for parameter names:\n```typescript\n\nparseInt(/* str: */ '123', /* radix: */ 8)\n \n```",
|
|
145
145
|
"scope": 4
|
|
146
146
|
},
|
|
147
147
|
"typescript.inlayHints.parameterNames.suppressWhenArgumentMatchesName": {
|
|
@@ -153,13 +153,13 @@ var typescriptLanguageFeatures = [
|
|
|
153
153
|
"typescript.inlayHints.parameterTypes.enabled": {
|
|
154
154
|
"type": "boolean",
|
|
155
155
|
"default": false,
|
|
156
|
-
"markdownDescription": "Enable/disable inlay hints for implicit parameter types:\n```typescript\n\nel.addEventListener('click', e /* :MouseEvent */ => ...)\n \n
|
|
156
|
+
"markdownDescription": "Enable/disable inlay hints for implicit parameter types:\n```typescript\n\nel.addEventListener('click', e /* :MouseEvent */ => ...)\n \n```",
|
|
157
157
|
"scope": 4
|
|
158
158
|
},
|
|
159
159
|
"typescript.inlayHints.variableTypes.enabled": {
|
|
160
160
|
"type": "boolean",
|
|
161
161
|
"default": false,
|
|
162
|
-
"markdownDescription": "Enable/disable inlay hints for implicit variable types:\n```typescript\n\nconst foo /* :number */ = Date.now();\n \n
|
|
162
|
+
"markdownDescription": "Enable/disable inlay hints for implicit variable types:\n```typescript\n\nconst foo /* :number */ = Date.now();\n \n```",
|
|
163
163
|
"scope": 4
|
|
164
164
|
},
|
|
165
165
|
"typescript.inlayHints.variableTypes.suppressWhenTypeMatchesName": {
|
|
@@ -171,19 +171,19 @@ var typescriptLanguageFeatures = [
|
|
|
171
171
|
"typescript.inlayHints.propertyDeclarationTypes.enabled": {
|
|
172
172
|
"type": "boolean",
|
|
173
173
|
"default": false,
|
|
174
|
-
"markdownDescription": "Enable/disable inlay hints for implicit types on property declarations:\n```typescript\n\nclass Foo {\n\tprop /* :number */ = Date.now();\n}\n \n
|
|
174
|
+
"markdownDescription": "Enable/disable inlay hints for implicit types on property declarations:\n```typescript\n\nclass Foo {\n\tprop /* :number */ = Date.now();\n}\n \n```",
|
|
175
175
|
"scope": 4
|
|
176
176
|
},
|
|
177
177
|
"typescript.inlayHints.functionLikeReturnTypes.enabled": {
|
|
178
178
|
"type": "boolean",
|
|
179
179
|
"default": false,
|
|
180
|
-
"markdownDescription": "Enable/disable inlay hints for implicit return types on function signatures:\n```typescript\n\nfunction foo() /* :number */ {\n\treturn Date.now();\n} \n \n
|
|
180
|
+
"markdownDescription": "Enable/disable inlay hints for implicit return types on function signatures:\n```typescript\n\nfunction foo() /* :number */ {\n\treturn Date.now();\n} \n \n```",
|
|
181
181
|
"scope": 4
|
|
182
182
|
},
|
|
183
183
|
"typescript.inlayHints.enumMemberValues.enabled": {
|
|
184
184
|
"type": "boolean",
|
|
185
185
|
"default": false,
|
|
186
|
-
"markdownDescription": "Enable/disable inlay hints for member values in enum declarations:\n```typescript\n\nenum MyValue {\n\tA /* = 0 */;\n\tB /* = 1 */;\n}\n \n
|
|
186
|
+
"markdownDescription": "Enable/disable inlay hints for member values in enum declarations:\n```typescript\n\nenum MyValue {\n\tA /* = 0 */;\n\tB /* = 1 */;\n}\n \n```",
|
|
187
187
|
"scope": 4
|
|
188
188
|
},
|
|
189
189
|
"javascript.inlayHints.parameterNames.enabled": {
|
|
@@ -199,7 +199,7 @@ var typescriptLanguageFeatures = [
|
|
|
199
199
|
"Enable parameter name hints for literal and non-literal arguments."
|
|
200
200
|
],
|
|
201
201
|
"default": "none",
|
|
202
|
-
"markdownDescription": "Enable/disable inlay hints for parameter names:\n```typescript\n\nparseInt(/* str: */ '123', /* radix: */ 8)\n \n
|
|
202
|
+
"markdownDescription": "Enable/disable inlay hints for parameter names:\n```typescript\n\nparseInt(/* str: */ '123', /* radix: */ 8)\n \n```",
|
|
203
203
|
"scope": 4
|
|
204
204
|
},
|
|
205
205
|
"javascript.inlayHints.parameterNames.suppressWhenArgumentMatchesName": {
|
|
@@ -211,13 +211,13 @@ var typescriptLanguageFeatures = [
|
|
|
211
211
|
"javascript.inlayHints.parameterTypes.enabled": {
|
|
212
212
|
"type": "boolean",
|
|
213
213
|
"default": false,
|
|
214
|
-
"markdownDescription": "Enable/disable inlay hints for implicit parameter types:\n```typescript\n\nel.addEventListener('click', e /* :MouseEvent */ => ...)\n \n
|
|
214
|
+
"markdownDescription": "Enable/disable inlay hints for implicit parameter types:\n```typescript\n\nel.addEventListener('click', e /* :MouseEvent */ => ...)\n \n```",
|
|
215
215
|
"scope": 4
|
|
216
216
|
},
|
|
217
217
|
"javascript.inlayHints.variableTypes.enabled": {
|
|
218
218
|
"type": "boolean",
|
|
219
219
|
"default": false,
|
|
220
|
-
"markdownDescription": "Enable/disable inlay hints for implicit variable types:\n```typescript\n\nconst foo /* :number */ = Date.now();\n \n
|
|
220
|
+
"markdownDescription": "Enable/disable inlay hints for implicit variable types:\n```typescript\n\nconst foo /* :number */ = Date.now();\n \n```",
|
|
221
221
|
"scope": 4
|
|
222
222
|
},
|
|
223
223
|
"javascript.inlayHints.variableTypes.suppressWhenTypeMatchesName": {
|
|
@@ -229,37 +229,31 @@ var typescriptLanguageFeatures = [
|
|
|
229
229
|
"javascript.inlayHints.propertyDeclarationTypes.enabled": {
|
|
230
230
|
"type": "boolean",
|
|
231
231
|
"default": false,
|
|
232
|
-
"markdownDescription": "Enable/disable inlay hints for implicit types on property declarations:\n```typescript\n\nclass Foo {\n\tprop /* :number */ = Date.now();\n}\n \n
|
|
232
|
+
"markdownDescription": "Enable/disable inlay hints for implicit types on property declarations:\n```typescript\n\nclass Foo {\n\tprop /* :number */ = Date.now();\n}\n \n```",
|
|
233
233
|
"scope": 4
|
|
234
234
|
},
|
|
235
235
|
"javascript.inlayHints.functionLikeReturnTypes.enabled": {
|
|
236
236
|
"type": "boolean",
|
|
237
237
|
"default": false,
|
|
238
|
-
"markdownDescription": "Enable/disable inlay hints for implicit return types on function signatures:\n```typescript\n\nfunction foo() /* :number */ {\n\treturn Date.now();\n} \n \n
|
|
238
|
+
"markdownDescription": "Enable/disable inlay hints for implicit return types on function signatures:\n```typescript\n\nfunction foo() /* :number */ {\n\treturn Date.now();\n} \n \n```",
|
|
239
239
|
"scope": 4
|
|
240
240
|
},
|
|
241
241
|
"javascript.inlayHints.enumMemberValues.enabled": {
|
|
242
242
|
"type": "boolean",
|
|
243
243
|
"default": false,
|
|
244
|
-
"markdownDescription": "Enable/disable inlay hints for member values in enum declarations:\n```typescript\n\nenum MyValue {\n\tA /* = 0 */;\n\tB /* = 1 */;\n}\n \n
|
|
244
|
+
"markdownDescription": "Enable/disable inlay hints for member values in enum declarations:\n```typescript\n\nenum MyValue {\n\tA /* = 0 */;\n\tB /* = 1 */;\n}\n \n```",
|
|
245
245
|
"scope": 4
|
|
246
246
|
},
|
|
247
247
|
"javascript.suggest.includeCompletionsForImportStatements": {
|
|
248
248
|
"type": "boolean",
|
|
249
249
|
"default": true,
|
|
250
|
-
"description": "Enable/disable auto-import-style completions on partially-typed import statements.
|
|
250
|
+
"description": "Enable/disable auto-import-style completions on partially-typed import statements.",
|
|
251
251
|
"scope": 4
|
|
252
252
|
},
|
|
253
253
|
"typescript.suggest.includeCompletionsForImportStatements": {
|
|
254
254
|
"type": "boolean",
|
|
255
255
|
"default": true,
|
|
256
|
-
"description": "Enable/disable auto-import-style completions on partially-typed import statements.
|
|
257
|
-
"scope": 4
|
|
258
|
-
},
|
|
259
|
-
"typescript.suggest.includeCompletionsWithSnippetText": {
|
|
260
|
-
"type": "boolean",
|
|
261
|
-
"default": true,
|
|
262
|
-
"description": "Enable/disable snippet completions from TS Server. Requires using TypeScript 4.3+ in the workspace.",
|
|
256
|
+
"description": "Enable/disable auto-import-style completions on partially-typed import statements.",
|
|
263
257
|
"scope": 4
|
|
264
258
|
},
|
|
265
259
|
"typescript.reportStyleChecksAsWarnings": {
|
|
@@ -379,7 +373,7 @@ var typescriptLanguageFeatures = [
|
|
|
379
373
|
"typescript.format.semicolons": {
|
|
380
374
|
"type": "string",
|
|
381
375
|
"default": "ignore",
|
|
382
|
-
"description": "Defines handling of optional semicolons.
|
|
376
|
+
"description": "Defines handling of optional semicolons.",
|
|
383
377
|
"scope": 4,
|
|
384
378
|
"enum": [
|
|
385
379
|
"ignore",
|
|
@@ -497,7 +491,7 @@ var typescriptLanguageFeatures = [
|
|
|
497
491
|
"javascript.format.semicolons": {
|
|
498
492
|
"type": "string",
|
|
499
493
|
"default": "ignore",
|
|
500
|
-
"description": "Defines handling of optional semicolons.
|
|
494
|
+
"description": "Defines handling of optional semicolons.",
|
|
501
495
|
"scope": 4,
|
|
502
496
|
"enum": [
|
|
503
497
|
"ignore",
|
|
@@ -651,13 +645,13 @@ var typescriptLanguageFeatures = [
|
|
|
651
645
|
"javascript.suggest.jsdoc.generateReturns": {
|
|
652
646
|
"type": "boolean",
|
|
653
647
|
"default": true,
|
|
654
|
-
"markdownDescription": "Enable/disable generating `@returns` annotations for JSDoc templates.
|
|
648
|
+
"markdownDescription": "Enable/disable generating `@returns` annotations for JSDoc templates.",
|
|
655
649
|
"scope": 5
|
|
656
650
|
},
|
|
657
651
|
"typescript.suggest.jsdoc.generateReturns": {
|
|
658
652
|
"type": "boolean",
|
|
659
653
|
"default": true,
|
|
660
|
-
"markdownDescription": "Enable/disable generating `@returns` annotations for JSDoc templates.
|
|
654
|
+
"markdownDescription": "Enable/disable generating `@returns` annotations for JSDoc templates.",
|
|
661
655
|
"scope": 5
|
|
662
656
|
},
|
|
663
657
|
"typescript.locale": {
|
|
@@ -699,7 +693,7 @@ var typescriptLanguageFeatures = [
|
|
|
699
693
|
"double"
|
|
700
694
|
],
|
|
701
695
|
"default": "auto",
|
|
702
|
-
"markdownDescription": "Preferred quote style to use for
|
|
696
|
+
"markdownDescription": "Preferred quote style to use for Quick Fixes.",
|
|
703
697
|
"markdownEnumDescriptions": [
|
|
704
698
|
"Infer quote type from existing code",
|
|
705
699
|
"Always use single quotes: `'`",
|
|
@@ -715,7 +709,7 @@ var typescriptLanguageFeatures = [
|
|
|
715
709
|
"double"
|
|
716
710
|
],
|
|
717
711
|
"default": "auto",
|
|
718
|
-
"markdownDescription": "Preferred quote style to use for
|
|
712
|
+
"markdownDescription": "Preferred quote style to use for Quick Fixes.",
|
|
719
713
|
"markdownEnumDescriptions": [
|
|
720
714
|
"Infer quote type from existing code",
|
|
721
715
|
"Always use single quotes: `'`",
|
|
@@ -735,7 +729,7 @@ var typescriptLanguageFeatures = [
|
|
|
735
729
|
"Prefers a non-relative import only if one is available that has fewer path segments than a relative import.",
|
|
736
730
|
"Prefers a relative path to the imported file location.",
|
|
737
731
|
"Prefers a non-relative import based on the `baseUrl` or `paths` configured in your `jsconfig.json` / `tsconfig.json`.",
|
|
738
|
-
"Prefers a non-relative import only if the relative import path would leave the package or project directory.
|
|
732
|
+
"Prefers a non-relative import only if the relative import path would leave the package or project directory."
|
|
739
733
|
],
|
|
740
734
|
"default": "shortest",
|
|
741
735
|
"description": "Preferred path style for auto imports.",
|
|
@@ -753,7 +747,7 @@ var typescriptLanguageFeatures = [
|
|
|
753
747
|
"Prefers a non-relative import only if one is available that has fewer path segments than a relative import.",
|
|
754
748
|
"Prefers a relative path to the imported file location.",
|
|
755
749
|
"Prefers a non-relative import based on the `baseUrl` or `paths` configured in your `jsconfig.json` / `tsconfig.json`.",
|
|
756
|
-
"Prefers a non-relative import only if the relative import path would leave the package or project directory.
|
|
750
|
+
"Prefers a non-relative import only if the relative import path would leave the package or project directory."
|
|
757
751
|
],
|
|
758
752
|
"default": "shortest",
|
|
759
753
|
"description": "Preferred path style for auto imports.",
|
|
@@ -774,7 +768,7 @@ var typescriptLanguageFeatures = [
|
|
|
774
768
|
"Do not shorten path endings; include the `.js` extension."
|
|
775
769
|
],
|
|
776
770
|
"default": "auto",
|
|
777
|
-
"description": "Preferred path ending for auto imports.
|
|
771
|
+
"description": "Preferred path ending for auto imports.",
|
|
778
772
|
"scope": 5
|
|
779
773
|
},
|
|
780
774
|
"typescript.preferences.importModuleSpecifierEnding": {
|
|
@@ -792,7 +786,7 @@ var typescriptLanguageFeatures = [
|
|
|
792
786
|
"Do not shorten path endings; include the `.js` extension."
|
|
793
787
|
],
|
|
794
788
|
"default": "auto",
|
|
795
|
-
"description": "Preferred path ending for auto imports.
|
|
789
|
+
"description": "Preferred path ending for auto imports.",
|
|
796
790
|
"scope": 5
|
|
797
791
|
},
|
|
798
792
|
"javascript.preferences.jsxAttributeCompletionStyle": {
|
|
@@ -862,27 +856,27 @@ var typescriptLanguageFeatures = [
|
|
|
862
856
|
"javascript.preferences.renameShorthandProperties": {
|
|
863
857
|
"type": "boolean",
|
|
864
858
|
"default": true,
|
|
865
|
-
"description": "Enable/disable introducing aliases for object shorthand properties during renames.
|
|
859
|
+
"description": "Enable/disable introducing aliases for object shorthand properties during renames.",
|
|
866
860
|
"deprecationMessage": "The setting 'typescript.preferences.renameShorthandProperties' has been deprecated in favor of 'typescript.preferences.useAliasesForRenames'",
|
|
867
861
|
"scope": 5
|
|
868
862
|
},
|
|
869
863
|
"typescript.preferences.renameShorthandProperties": {
|
|
870
864
|
"type": "boolean",
|
|
871
865
|
"default": true,
|
|
872
|
-
"description": "Enable/disable introducing aliases for object shorthand properties during renames.
|
|
866
|
+
"description": "Enable/disable introducing aliases for object shorthand properties during renames.",
|
|
873
867
|
"deprecationMessage": "The setting 'typescript.preferences.renameShorthandProperties' has been deprecated in favor of 'typescript.preferences.useAliasesForRenames'",
|
|
874
868
|
"scope": 5
|
|
875
869
|
},
|
|
876
870
|
"javascript.preferences.useAliasesForRenames": {
|
|
877
871
|
"type": "boolean",
|
|
878
872
|
"default": true,
|
|
879
|
-
"description": "Enable/disable introducing aliases for object shorthand properties during renames.
|
|
873
|
+
"description": "Enable/disable introducing aliases for object shorthand properties during renames.",
|
|
880
874
|
"scope": 5
|
|
881
875
|
},
|
|
882
876
|
"typescript.preferences.useAliasesForRenames": {
|
|
883
877
|
"type": "boolean",
|
|
884
878
|
"default": true,
|
|
885
|
-
"description": "Enable/disable introducing aliases for object shorthand properties during renames.
|
|
879
|
+
"description": "Enable/disable introducing aliases for object shorthand properties during renames.",
|
|
886
880
|
"scope": 5
|
|
887
881
|
},
|
|
888
882
|
"typescript.updateImportsOnFileMove.enabled": {
|
|
@@ -950,7 +944,7 @@ var typescriptLanguageFeatures = [
|
|
|
950
944
|
"typescript.tsserver.useSeparateSyntaxServer": {
|
|
951
945
|
"type": "boolean",
|
|
952
946
|
"default": true,
|
|
953
|
-
"description": "Enable/disable spawning a separate TypeScript server that can more quickly respond to syntax related operations, such as calculating folding or computing document symbols.
|
|
947
|
+
"description": "Enable/disable spawning a separate TypeScript server that can more quickly respond to syntax related operations, such as calculating folding or computing document symbols.",
|
|
954
948
|
"markdownDeprecationMessage": "This setting has been deprecated in favor of `typescript.tsserver.useSyntaxServer`.",
|
|
955
949
|
"scope": 3
|
|
956
950
|
},
|
|
@@ -987,7 +981,7 @@ var typescriptLanguageFeatures = [
|
|
|
987
981
|
},
|
|
988
982
|
"typescript.tsserver.watchOptions": {
|
|
989
983
|
"type": "object",
|
|
990
|
-
"description": "Configure which watching strategies should be used to keep track of files and directories.
|
|
984
|
+
"description": "Configure which watching strategies should be used to keep track of files and directories.",
|
|
991
985
|
"scope": 3,
|
|
992
986
|
"properties": {
|
|
993
987
|
"watchFile": {
|
|
@@ -1002,7 +996,7 @@ var typescriptLanguageFeatures = [
|
|
|
1002
996
|
"useFsEventsOnParentDirectory"
|
|
1003
997
|
],
|
|
1004
998
|
"enumDescriptions": [
|
|
1005
|
-
"Polls files in chunks at regular interval.
|
|
999
|
+
"Polls files in chunks at regular interval.",
|
|
1006
1000
|
"Check every file for changes several times a second at a fixed interval.",
|
|
1007
1001
|
"Check every file for changes several times a second, but use heuristics to check certain types of files less frequently than others.",
|
|
1008
1002
|
"Use a dynamic queue where less-frequently modified files will be checked less often.",
|
|
@@ -1021,7 +1015,7 @@ var typescriptLanguageFeatures = [
|
|
|
1021
1015
|
"useFsEvents"
|
|
1022
1016
|
],
|
|
1023
1017
|
"enumDescriptions": [
|
|
1024
|
-
"Polls directories in chunks at regular interval.
|
|
1018
|
+
"Polls directories in chunks at regular interval.",
|
|
1025
1019
|
"Check every directory for changes several times a second at a fixed interval.",
|
|
1026
1020
|
"Use a dynamic queue where less-frequently modified directories will be checked less often.",
|
|
1027
1021
|
"Attempt to use the operating system/file system's native events for directory changes."
|
|
@@ -1055,30 +1049,39 @@ var typescriptLanguageFeatures = [
|
|
|
1055
1049
|
"currentProject"
|
|
1056
1050
|
],
|
|
1057
1051
|
"enumDescriptions": [
|
|
1058
|
-
"Search all open JavaScript or TypeScript projects for symbols.
|
|
1052
|
+
"Search all open JavaScript or TypeScript projects for symbols.",
|
|
1059
1053
|
"Only search for symbols in the current JavaScript or TypeScript project."
|
|
1060
1054
|
],
|
|
1061
1055
|
"default": "allOpenProjects",
|
|
1062
|
-
"markdownDescription": "Controls which files are searched by [
|
|
1056
|
+
"markdownDescription": "Controls which files are searched by [Go to Symbol in Workspace](https://code.visualstudio.com/docs/editor/editingevolved#_open-symbol-by-name).",
|
|
1063
1057
|
"scope": 3
|
|
1064
1058
|
},
|
|
1065
1059
|
"javascript.suggest.classMemberSnippets.enabled": {
|
|
1066
1060
|
"type": "boolean",
|
|
1067
1061
|
"default": true,
|
|
1068
|
-
"description": "Enable/disable snippet completions for class members.
|
|
1062
|
+
"description": "Enable/disable snippet completions for class members.",
|
|
1069
1063
|
"scope": 4
|
|
1070
1064
|
},
|
|
1071
1065
|
"typescript.suggest.classMemberSnippets.enabled": {
|
|
1072
1066
|
"type": "boolean",
|
|
1073
1067
|
"default": true,
|
|
1074
|
-
"description": "Enable/disable snippet completions for class members.
|
|
1068
|
+
"description": "Enable/disable snippet completions for class members.",
|
|
1075
1069
|
"scope": 4
|
|
1076
1070
|
},
|
|
1077
1071
|
"typescript.suggest.objectLiteralMethodSnippets.enabled": {
|
|
1078
1072
|
"type": "boolean",
|
|
1079
1073
|
"default": true,
|
|
1080
|
-
"description": "Enable/disable snippet completions for methods in object literals. Requires using TypeScript 4.7+ in the workspace",
|
|
1074
|
+
"description": "Enable/disable snippet completions for methods in object literals. Requires using TypeScript 4.7+ in the workspace.",
|
|
1081
1075
|
"scope": 4
|
|
1076
|
+
},
|
|
1077
|
+
"typescript.experimental.tsserver.web.enableProjectWideIntellisense": {
|
|
1078
|
+
"type": "boolean",
|
|
1079
|
+
"default": false,
|
|
1080
|
+
"description": "Enable/disable project-wide IntelliSense on web. Requires that VS Code is running in a trusted context.",
|
|
1081
|
+
"scope": 3,
|
|
1082
|
+
"tags": [
|
|
1083
|
+
"experimental"
|
|
1084
|
+
]
|
|
1082
1085
|
}
|
|
1083
1086
|
}
|
|
1084
1087
|
}
|
package/dist/typescript.js
CHANGED
|
@@ -123,7 +123,7 @@ var folding = {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
var wordPattern = {
|
|
126
|
-
pattern: "(-?\\d*\\.\\d\\w*)|([
|
|
126
|
+
pattern: "(-?\\d*\\.\\d\\w*)|([^\\`\\@\\~\\!\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>/\\?\\s]+)"
|
|
127
127
|
};
|
|
128
128
|
var indentationRules = {
|
|
129
129
|
decreaseIndentPattern: {
|
package/dist/typescriptreact.js
CHANGED
|
@@ -123,7 +123,7 @@ var folding = {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
var wordPattern = {
|
|
126
|
-
pattern: "(-?\\d*\\.\\d\\w*)|([
|
|
126
|
+
pattern: "(-?\\d*\\.\\d\\w*)|([^\\`\\@\\~\\!\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>/\\?\\s]+)"
|
|
127
127
|
};
|
|
128
128
|
var indentationRules = {
|
|
129
129
|
decreaseIndentPattern: {
|