Skip to main content

Module folder

Module folder 

Source
Expand description

Workspace folder URI/path parsing. Workspace folder URI/path parsing.

Converts workspace folder entries into local filesystem paths with deterministic behavior for both plain paths and file:// URIs.

Structs§

WorkspaceFolderChange
URI lists extracted from an LSP workspace folder change event.

Functions§

extract_workspace_folder_change
Extract URI changes from an LSP workspace/didChangeWorkspaceFolders event payload.
extract_workspace_folder_uris
Extract workspace folder URIs from an LSP workspaceFolders array.
root_path_to_file_uri
Convert a legacy LSP rootPath string to a file:// URI.
workspace_folder_to_path
Parse a workspace folder declaration into a filesystem path.