дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-05 17:47:08 +02:00
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]>
18 рядки
522 B
TOML
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 }
|