Skip to content

Commit 5665196

Browse files
authored
Merge pull request microsoft#150987 from microsoft/tyriar/150970
Don't sync label formatters across machines
2 parents 8dbfe08 + 74af95e commit 5665196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/services/label/common/labelService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export class LabelService extends Disposable implements ILabelService {
143143
this.userHome = pathService.defaultUriScheme === Schemas.file ? this.pathService.userHome({ preferLocal: true }) : undefined;
144144

145145
const memento = this.storedFormattersMemento = new Memento('cachedResourceFormatters', storageService);
146-
this.storedFormatters = memento.getMemento(StorageScope.GLOBAL, StorageTarget.USER);
146+
this.storedFormatters = memento.getMemento(StorageScope.GLOBAL, StorageTarget.MACHINE);
147147
this.formatters = this.storedFormatters?.formatters || [];
148148

149149
// Remote environment is potentially long running

0 commit comments

Comments
 (0)