-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
123 lines (123 loc) · 3.84 KB
/
Copy pathpackage.json
File metadata and controls
123 lines (123 loc) · 3.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "leekscript-lsp",
"displayName": "LeekScript LSP",
"description": "LeekScript language support (syntax, diagnostics, completion, hover, inlay type hints, go-to-definition, find-references, document highlight, folding ranges, selection range, document links for includes, format/range format, workspace symbol search, rename, code actions, code lens) via leekscript-lsp",
"version": "0.1.0",
"publisher": "Nyaleph",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Programming Languages"
],
"repository": {
"type": "git",
"url": "https://github.com/NyalephTheCat/leekscript-code"
},
"main": "./out/extension.js",
"activationEvents": [
"onLanguage:leekscript"
],
"contributes": {
"commands": [
{
"command": "leekscript.restart",
"title": "LeekScript: Restart Language Server"
},
{
"command": "leekscript.showReferences",
"title": "LeekScript: Show References",
"enablement": "editorLangId == leekscript"
}
],
"configurationDefaults": {
"[leekscript]": {
"editor.inlayHints.enabled": "on",
"editor.codeLens": true,
"editor.semanticHighlighting.enabled": true
}
},
"languages": [
{
"id": "leekscript",
"aliases": [
"LeekScript",
"leekscript"
],
"extensions": [
".leek"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "leekscript",
"scopeName": "source.leek",
"path": "./syntaxes/leekscript.tmLanguage.json"
}
],
"semanticTokenScopes": [
{
"language": "leekscript",
"scopes": {
"typeParameter": [
"entity.name.type.parameter"
],
"type:defaultLibrary": [
"support.type.primitive"
]
}
}
],
"configuration": {
"title": "LeekScript",
"properties": {
"leekscript.server.path": {
"type": "string",
"default": "leekscript-lsp",
"description": "Path to the leekscript-lsp executable. Use a full path if the binary is not on PATH."
},
"leekscript.loadStdlibSignatures": {
"type": "boolean",
"default": true,
"description": "Load the embedded LeekScript standard library signatures (.sig) so built-in functions and constants are recognized (completion, hover, diagnostics)."
},
"leekscript.signatureFiles": {
"type": "array",
"items": { "type": "string" },
"default": [],
"description": "Additional paths to .sig files to load (e.g. custom API definitions). Paths are resolved relative to the workspace root."
},
"leekscript.inlayHints.enabled": {
"type": "boolean",
"default": true,
"description": "Show inlay hints for variable types (e.g. \": integer\" after variable names). Requires editor.inlayHints.enabled to be on."
},
"leekscript.inlayHints.hideAny": {
"type": "boolean",
"default": false,
"description": "Hide low-signal inferred type hints that are just \": any\"."
},
"leekscript.codeLens.references": {
"type": "boolean",
"default": true,
"description": "Show code lens with reference count above functions, classes, and methods (e.g. \"3 references\"). Clicking the lens runs Find All References. Requires Editor: Code Lens to be enabled."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/vscode": "^1.74.0",
"typescript": "^5.0.0"
},
"dependencies": {
"vscode-languageclient": "^9.0.0"
}
}