YYDS language support for VS Code and compatible editors (including code-server).
Features
- Syntax highlighting for
.yydsfiles - TextMate grammar scope:
source.yyds - Language configuration for comments and brackets
- Grammar assets are generated from
@yyds-lang/textmate
Development
npm install
npm run sync:grammar
npm test
Run extension in development host:
- Press
F5in VS Code - Open a
.yydsfile (for example:tests/fixtures/basic-song.yyds)
Packaging
npm run package
This command syncs grammar assets and outputs a .vsix package.
Notes
- Do not hand-edit
syntaxes/yyds.tmLanguage.jsonorlanguage-configuration.json - Source of truth is
@yyds-lang/textmate