2.0 KiB
2.0 KiB
Bash IDE
Visual Studio Code extension utilizing the Bash Language Server and integrates with explainshell and shellcheck.
We strongly recommend that you install shellcheck to enable linting: https://github.com/koalaman/shellcheck#installing
Features
- Jump to declaration
- Find references
- Code Outline & Show Symbols
- Highlight occurrences
- Code completion
- Simple diagnostics reporting
- Documentation for flags on hover
- Workspace symbols
- Rename symbol
- Snippets
Configuration
To get documentation for flags on hover (thanks to explainshell), run a explainshell server and update your VS Code settings:
"bashIde.explainshellEndpoint": "http://localhost:5000",
For security reasons, it defaults to "", which disables explainshell integration. When set, this extension will send requests to the endpoint and displays documentation for flags. We recommend using a local Docker image (see https://github.com/bash-lsp/bash-language-server/issues/180).