Package-level declarations
Types
Result of completionPath.
Properties
A language provider based on the Lezer JavaScript parser, extended with highlighting and indentation information.
Language provider for JSX.
Completion source that walks the JavaScript/TypeScript syntax tree upward from the cursor, collecting locally declared names (variables, functions, classes, types, imports) within scope boundaries.
A collection of JavaScript-specific snippet completions.
Language provider for JSX + TypeScript.
A language provider for TypeScript.
A collection of snippet completions for TypeScript. Includes everything from snippets plus TypeScript-specific entries.
Functions
Extension that auto-closes JSX tags when typing > or completes closing tags when typing /.
Extract the completion path at the cursor. Reads backwards from the cursor, splitting on . to determine whether we're completing a property access (like console.l|) or a bare identifier.
JavaScript language support.
Create a completion source that provides property completions from a scope map. The map represents a global scope object where keys are property names and values are either nested maps (for object properties) or null (for leaf names).