vscode-wit
vscode-wit copied to clipboard
[WIP] Implement LSP
Closes #3
Super WIP, but thought it might be good to have some initial feedback on the approach.
For now, https://github.com/bytecodealliance/wasm-tools is used, but I'm thinking about adding support for https://github.com/bytecodealliance/cargo-component since currently it has its own logic for resolving wit packages, which seems to have some advantages.
To test it out, have a recent version of wasm-tools installed, run npm install
, npm start
& reload the vscode window.
Preview
Diagnostics
Hover
TODO
- [ ] lint correctly when inside deps folder
- [ ] allow configuring problem matcher & pattern
- [ ] run wit-deps when appropriate
- [ ] clean up package.json scripts
- [ ] clean up changes as much as possible