Skip to content

Commit 474e566

Browse files
committed
Clear cache when patterns are changed
1 parent d38052b commit 474e566

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/workbench/services/editor/common/customEditorLabelService.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export class CustomEditorLabelService extends Disposable implements ICustomEdito
6767

6868
// Cache the patterns
6969
else if (e.affectsConfiguration(CustomEditorLabelService.SETTING_ID_PATTERNS)) {
70+
this.cache.clear();
7071
this.storeCustomPatterns();
7172
this._onDidChange.fire();
7273
}

0 commit comments

Comments
 (0)