The options used for the initial workspace build.
Readonly
readyA promise that resolves when the workspace manager is ready to be used. Use this to ensure that the workspace manager has finished its initialization.
The workspace folders of the current workspace.
Available only after the ready
promise resolves.
When used in a language server context, this method is called when the server receives
the initialize
request.
When used in a language server context, this method is called when the server receives
the initialized
notification.
Does the initial indexing of workspace folders. Collects information about exported and referenced AstNodes in each language file and stores it locally.
The set of workspace folders to be indexed.
Optional
cancelToken: Cancellation.CancellationTokenA cancellation token that can be used to cancel the operation.
Determine whether the given file system node shall be included in the workspace.
The file system node to check.
true
if the entry shall be included, false
otherwise.
The workspace manager is responsible for finding source files in the workspace. This service is shared between all languages of a language server.