Skip to content

Commit 109db8e

Browse files
authored
Update README.md
1 parent 366d2cb commit 109db8e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ This will ask you a range of questions, like the name of your language and a rep
2828

2929
These artifacts are set up such that they integrate with each other. For example, the build directory of the LSP server is exactly where the VS Code extension is expecting it. Because the code generator also compiles the sources, you can start the extension straight away. Also, you can immediately use `vsce` to pack your extension into a deployable VSIX file.
3030

31-
The extension project also contains scripts that allow you to easily regenerate the grammar and metamodel code once you did some changes.
31+
The extension project also contains scripts that allow you to easily regenerate the grammar and metamodel code once you did some changes:
32+
33+
* If you only changed the concrete syntax of your language, you can run `npm run generate-parser` to regenerate the internal parser DSL code of your language.
34+
* If you changed the abstract syntax of your language, you can run `npm run generate-metamodel` to regenerate the code for your changed metamodel.
3235

3336
## Launching the new extension
3437

0 commit comments

Comments
 (0)