Skip to content

Commit 2cd17f4

Browse files
committed
settings: Show codeLens or not
1 parent 5d38e0a commit 2cd17f4

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,14 +258,19 @@
258258
"type": [
259259
"array"
260260
],
261-
"default": null,
261+
"default": [],
262262
"description": "%emmylua.source.roots%"
263263
},
264264
"emmylua.completion.caseSensitive": {
265265
"type": "boolean",
266266
"default": true,
267267
"description": "%emmylua.completion.caseSensitive%"
268268
},
269+
"emmylua.codeLens": {
270+
"type": "boolean",
271+
"default": false,
272+
"description": "%emmylua.codeLens%"
273+
},
269274
"emmylua.colors.parameter": {
270275
"type": "string",
271276
"default": "#99FFCC"

package.nls.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"emmylua.java.home": "Specifies the path to the java home",
33
"emmylua.source.roots": "Source roots of your project",
44
"emmylua.completion.caseSensitive": "Case sensitive completion",
5+
"emmylua.codeLens": "Show codeLens or not",
56

67
"debug.attach.label": "EmmyLua: Attach by process id",
78
"debug.attach.name": "Attach by process id",

package.nls.zh-cn.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"emmylua.java.home": "设置JAVA_HOME路径",
33
"emmylua.source.roots": "设置source roots",
4-
"emmylua.completion.caseSensitive": "Case sensitive completion",
4+
"emmylua.completion.caseSensitive": "代码完成提示是否大小写敏感",
5+
"emmylua.codeLens": "是否显示codeLens(显示引用计数)",
56

67
"debug.attach.label": "EmmyLua: 通过进程ID附加",
78
"debug.attach.name": "通过进程ID附加",

0 commit comments

Comments
 (0)