Skip to main content

Crate ferroui_designer_language

Crate ferroui_designer_language 

Source
Expand description

Schema-aware XAML text editing, navigation, refactoring and stdio LSP.

Modules§

lsp
Framed JSON-RPC over stdio. Only this adapter uses LSP wire types; native callers use the same portable service directly. No network listener or external language process is started.

Structs§

Completion
Diagnostic
DocumentEdits
DocumentSymbol
ExtensionInfo
FoldingRange
FormattingOptions
Hover
LanguageError
LanguageService
LineIndex
UTF-16 LSP positions over UTF-8 authored bytes, retaining LF/CRLF/CR exactly.
Location
NameOccurrence
Position
PropertyInfo
Range
Schema
SemanticToken
Signature
SignatureHelp
TextChange
TextEdit
TypeInfo
WorkspaceEdit

Functions§

apply_text_edits
is_xaml_identifier
Whether a string is a valid identifier for the designer’s XAML name/reference grammar.
name_occurrences
name_scope
The containing XAML name scope. A template’s own declaration belongs to its parent scope, while nodes inside the template belong to the template scope.
rewrite_names
Rewrite declarations and only references that resolve to a declaration within this source. The full-document occurrence API is preferable for copied fragments with inherited prefixes.

Type Aliases§

Result