Crate typst_ide

Source
Expand description

Capabilities for Typst IDE support.

Structs§

Completion
An autocompletion option.
Definition
A definition of some item.

Enums§

CompletionKind
A kind of item that can be completed.
DefinitionKind
A kind of item that is definition.
DerefTarget
Classes of expressions that can be operated on by IDE functionality.
Jump
Where to jump to.
NamedItem
An item that is named.
Tooltip
A hover tooltip.

Functions§

analyze_expr
Try to determine a set of possible values for an expression.
analyze_import
Try to load a module from the current source file.
analyze_labels
Find all labels and details for them.
autocomplete
Autocomplete a cursor position in a source file.
definition
Find the definition of the item under the cursor.
deref_target
Categorize an expression into common classes IDE functionality can operate on.
jump_from_click
Determine where to jump to based on a click in a frame.
jump_from_cursor
Find the output location in the document for a cursor position.
named_items
Find the named items starting from the given position.
tooltip
Describe the item under the cursor.