дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-26 20:46:22 +02:00
.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
19 рядки
834 B
TOML
19 рядки
834 B
TOML
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"
|