mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-06 16:08:05 +00:00
32 lines
988 B
TOML
32 lines
988 B
TOML
id = "typescriptreact"
|
|
name = "TypeScript JSX"
|
|
extensions = ["tsx"]
|
|
line-comment = "//"
|
|
block-comment = ["/*", "*/"]
|
|
indent = { tab-size = 2, insert-spaces = true }
|
|
ui-mode = "TSX"
|
|
tree-sitter = "tsx"
|
|
|
|
[[language-servers]]
|
|
name = "vtsls"
|
|
command = "vtsls"
|
|
args = ["--stdio"]
|
|
root-markers = ["tsconfig.json", "jsconfig.json", "package.json"]
|
|
install-hint = "npm i -g @vtsls/language-server"
|
|
|
|
[[language-servers]]
|
|
name = "typescript-language-server"
|
|
# Alternative: used only when the server above is not installed.
|
|
fallback = true
|
|
command = "typescript-language-server"
|
|
args = ["--stdio"]
|
|
root-markers = ["tsconfig.json", "jsconfig.json", "package.json"]
|
|
install-hint = "npm i -g typescript typescript-language-server"
|
|
|
|
[debugger]
|
|
adapter = "js-debug"
|
|
command = "js-debug-adapter"
|
|
args = ["${port}", "127.0.0.1"]
|
|
transport = "tcp"
|
|
install-hint = "Install vscode-js-debug's DAP server (js-debug-dap-*.tar.gz from https://github.com/microsoft/vscode-js-debug/releases) as `js-debug-adapter`"
|