-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
208 lines (208 loc) · 8.3 KB
/
package.json
File metadata and controls
208 lines (208 loc) · 8.3 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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
{
"name": "vbnet-companion",
"displayName": "VB.NET Companion",
"description": "Enhances .NET support with focus on VB.NET parity with C# for navigation, IntelliSense, and refactoring.",
"version": "0.1.47",
"publisher": "roies",
"icon": "images/icon.png",
"keywords": ["vb.net", "visual basic", "vbnet", "vb", "basic", ".net", "dotnet", "csharp", "c#", "roslyn", "language server", "lsp", "intellisense", "completions", "hover", "go to definition", "find references", "rename", "inlay hints", "call hierarchy", "code actions", "codelens", "parity", "mixed language", "cross-language", "solution"],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/roies/VBNetCompanion.git"
},
"engines": {
"vscode": "^1.109.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "vbnetcompanion.showParityStatus",
"title": "VB.NET Companion: Show .NET Language Parity Status"
},
{
"command": "vbnetcompanion.restartDotnetLanguageServices",
"title": "VB.NET Companion: Restart .NET Language Services"
},
{
"command": "vbnetcompanion.remediateParityGaps",
"title": "VB.NET Companion: Remediate VB.NET Parity Gaps"
},
{
"command": "vbnetcompanion.restartLanguageClientBridge",
"title": "VB.NET Companion: Restart Language Client Bridge"
},
{
"command": "vbnetcompanion.applyRoslynBridgePreset",
"title": "VB.NET Companion: Apply Roslyn Bridge Preset"
},
{
"command": "vbnetcompanion.checkLanguageClientBridgeCompatibility",
"title": "VB.NET Companion: Check Language Client Bridge Compatibility"
},
{
"command": "vbnetcompanion.showReferencesFromBridge",
"title": "VB.NET Companion: Show References From Bridge"
}
],
"debuggers": [
{
"type": "vbnet",
"label": "VB.NET (Companion)",
"languages": ["vb"],
"configurationSnippets": [
{
"label": "VB.NET: Launch",
"description": "Launch a VB.NET console or library application",
"body": {
"name": "Launch (VB.NET)",
"type": "vbnet",
"request": "launch",
"program": "^\"\\${workspaceFolder}/bin/Debug/net8.0/\\${workspaceFolderBasename}.exe\"",
"args": [],
"cwd": "^\"\\${workspaceFolder}\"",
"console": "internalConsole",
"stopAtEntry": false
}
},
{
"label": "VB.NET: Attach",
"description": "Attach to a running VB.NET process",
"body": {
"name": "Attach (VB.NET)",
"type": "vbnet",
"request": "attach",
"processId": "^\"\\${command:pickProcess}\""
}
}
]
}
],
"configuration": {
"title": "VB.NET Companion",
"properties": {
"vbnetcompanion.enableForCSharp": {
"type": "boolean",
"default": true,
"description": "Enable parity checks and helper workflows for C# files."
},
"vbnetcompanion.enableForVisualBasic": {
"type": "boolean",
"default": true,
"description": "Enable parity checks and helper workflows for VB.NET files."
},
"vbnetcompanion.preferredLanguageServer": {
"type": "string",
"enum": [
"auto",
"csharp-dev-kit",
"omnisharp"
],
"default": "auto",
"description": "Preferred .NET language service stack for navigation, IntelliSense, and refactoring features."
},
"vbnetcompanion.autoCheckToolingOnStartup": {
"type": "boolean",
"default": true,
"description": "Automatically check for required .NET language tooling when VS Code startup completes."
},
"vbnetcompanion.promptToInstallMissingTooling": {
"type": "boolean",
"default": true,
"description": "Show install guidance prompts when .NET language extensions are missing."
},
"vbnetcompanion.statusRefreshDelayMs": {
"type": "number",
"default": 300,
"minimum": 50,
"maximum": 5000,
"description": "Debounce delay in milliseconds for refreshing the VB parity status indicator."
},
"vbnetcompanion.enableLanguageClientBridge": {
"type": "boolean",
"default": false,
"description": "Enable the optional .NET language-client bridge scaffold."
},
"vbnetcompanion.enableBridgeForCSharp": {
"type": "boolean",
"default": false,
"description": "Route C# documents through the language-client bridge. Keep this off unless your configured server supports C#."
},
"vbnetcompanion.enableBridgeForVisualBasic": {
"type": "boolean",
"default": false,
"description": "Route VB.NET documents through the language-client bridge. Keep this off unless your configured server supports Visual Basic."
},
"vbnetcompanion.languageClientServerCommand": {
"type": "string",
"default": "",
"description": "Server command used by the optional language-client bridge (for example, a Roslyn LSP host executable)."
},
"vbnetcompanion.languageClientServerArgs": {
"type": "array",
"default": [],
"items": {
"type": "string"
},
"description": "Arguments passed to the configured language-client bridge server command."
},
"vbnetcompanion.languageClientTraceLevel": {
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Trace level for the optional language-client bridge."
},
"vbnetcompanion.autoBootstrapRoslynBridge": {
"type": "boolean",
"default": true,
"description": "Automatically configure and enable the Roslyn bridge on first run when a compatible C# extension installation is detected."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run build:server && npm run package",
"build:server": "dotnet publish ./server/VBNetCompanion.LanguageServer/VBNetCompanion.LanguageServer.csproj -c Release -r win-x64 --self-contained false -o ./server/VBNetCompanion.LanguageServer/publish",
"build:server:win": "dotnet publish ./server/VBNetCompanion.LanguageServer/VBNetCompanion.LanguageServer.csproj -c Release -r win-x64 --self-contained false -o ./server/VBNetCompanion.LanguageServer/publish/win-x64",
"build:server:linux": "dotnet publish ./server/VBNetCompanion.LanguageServer/VBNetCompanion.LanguageServer.csproj -c Release -r linux-x64 --self-contained false -o ./server/VBNetCompanion.LanguageServer/publish/linux-x64",
"build:server:osx": "dotnet publish ./server/VBNetCompanion.LanguageServer/VBNetCompanion.LanguageServer.csproj -c Release -r osx-arm64 --self-contained false -o ./server/VBNetCompanion.LanguageServer/publish/osx-arm64",
"build:server:all": "npm-run-all build:server:win build:server:linux build:server:osx",
"compile": "npm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run check-types && npm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@types/vscode": "^1.109.0",
"@vscode/test-cli": "^0.0.12",
"@vscode/test-electron": "^2.5.2",
"esbuild": "^0.27.2",
"eslint": "^9.39.2",
"npm-run-all": "^4.1.5",
"typescript": "^5.9.3",
"typescript-eslint": "^8.54.0"
},
"dependencies": {
"vscode-languageclient": "^9.0.1"
}
}