Файли
openidea/languages/shellscript.toml
T
l0ng-ai e6b800971a fix(debugger): offer to install Bash Debug, and point debugger hints to Settings (#1637)
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.
2026-11-06 06:35:01 +08:00

21 рядки
831 B
TOML
Неформатований Постійне посилання Анотація Історія

Цей файл містить неоднозначні символи Юнікоду
Цей файл містить символи Юнікоду, які можна сплутати з іншими символами. Якщо ви вважаєте, що це зроблено навмисно, можете сміливо ігнорувати це попередження. Щоб показати їх, скористайтеся кнопкою Escape.
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"