interface IOptions {
    fileExtension: undefined | string;
    foreignCodeExtractors: ILSPCodeExtractorsManager;
    hasLspSupportedFile: boolean;
    language: string;
    parent?: VirtualDocument;
    path: string;
    standalone?: boolean;
}

Properties

fileExtension: undefined | string

File extension of the document.

foreignCodeExtractors: ILSPCodeExtractorsManager

The foreign code extractor manager token.

hasLspSupportedFile: boolean

Notebooks or any other aggregates of documents are not supported by the LSP specification, and we need to make appropriate adjustments for them, pretending they are simple files so that the LSP servers do not refuse to cooperate.

language: string

The language identifier of the document.

Parent of the current virtual document.

path: string

Path to the document.

standalone?: boolean

Being standalone is relevant to foreign documents and defines whether following chunks of code in the same language should be appended to this document (false, not standalone) or should be considered separate documents (true, standalone)