Langium - v4.0.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

    Constructors

    Properties

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

    The options used for the initial workspace build.

    langiumDocuments: LangiumDocuments
    serviceRegistry: ServiceRegistry

    Accessors

    Methods

    • 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>