Skip to main content

Crate perl_workspace_folder

Crate perl_workspace_folder 

Source
Expand description

Workspace folder URI/path parsing.

This crate has one narrow responsibility: convert 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.