Skip to content

Commit e1c0774

Browse files
committed
update setting
1 parent e1e5921 commit e1c0774

File tree

3 files changed

+15
-81
lines changed

3 files changed

+15
-81
lines changed

package.json

Lines changed: 5 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -105,24 +105,6 @@
105105
"scope": "resource",
106106
"type": "boolean"
107107
},
108-
"Lua.develop.debuggerPort": {
109-
"default": 11412,
110-
"markdownDescription": "%config.develop.debuggerPort%",
111-
"scope": "resource",
112-
"type": "integer"
113-
},
114-
"Lua.develop.debuggerWait": {
115-
"default": false,
116-
"markdownDescription": "%config.develop.debuggerWait%",
117-
"scope": "resource",
118-
"type": "boolean"
119-
},
120-
"Lua.develop.enable": {
121-
"default": false,
122-
"markdownDescription": "%config.develop.enable%",
123-
"scope": "resource",
124-
"type": "boolean"
125-
},
126108
"Lua.diagnostics.disable": {
127109
"items": {
128110
"type": "string"
@@ -446,7 +428,7 @@
446428
"type": "string"
447429
},
448430
"undefined-field": {
449-
"default": "Any",
431+
"default": "Opened",
450432
"description": "%config.diagnostics.undefined-field%",
451433
"enum": [
452434
"Any",
@@ -1015,17 +997,13 @@
1015997
"scope": "resource",
1016998
"type": "integer"
1017999
},
1018-
"Lua.intelliSense.searchDepth": {
1019-
"default": 0,
1020-
"markdownDescription": "%config.intelliSense.searchDepth%",
1021-
"scope": "resource",
1022-
"type": "integer"
1023-
},
10241000
"Lua.misc.parameters": {
1025-
"default": "",
1001+
"items": {
1002+
"type": "string"
1003+
},
10261004
"markdownDescription": "%config.misc.parameters%",
10271005
"scope": "resource",
1028-
"type": "string"
1006+
"type": "array"
10291007
},
10301008
"Lua.runtime.builtin": {
10311009
"markdownDescription": "%config.runtime.builtin%",

setting/schema-zh-cn.json

Lines changed: 5 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -78,24 +78,6 @@
7878
"scope": "resource",
7979
"type": "boolean"
8080
},
81-
"Lua.develop.debuggerPort": {
82-
"default": 11412,
83-
"markdownDescription": "调试器监听端口。",
84-
"scope": "resource",
85-
"type": "integer"
86-
},
87-
"Lua.develop.debuggerWait": {
88-
"default": false,
89-
"markdownDescription": "调试器连接之前挂起。",
90-
"scope": "resource",
91-
"type": "boolean"
92-
},
93-
"Lua.develop.enable": {
94-
"default": false,
95-
"markdownDescription": "开发者模式。请勿开启,会影响性能。",
96-
"scope": "resource",
97-
"type": "boolean"
98-
},
9981
"Lua.diagnostics.disable": {
10082
"items": {
10183
"type": "string"
@@ -419,7 +401,7 @@
419401
"type": "string"
420402
},
421403
"undefined-field": {
422-
"default": "Any",
404+
"default": "Opened",
423405
"description": "%config.diagnostics.undefined-field%",
424406
"enum": [
425407
"Any",
@@ -988,17 +970,13 @@
988970
"scope": "resource",
989971
"type": "integer"
990972
},
991-
"Lua.intelliSense.searchDepth": {
992-
"default": 0,
993-
"markdownDescription": "设置智能感知的搜索深度。增大该值可以增加准确度,但会降低性能。不同的项目对该设置的容忍度差异较大,请自己调整为合适的值。",
994-
"scope": "resource",
995-
"type": "integer"
996-
},
997973
"Lua.misc.parameters": {
998-
"default": "",
974+
"items": {
975+
"type": "string"
976+
},
999977
"markdownDescription": "VSCode中启动语言服务时的[命令行参数](https://github.com/sumneko/lua-language-server/wiki/Command-line)。",
1000978
"scope": "resource",
1001-
"type": "string"
979+
"type": "array"
1002980
},
1003981
"Lua.runtime.builtin": {
1004982
"markdownDescription": "调整内置库的启用状态,你可以根据实际运行环境禁用掉不存在的库(或重新定义)。\n\n* `default`: 表示库会根据运行版本启用或禁用\n* `enable`: 总是启用\n* `disable`: 总是禁用\n",

setting/schema.json

Lines changed: 5 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -78,24 +78,6 @@
7878
"scope": "resource",
7979
"type": "boolean"
8080
},
81-
"Lua.develop.debuggerPort": {
82-
"default": 11412,
83-
"markdownDescription": "Listen port of debugger.",
84-
"scope": "resource",
85-
"type": "integer"
86-
},
87-
"Lua.develop.debuggerWait": {
88-
"default": false,
89-
"markdownDescription": "Suspend before debugger connects.",
90-
"scope": "resource",
91-
"type": "boolean"
92-
},
93-
"Lua.develop.enable": {
94-
"default": false,
95-
"markdownDescription": "Developer mode. Do not enable, performance will be affected.",
96-
"scope": "resource",
97-
"type": "boolean"
98-
},
9981
"Lua.diagnostics.disable": {
10082
"items": {
10183
"type": "string"
@@ -419,7 +401,7 @@
419401
"type": "string"
420402
},
421403
"undefined-field": {
422-
"default": "Any",
404+
"default": "Opened",
423405
"description": "%config.diagnostics.undefined-field%",
424406
"enum": [
425407
"Any",
@@ -988,17 +970,13 @@
988970
"scope": "resource",
989971
"type": "integer"
990972
},
991-
"Lua.intelliSense.searchDepth": {
992-
"default": 0,
993-
"markdownDescription": "Set the search depth for IntelliSense. Increasing this value increases accuracy, but decreases performance. Different workspace have different tolerance for this setting. Please adjust it to the appropriate value.",
994-
"scope": "resource",
995-
"type": "integer"
996-
},
997973
"Lua.misc.parameters": {
998-
"default": "",
974+
"items": {
975+
"type": "string"
976+
},
999977
"markdownDescription": "[Command line parameters](https://github.com/sumneko/lua-telemetry-server/tree/master/method) when starting the language service in VSCode.",
1000978
"scope": "resource",
1001-
"type": "string"
979+
"type": "array"
1002980
},
1003981
"Lua.runtime.builtin": {
1004982
"markdownDescription": "Adjust the enabled state of the built-in library. You can disable (or redefine) the non-existent library according to the actual runtime environment.\n\n* `default`: Indicates that the library will be enabled or disabled according to the runtime version\n* `enable`: always enable\n* `disable`: always disable\n",

0 commit comments

Comments
 (0)