Файли
openidea/languages/xml.toml
T
l0ng-ai 26e7847457 feat(languages): Avalonia XAML (.axaml) as its own language with an Avalonia language server (#5708)
.axaml files opened as plain XML. They are now the Avalonia XAML language: XML grammar, highlighting, folding and outline as before, XAML's 4-space indent, Surround With tag, and the axsg-lsp language server (installed by hand as a prerelease dotnet tool; the Language Servers page shows the command and takes a custom path), with LemMinX as the XML fallback. .xaml stays XML.

Fixes #5664
2026-11-25 07:28:42 +08:00

19 рядки
834 B
TOML
Неформатований Анотація Історія

Цей файл містить неоднозначні символи Юнікоду
Цей файл містить символи Юнікоду, які можна сплутати з іншими символами. Якщо ви вважаєте, що це зроблено навмисно, можете сміливо ігнорувати це попередження. Щоб показати їх, скористайтеся кнопкою Escape.
id = "xml"
name = "XML"
extensions = ["xml", "xsd", "xsl", "xslt", "svg", "plist", "csproj", "fsproj", "vbproj", "props", "targets", "nuspec", "xaml", "resx", "wsdl", "fxml", "iml", "jnlp", "rss", "atom", "xliff", "xlf", "storyboard", "xib", "tld", "pom"]
filenames = ["NuGet.Config", "Directory.Build.targets", "web.config", "app.config"]
first-line = "^<\\?xml\\b"
block-comment = ["<!--", "-->"]
indent = { tab-size = 2, insert-spaces = true }
ui-mode = "XML"
tree-sitter = "xml"
# Rainbow brackets › angle: editor syntax nodes of markup tags, whose `<` `>` pair up.
[rainbow-brackets]
tags = ["OpenTag", "CloseTag", "SelfClosingTag"]
[[language-servers]]
name = "lemminx"
command = "lemminx"
install-hint = "Install Eclipse LemMinX (https://github.com/redhat-developer/vscode-xml/releases) and put the lemminx binary on PATH"