-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
160 lines (160 loc) · 4.34 KB
/
package.json
File metadata and controls
160 lines (160 loc) · 4.34 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "fscript",
"displayName": "FScript",
"description": "Syntax highlighting and language-server integration for FScript (*.fss).",
"version": "0.1.0",
"publisher": "MagnusOpera",
"icon": "assets/FScriptIcon.png",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/MagnusOpera/FScript.git"
},
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"Programming Languages"
],
"extensionDependencies": [
"ms-dotnettools.vscode-dotnet-runtime"
],
"keywords": [
"fscript",
"language",
"lsp"
],
"activationEvents": [
"onLanguage:fscript"
],
"main": "./dist/extension.js",
"contributes": {
"languages": [
{
"id": "fscript",
"aliases": [
"FScript",
"fscript"
],
"extensions": [
".fss"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "fscript",
"scopeName": "source.fscript",
"path": "./syntaxes/fscript.tmLanguage.json"
}
],
"commands": [
{
"command": "fscript.showLanguageServerOutput",
"title": "Show Language Server Output",
"category": "FScript"
},
{
"command": "fscript.viewAst",
"title": "View AST",
"category": "FScript"
},
{
"command": "fscript.viewInferredAst",
"title": "View Inferred AST",
"category": "FScript"
},
{
"command": "fscript.openRepl",
"title": "Open REPL",
"category": "FScript"
},
{
"command": "fscript.sendSelectionToRepl",
"title": "Send Selection to REPL",
"category": "FScript"
},
{
"command": "fscript.executeCurrentScriptInRepl",
"title": "Execute Current Script in REPL",
"category": "FScript"
}
],
"menus": {
"editor/context": [
{
"command": "fscript.sendSelectionToRepl",
"when": "editorLangId == fscript && editorHasSelection",
"group": "navigation@50"
},
{
"command": "fscript.executeCurrentScriptInRepl",
"when": "editorLangId == fscript",
"group": "navigation@51"
}
]
},
"configuration": {
"title": "FScript",
"properties": {
"fscript.lsp.enabled": {
"type": "boolean",
"default": true,
"order": 1,
"description": "Enable the FScript language server features (completion, navigation, diagnostics, inlay hints)."
},
"fscript.inlayHints.enabled": {
"type": "boolean",
"default": true,
"order": 2,
"description": "Enable inlay hints provided by the FScript language server."
},
"fscript.hoverHints.enabled": {
"type": "boolean",
"default": true,
"order": 3,
"description": "Enable hover hints provided by the FScript language server."
},
"fscript.server.path": {
"type": "string",
"default": "",
"order": 4,
"description": "Optional path to a custom FScript.LanguageServer.dll. Relative paths are resolved from the first workspace folder."
},
"fscript.server.logLevel": {
"type": "string",
"default": "info",
"order": 5,
"enum": [
"error",
"warn",
"info",
"debug"
],
"description": "Requested language server log level sent through initialization options."
},
"fscript.repl.command": {
"type": "string",
"default": "auto",
"order": 6,
"description": "Shell command used to launch the FScript REPL terminal. Use 'auto' to prefer local workspace CLI via dotnet run, then fallback to 'fscript'."
}
}
}
},
"scripts": {
"lint": "echo \"No lint configured\"",
"compile": "esbuild extension.js --bundle --platform=node --format=cjs --target=node20 --outfile=dist/extension.js --external:vscode",
"vscode:prepublish": "npm run compile",
"package": "vsce package",
"postinstall": "npm run compile"
},
"dependencies": {
"vscode-languageclient": "^9.0.1"
},
"devDependencies": {
"@vscode/vsce": "^3.2.2",
"esbuild": "^0.25.9"
}
}