How to Build and Install the VSCode Extension #1148
-
Hey guys, I have a grammar that is giving me problems and it might help me to have a railroad diagram generated from my grammar. I see that this feature is in the upcoming I don't see any npm package scripts that appear to output the VSIX. If I recall correctly, VSIX is just an archive format, so maybe I need a different tool in order to generate it? How can I build the extension so that I can use it to preview the railroad diagram feature? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @ballcoach12, you can run |
Beta Was this translation helpful? Give feedback.
Hey @ballcoach12,
you can run
vsce package
(you will need to runnpm i -g vsce
first) in thelangium-vscode
directory to generate the.vsix
file. Alternatively just run theRun Grammar Extension
debug config and open your project in the newly opened vscode window. That should yield you the same effect.