- Replaces whitespace with tabs (no option for spaces)
- Sets file specific settings for lc2k
- Defaults, descriptions of each are given in vscode documentation.
"[lc2k]": { "editor.insertSpaces": false, "editor.tabSize": 8, "editor.autoIndent": false, "editor.formatOnSave": true, "files.trimFinalNewlines": true, "files.insertFinalNewline": true }
- Defaults, descriptions of each are given in vscode documentation.
- Has a few settings:
- format.enable
- Enable the formatter.
- "[lc2k]": { .... "files.trimFinalNewlines": true, "files.insertFinalNewline": true}
- When enabled(default), will add a newline at the end of the file so you don't get "line too long" errors.
- You can disable either of these, but that's not reccomended.
- format.irTypeOffset, format.jTypeOffset, format.oTypeOffset, format.fillOffset
- Changes the tab offset for comments for given types.
- null will not indent or format the comments.
- format.enable
- Added new file extension
- Updated dependencies
- Added formatter
- Hover help on opcode
- Much imporoved syntax highlighting
- Updated readme
- Basic features working, simple regex higlighting
On nixos, sorry! but you should be able to just install node in some other way and everything else will be the same
nix-shell -p nodejs_20
fix any dependances etc In the shell
git clone [email protected]:violetbp/lc2k.git
cd lc2k
npm install
code .
f5 to run and test
npm install @vscode/vsce
Delete the line added to dependances in package.json (should be empty)
vsce package
vsce publish