дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 17:21:13 +02:00
Dart files show closing labels after a widget's or call's closing bracket at the end of the line (`), // Column`), from the Dart server's dart/textDocument/publishClosingLabels, now requested at initialization. They are inlay hints of a new closingLabel kind, kept per document and server instance, dropped on the next edit until the server publishes again; several labels closing on one line share one hint. Editor › Inlay Hints › Closing labels (on by default) turns them off. Right-click Disable now writes the kind's own setting (it wrote inlay.type instead of inlay.types for type hints). Part of #4096 Co-authored-by: wildcatDownstairs <[email protected]>
25 рядки
783 B
TOML
25 рядки
783 B
TOML
id = "dart"
|
|
name = "Dart"
|
|
extensions = ["dart"]
|
|
line-comment = "//"
|
|
block-comment = ["/*", "*/"]
|
|
indent = { tab-size = 2, insert-spaces = true }
|
|
ui-mode = "Dart"
|
|
tree-sitter = "dart"
|
|
|
|
[[language-servers]]
|
|
name = "dart"
|
|
command = "dart"
|
|
args = ["language-server", "--protocol=lsp"]
|
|
root-markers = ["pubspec.yaml", "analysis_options.yaml"]
|
|
initialization-options = { flutterOutline = true, closingLabels = true }
|
|
install-hint = "Install the Dart SDK (https://dart.dev/get-dart) or Flutter"
|
|
|
|
# `dart` here; a project that depends on the Flutter SDK is switched to
|
|
# `flutter debug_adapter` at session start (see `ide-dap`'s `start_with`).
|
|
[debugger]
|
|
adapter = "dart"
|
|
command = "dart"
|
|
args = ["debug_adapter"]
|
|
install-hint = "Install the Dart SDK (https://dart.dev/get-dart) or Flutter"
|