@lvce-editor/editor-worker 19.50.1 → 19.51.1
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/editorWorkerMain.js +2 -2
- package/dist/settings.json +42 -0
- package/package.json +1 -1
package/dist/editorWorkerMain.js
CHANGED
|
@@ -6556,7 +6556,7 @@ const handleBlur$1 = async editor => {
|
|
|
6556
6556
|
return newEditor;
|
|
6557
6557
|
}
|
|
6558
6558
|
const autoSave = await get$3('files.autoSave');
|
|
6559
|
-
if (autoSave
|
|
6559
|
+
if (autoSave !== 'onFocusChange') {
|
|
6560
6560
|
return newEditor;
|
|
6561
6561
|
}
|
|
6562
6562
|
return save(newEditor);
|
|
@@ -13924,7 +13924,7 @@ const kHighlightActiveLineNumber = 'editor.highlightActiveLineNumber';
|
|
|
13924
13924
|
const kDiagnostics = 'editor.diagnostics';
|
|
13925
13925
|
const kQuickSuggestions = 'editor.quickSuggestions';
|
|
13926
13926
|
const kAutoClosingQuotes = 'editor.autoClosingQuotes';
|
|
13927
|
-
const kAutoClosingBrackets = 'editor.
|
|
13927
|
+
const kAutoClosingBrackets = 'editor.autoClosingBrackets';
|
|
13928
13928
|
const kFontWeight = 'editor.fontWeight';
|
|
13929
13929
|
const kHover = 'editor.hover';
|
|
13930
13930
|
const kMinimapEnabled = 'editor.minimap.enabled';
|
package/dist/settings.json
CHANGED
|
@@ -17,6 +17,48 @@
|
|
|
17
17
|
"type": 2,
|
|
18
18
|
"value": "Fira Code"
|
|
19
19
|
},
|
|
20
|
+
{
|
|
21
|
+
"category": "text-editor",
|
|
22
|
+
"description": "Format a file when it is saved",
|
|
23
|
+
"heading": "Format On Save",
|
|
24
|
+
"id": "editor.formatOnSave",
|
|
25
|
+
"type": 3,
|
|
26
|
+
"value": false
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"category": "text-editor",
|
|
30
|
+
"description": "Show completions automatically while typing",
|
|
31
|
+
"heading": "Completions On Type",
|
|
32
|
+
"id": "editor.completionsOnType",
|
|
33
|
+
"type": 3,
|
|
34
|
+
"value": false
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"category": "text-editor",
|
|
38
|
+
"description": "Show diagnostics in the editor",
|
|
39
|
+
"heading": "Diagnostics",
|
|
40
|
+
"id": "editor.diagnostics",
|
|
41
|
+
"type": 3,
|
|
42
|
+
"value": true
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"category": "text-editor",
|
|
46
|
+
"description": "The font weight of the editor",
|
|
47
|
+
"heading": "Font Weight",
|
|
48
|
+
"id": "editor.fontWeight",
|
|
49
|
+
"type": 5,
|
|
50
|
+
"value": 400,
|
|
51
|
+
"minimum": 100,
|
|
52
|
+
"maximum": 900
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"category": "text-editor",
|
|
56
|
+
"description": "Show breadcrumbs above the editor",
|
|
57
|
+
"heading": "Breadcrumbs",
|
|
58
|
+
"id": "breadcrumbs.enabled",
|
|
59
|
+
"type": 3,
|
|
60
|
+
"value": false
|
|
61
|
+
},
|
|
20
62
|
{
|
|
21
63
|
"category": "text-editor",
|
|
22
64
|
"description": "Controls how lines should wrap",
|