API Reference
The Extension API consists of interfaces exposed to allow building features and functionality from JavaScript.
-
Registration of helpers for specific editor and workspace features
-
A set of Unicode characters used in search operations
-
Reading and writing to the clipboard
-
A color represented in a color space
-
A possible value that may be parsed into color information
-
An annotatable color instance within a document
-
Information about a request for colors
-
A textual form in which a color can be represented when inserted into a document
-
Information about a request for color presentations
-
Management of user-invocable commands
-
A color pop option displayed in the completions list
-
Information about the request for completion items within an editor
-
An item displayed in the editor completions list
-
A collection for multiple disposable objects
-
Storing and retrieving settings and persistent state
-
The standard logging console
-
Storage of secure credentials
-
Cryptographic primitives
-
A debug session running in the workspace
-
A custom event sent from a debug adapter
-
Objects which can be torn down
-
Dispatches event notifications to listeners
-
Top-level global object representing the application
-
Information about the running extension
-
Read and write files on disk
-
Attributes of a file on disk
-
Query and modify attributes of file system objects
-
Observe changes to files in the workspace
-
A single diagnostic from a linter or other tool
-
Manages a set of issues displayed to the user
-
Parses issues from textual content using rules
-
Interfaces to Language Server Protocol support
-
Dispatching unubtrusive requests and notices to the user
-
A request to show a notification
-
The result of presenting a notification
-
A parse tree node captured as part of a match found during evaluation of a Tree-sitter query
-
A match found during evaluation of a Tree-sitter query
-
Manipulation of file system paths
-
Launching background helper tools
-
A message sent between an extension and subprocess over JSON-RPC
-
A contiguous, linear region of text
-
A string parser that progressively scans for substrings or characters
-
A descriptor for a set of text highlighting classes used in syntax grammars
-
A symbolic construct within a document
-
A runnable task which is provided dynamically
-
Information about a task action being resolved
-
A task action which invokes an extension command
-
A task action which invokes a Debug Adapter
-
A task action which invokes a helper tool
-
A task action placeholder which can resolve to a concrete action once invoked
-
An open document in the workspace
-
A single edit that may be applied to an editor
-
An open editor in the workspace
-
An atomic edit operation that may combine multiple changes
-
An interface for objects that provided data to a TreeView
-
An item shown within a TreeView
-
A custom tree sidebar
-
Interfaces supported from open Web API standards
-
An open workspace window