mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-06 16:08:05 +00:00
Bash Debug had no entry in the missing-adapter table, so a shell script debug session without it failed with a plain error pointing at mason.nvim. The install hints of the debuggers OpenIDEA installs itself (CodeLLDB, vscode-js-debug, Kotlin Debug Adapter, netcoredbg, Bash Debug) now point to Settings › Languages & Frameworks › Language Servers, in languages/*.toml and in ide-dap's built-in definitions.
21 lines
831 B
TOML
21 lines
831 B
TOML
id = "shellscript"
|
||
name = "Shell Script"
|
||
extensions = ["sh", "bash", "zsh", "ksh", "ash", "dash", "bats", "command"]
|
||
filenames = [".bashrc", ".bash_profile", ".bash_login", ".bash_logout", ".bash_aliases", ".profile", ".zshrc", ".zshenv", ".zprofile", ".zlogin", ".zlogout", ".kshrc", "PKGBUILD", "APKBUILD", ".envrc"]
|
||
first-line = "^#!.*\\b(bash|sh|zsh|ksh|dash|ash)\\b"
|
||
line-comment = "#"
|
||
indent = { tab-size = 2, insert-spaces = true }
|
||
ui-mode = "Shell"
|
||
tree-sitter = "bash"
|
||
|
||
[[language-servers]]
|
||
name = "bash-language-server"
|
||
command = "bash-language-server"
|
||
args = ["start"]
|
||
install-hint = "npm i -g bash-language-server (optionally install shellcheck and shfmt)"
|
||
|
||
[debugger]
|
||
adapter = "bash-debug"
|
||
command = "bash-debug-adapter"
|
||
install-hint = "Install Bash Debug in Settings › Languages & Frameworks › Language Servers"
|