File tree Expand file tree Collapse file tree 4 files changed +27
-0
lines changed Expand file tree Collapse file tree 4 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 35
35
],
36
36
"outFiles" : [" ${workspaceRoot}/dist/client/out/test/**/*.js" ]
37
37
},
38
+ {
39
+ "name" : " Run Web Extension in VS Code" ,
40
+ "type" : " pwa-extensionHost" ,
41
+ "debugWebWorkerHost" : true ,
42
+ "request" : " launch" ,
43
+ "args" : [
44
+ " --extensionDevelopmentPath=${workspaceFolder}" ,
45
+ " --extensionDevelopmentKind=web"
46
+ ],
47
+ "outFiles" : [
48
+ " ${workspaceFolder}/dist/web/*.js"
49
+ ]
50
+ },
38
51
{
39
52
"name" : " Debug ANTLR4 grammar" ,
40
53
"type" : " antlr-debug" ,
Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ Provides Visual Basic for Applications (VBA) language support in Visual Studio C
20
20
21
21
<sup >1</sup >Currently full document ` Shift+Alt+F ` formatting only.
22
22
23
+ ### Web Support
24
+
25
+ The VBA Pro Extension offers limited support for web environments (e.g. vscode-dev).
26
+ This includes syntax highlighting and snippets.
27
+
23
28
### Syntax Highlighting
24
29
25
30
The most complete and bug-free TextMate grammar for VBA out there.
Original file line number Diff line number Diff line change
1
+ const vscode = require ( 'vscode' )
2
+
3
+ function activate ( context ) {
4
+ // Dummy function for activation in web environment
5
+ console . log ( 'VBA extension activated' )
6
+ }
7
+
8
+ module . exports = { activate }
Original file line number Diff line number Diff line change 25
25
"vscode" : " ^1.63.0"
26
26
},
27
27
"main" : " dist/client/out/extension" ,
28
+ "browser" : " dist/web/webextension.js" ,
28
29
"activationEvents" : [],
29
30
"contributes" : {
30
31
"languages" : [
You can’t perform that action at this time.
0 commit comments