дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-03 16:51:16 +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]>
23 рядки
723 B
TOML
23 рядки
723 B
TOML
id = "fsharp"
|
||
name = "F#"
|
||
extensions = ["fs", "fsx"]
|
||
line-comment = "//"
|
||
block-comment = ["(*", "*)"]
|
||
indent = { tab-size = 4, insert-spaces = true }
|
||
ui-mode = "F#"
|
||
tree-sitter = "fsharp"
|
||
|
||
[[language-servers]]
|
||
name = "fsautocomplete"
|
||
command = "fsautocomplete"
|
||
root-markers = ["*.sln", "*.fsproj", "global.json"]
|
||
install-hint = "dotnet tool install --global fsautocomplete"
|
||
# Otherwise it waits for the client to load the project through `fsharp/workspaceLoad`.
|
||
initialization-options = { AutomaticWorkspaceInit = true }
|
||
|
||
[debugger]
|
||
adapter = "netcoredbg"
|
||
command = "netcoredbg"
|
||
args = ["--interpreter=vscode"]
|
||
install-hint = "Install netcoredbg (.NET debugger) in Settings › Languages & Frameworks › Language Servers"
|