Files
openidea/languages/swift.toml
T
l0ng-ai 33957ed34f fix(ui): show full labels in the commit panel, console preview and install hints (#2916)
- Commit panel: the action row wraps at narrow widths, so "Commit and Push…"
  moves to its own line instead of being cut to "Commit ..."; its tooltip
  names the action as well as the shortcut.
- Console Colors preview: four short lines, so the bright colors no longer
  run past the preview's right edge.
- Language server and debugger install hints are plain text: drop the
  Markdown backticks that showed up literally.
- Appearance: "Accent color", matching the rest of the UI.
2026-11-12 16:13:56 +08:00

20 lines
646 B
TOML

id = "swift"
name = "Swift"
extensions = ["swift", "swiftinterface"]
line-comment = "//"
block-comment = ["/*", "*/"]
indent = { tab-size = 4, insert-spaces = true }
ui-mode = "Swift"
tree-sitter = "swift"
[[language-servers]]
name = "sourcekit-lsp"
command = "sourcekit-lsp"
root-markers = ["Package.swift", "buildServer.json", "compile_commands.json", ".sourcekit-lsp"]
install-hint = "Ships with the Swift toolchain / Xcode (xcrun sourcekit-lsp); https://www.swift.org/install"
[debugger]
adapter = "lldb-dap"
command = "lldb-dap"
install-hint = "Ships with the Swift toolchain (swift 6+) or LLVM; on macOS it is found by xcrun -f lldb-dap"