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
- Document
Edits - Document
Symbol - Extension
Info - Folding
Range - Formatting
Options - Hover
- Language
Error - Language
Service - Line
Index - UTF-16 LSP positions over UTF-8 authored bytes, retaining LF/CRLF/CR exactly.
- Location
- Name
Occurrence - Position
- Property
Info - Range
- Schema
- Semantic
Token - Signature
- Signature
Help - Text
Change - Text
Edit - Type
Info - Workspace
Edit
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.