asm-lsp/editors/code
2025-11-25 04:06:19 -05:00
..
src Add support for packaging the binary within the .vsix 2025-11-25 04:06:19 -05:00
.eslintignore feat: VSCode dev support (#97) 2024-07-15 03:58:45 +00:00
.eslintrc.js feat: VSCode dev support (#97) 2024-07-15 03:58:45 +00:00
.gitignore feat: VSCode dev support (#97) 2024-07-15 03:58:45 +00:00
.vscodeignore feat: VSCode dev support (#97) 2024-07-15 03:58:45 +00:00
package-lock.json feat: VSCode dev support (#97) 2024-07-15 03:58:45 +00:00
package.json Add required publisher field 2025-11-25 04:06:19 -05:00
README.md Add a small note in readme about adding the binary 2025-11-25 04:06:19 -05:00
tsconfig.json feat: VSCode dev support (#97) 2024-07-15 03:58:45 +00:00

VSCode asm-lsp

Development

Setup your environment

# Build asm-lsp
cargo build

# Setup JS
cd editors/code
npm install

Debugging

In VSCode, go to the Run & Debug sidebar (Ctrl + Shft + D) and click the Run Extension (Debug Build) button. This will open a new VSCode instance with the lsp server installed.

Adding the binary inside VSIX

Copy the asm-lsp binary into editors/code/bin/{platform}-{arch}/.

npm run package