char-slop/vscode-hubris

git clone https://git.t4t.associates/char-slop/vscode-hubris

Charlotte Sominitial commitf4210c2

main
581 B20 linesraw

vscode-hubris

automatic task context switching for rust-analyzer for Hubris via xtask lsp and xtask rust-analyzer

enable in workspace settings:

{
  "hubris.app": "app.toml",
  "rust-analyzer.check.command": "clippy"
}

the extension manages these workspace settings:

  • rust-analyzer.server.path
  • rust-analyzer.server.extraEnv (adds HUBRIS_WORKSPACE_ROOT and HUBRIS_CONTEXT_FILE)
  • rust-analyzer.cargo.buildScripts.overrideCommand

i would probably gitignore your .vscode (echo '*' > .vscode/.gitignore)

1# vscode-hubris
2
3automatic task context switching for rust-analyzer for [Hubris](https://github.com/oxidecomputer/hubris) via `xtask lsp` and `xtask rust-analyzer`
4
5enable in workspace settings:
6
7```json
8{
9  "hubris.app": "app.toml",
10  "rust-analyzer.check.command": "clippy"
11}
12```
13
14the extension manages these workspace settings:
15
16- `rust-analyzer.server.path`
17- `rust-analyzer.server.extraEnv` (adds `HUBRIS_WORKSPACE_ROOT` and `HUBRIS_CONTEXT_FILE`)
18- `rust-analyzer.cargo.buildScripts.overrideCommand`
19
20i would probably gitignore your .vscode (`echo '*' > .vscode/.gitignore`)