mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
labelService: allow to register workspace label formater
This commit is contained in:
@@ -15,7 +15,7 @@ import { values } from 'vs/base/common/map';
|
||||
import { Range, FileChangeType } from 'vs/workbench/api/node/extHostTypes';
|
||||
import { ExtHostLanguageFeatures } from 'vs/workbench/api/node/extHostLanguageFeatures';
|
||||
import { Schemas } from 'vs/base/common/network';
|
||||
import { UriLabelRules } from 'vs/platform/label/common/label';
|
||||
import { LabelRules } from 'vs/platform/label/common/label';
|
||||
|
||||
class FsLinkProvider implements vscode.DocumentLinkProvider {
|
||||
|
||||
@@ -142,7 +142,7 @@ export class ExtHostFileSystem implements ExtHostFileSystemShape {
|
||||
});
|
||||
}
|
||||
|
||||
setUriFormatter(scheme: string, formatter: UriLabelRules): void {
|
||||
setUriFormatter(scheme: string, formatter: LabelRules): void {
|
||||
this._proxy.$setUriFormatter(scheme, formatter);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user