Skip to content

Prevent language definitions from being read before they are ready #2710

Open
@AndreasArvidsson

Description

Today we load a language definition whenever the document opens

void this.loadLanguage(document.languageId);

The problem is that if they have the scope visualizer running we call the get method before the update is done and we get a error message

get(languageId: string): LanguageDefinition | undefined {

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions