Skip to content

Commit

Permalink
Remove outdated TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
georg-schwarz committed May 26, 2024
1 parent d7ef7ec commit a197d1a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions libs/language-server/src/lib/lsp/jayvee-scope-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ export class JayveeScopeProvider extends DefaultScopeProvider {
protected readonly availableElementsPerDocumentCache: DocumentCache<
string,
ExportableElement[]
>;

>; // DocumentCache becomes invalidated as soon the corresponding document is updated
constructor(services: JayveeServices) {
super(services);
this.langiumDocuments = services.shared.workspace.LangiumDocuments;
Expand All @@ -60,8 +59,6 @@ export class JayveeScopeProvider extends DefaultScopeProvider {
return EMPTY_SCOPE;
}

// TODO: add caching to avoid performance issues

const importedUris = new Set<string>();
this.gatherImports(jayveeModel, importedUris);
this.gatherBuiltins(importedUris);
Expand Down

0 comments on commit a197d1a

Please sign in to comment.