Expand description
Capabilities for Typst IDE support.
Structs§
- Completion
- An autocompletion option.
- Definition
- A definition of some item.
Enums§
- Completion
Kind - A kind of item that can be completed.
- Definition
Kind - A kind of item that is definition.
- Deref
Target - Classes of expressions that can be operated on by IDE functionality.
- Jump
- Where to jump to.
- Named
Item - 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.