@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.
@@ -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 === 'off') {
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.autoclosingBrackets';
13927
+ const kAutoClosingBrackets = 'editor.autoClosingBrackets';
13928
13928
  const kFontWeight = 'editor.fontWeight';
13929
13929
  const kHover = 'editor.hover';
13930
13930
  const kMinimapEnabled = 'editor.minimap.enabled';
@@ -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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/editor-worker",
3
- "version": "19.50.1",
3
+ "version": "19.51.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@github.com:lvce-editor/editor-worker.git"