Langium - v4.4.0
    Preparing search index...

    Class DefaultWorkspaceManager

    The workspace manager is responsible for finding source files in the workspace. This service is shared between all languages of a language server.

    Implements

    Index
    _ready: Deferred<void> = ...
    documentBuilder: DocumentBuilder
    fileSystemProvider: FileSystemProvider
    folders?: WorkspaceFolder[]
    initialBuildOptions: BuildOptions = {}

    The options used for the initial workspace build.

    langiumDocuments: LangiumDocuments
    serviceRegistry: ServiceRegistry
    • Load all additional documents that shall be visible in the context of the given workspace folders and add them to the collector. This can be used to include built-in libraries of your language, which can be either loaded from provided files or constructed in memory.

      Parameters

      Returns Promise<void>

    • Traverse the file system folder identified by the given URI and its subfolders. All contained files that match the file extensions are added to the uris array.

      Parameters

      Returns Promise<void>