Directories
¶
| Path | Synopsis |
|---|---|
|
Package diagnostic defines PawnKit's shared in-memory diagnostic model.
|
Package diagnostic defines PawnKit's shared in-memory diagnostic model. |
|
examples
|
|
|
diagnostic
command
Command diagnostic demonstrates building a Diagnostic with a related location, a tag, and a safe fix, then validating it.
|
Command diagnostic demonstrates building a Diagnostic with a related location, a tag, and a safe fix, then validating it. |
|
hash
command
Command hash demonstrates building a composite cache key from a file's content hash, a configuration hash, and a tool version.
|
Command hash demonstrates building a composite cache key from a file's content hash, a configuration hash, and a tool version. |
|
protocol
command
Command protocol round-trips a diagnostic across a process boundary.
|
Command protocol round-trips a diagnostic across a process boundary. |
|
source
command
Command source demonstrates the basics of the source package: interning a file, building a snapshot, and converting between byte offsets and line/character positions in UTF-16 (the LSP default).
|
Command source demonstrates the basics of the source package: interning a file, building a snapshot, and converting between byte offsets and line/character positions in UTF-16 (the LSP default). |
|
textedit
command
Command textedit demonstrates computing a single-file edit and a multi-file workspace edit, including the atomic all-or-nothing behaviour of ApplyWorkspaceEdit when one document turns out to be stale.
|
Command textedit demonstrates computing a single-file edit and a multi-file workspace edit, including the atomic all-or-nothing behaviour of ApplyWorkspaceEdit when one document turns out to be stale. |
|
Package hash provides small, canonical content and configuration hashing helpers for building cache keys.
|
Package hash provides small, canonical content and configuration hashing helpers for building cache keys. |
|
Package protocol defines the versioned diagnostic JSON format.
|
Package protocol defines the versioned diagnostic JSON format. |
|
Package source provides shared file identity and position primitives.
|
Package source provides shared file identity and position primitives. |
|
Package textedit validates and applies version-aware text edits.
|
Package textedit validates and applies version-aware text edits. |
Click to show internal directories.
Click to hide internal directories.