Interface DefaultSharedCoreModuleContext

Context required for creating the default shared dependency injection module.

interface DefaultSharedCoreModuleContext {
    fileSystemProvider: ((services: LangiumSharedCoreServices) => FileSystemProvider);
}

Hierarchy (view full)

Properties

fileSystemProvider: ((services: LangiumSharedCoreServices) => FileSystemProvider)

Factory function to create a FileSystemProvider.

Langium exposes an EmptyFileSystem and NodeFileSystem, exported through langium/node. When running Langium as part of a vscode language server or a Node.js app, using the NodeFileSystem is recommended, the EmptyFileSystem in every other use case.