Remove TODO.

This commit is contained in:
Anders Starcke Henriksen
2023-09-28 14:05:31 +02:00
parent 7bfe0df901
commit bb25874299

View File

@@ -33,7 +33,10 @@ export class LanguageContextStore extends DisposableObject {
this.onLanguageContextChangedEmitter.fire(); this.onLanguageContextChangedEmitter.fire();
} }
// TODO: comment on why string is used here // This method takes a string to allow it to be used in cases
// where the language is not always a known one.
// The semantics of such an unknown langauge is that it is
// only included if the current language context is "All".
public shouldInclude(language: string): boolean { public shouldInclude(language: string): boolean {
return this.state === "All" || this.state === language; return this.state === "All" || this.state === language;
} }