# vscode-hubris automatic task context switching for rust-analyzer for [Hubris](https://github.com/oxidecomputer/hubris) via `xtask lsp` and `xtask rust-analyzer` enable in workspace settings: ```json { "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`)