Supported features:
- go to symbols
- go to include
- go to parent template
- go to any template by string under cursor
- find all template references
- find all templates with same parameter
- autocompletion
- diagnostics file structure
- rename parameters/namespaces
Especially thanks to eguskov for his blktool plugin. Blk grammar syntax was taken from this plugin.
-
ts plugin https://github.com/metadevpro/ts-pegjs
-
npm install pegjs
-
npm install ts-pegjs
-
pegjs --plugin ./node_modules/ts-pegjs -o server/src/blk.ts --cache blk.pegjs