Файли
openidea/languages/fsharp-signature.toml
T
LU XIANGRUIтаwildcatDownstairs 1d3547a953 feat(fsharp): tree-sitter grammars for outline, folding and symbols (#7640)
F# had only the CodeMirror mode, so without FsAutoComplete the Structure view was empty, indented blocks did not fold and F# declarations were missing from the symbol index. tree-sitter-fsharp 0.3.13 (MIT) is bundled: the main grammar for .fs / .fsx and its signature grammar for .fsi, with outline queries, folding, symbols and declaration-name highlighting over the existing mode. .fsi files are the language fsharp.signature, sharing one FsAutoComplete with source files and sent as languageId fsharp.

Closes #7637

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-03 17:10:44 +08:00

18 рядки
522 B
TOML

id = "fsharp.signature"
name = "F# Signature"
extensions = ["fsi"]
line-comment = "//"
block-comment = ["(*", "*)"]
indent = { tab-size = 4, insert-spaces = true }
ui-mode = "F#"
# Signature files have their own grammar.
tree-sitter = "fsharp_signature"
[[language-servers]]
name = "fsautocomplete"
command = "fsautocomplete"
root-markers = ["*.sln", "*.fsproj", "global.json"]
install-hint = "dotnet tool install --global fsautocomplete"
language-id = "fsharp"
initialization-options = { AutomaticWorkspaceInit = true }