You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: localize('vscode.extension.contributes.labels.prefix','URI prefix on which to match the rules on. For example file:///myFolder'),
37
+
description: localize('vscode.extension.contributes.resourceLabelFormatters.scheme','URI scheme on which to match the formatter on. For example "file". Simple glob patterns are supported.'),
41
38
},
42
-
uri: {
43
-
description: localize('vscode.extension.contributes.labels.uri',"Rules for formatting uri resource labels."),
39
+
authority: {
40
+
type: 'string',
41
+
description: localize('vscode.extension.contributes.resourceLabelFormatters.authority','URI authority on which to match the formatter on. Simple glob patterns are supported.'),
42
+
},
43
+
formatting: {
44
+
description: localize('vscode.extension.contributes.resourceLabelFormatters.formatting',"Rules for formatting uri resource labels."),
44
45
type: 'object',
45
46
properties: {
46
47
label: {
47
48
type: 'string',
48
-
description: localize('vscode.extension.contributes.labels.uri.label',"Label rules to display. For example: myLabel:/${path}. ${path}, ${scheme} and ${authority} are supported as variables.")
49
+
description: localize('vscode.extension.contributes.resourceLabelFormatters.label',"Label rules to display. For example: myLabel:/${path}. ${path}, ${scheme} and ${authority} are supported as variables.")
49
50
},
50
51
separator: {
51
52
type: 'string',
52
-
description: localize('vscode.extension.contributes.labels.uri.separator',"Separator to be used in the uri label display. '/' or '\' as an example.")
53
+
description: localize('vscode.extension.contributes.resourceLabelFormatters.separator',"Separator to be used in the uri label display. '/' or '\' as an example.")
53
54
},
54
55
tildify: {
55
56
type: 'boolean',
56
-
description: localize('vscode.extension.contributes.labels.uri.tildify',"Controls if the start of the uri label should be tildified when possible.")
57
+
description: localize('vscode.extension.contributes.resourceLabelFormatters.tildify',"Controls if the start of the uri label should be tildified when possible.")
57
58
},
58
-
normalizeDriveLetter: {
59
-
type: 'boolean',
60
-
description: localize('vscode.extension.contributes.labels.uri.normalizeDriveLetter',"Controls if the drive letters should be upper cased.")
61
-
}
62
-
}
63
-
},
64
-
workspace: {
65
-
description: localize('vscode.extension.contributes.labels.workspace',"Rules for formatting workspace labels."),
66
-
type: 'object',
67
-
properties: {
68
-
suffix: {
59
+
workspaceSuffix: {
69
60
type: 'string',
70
-
description: localize('vscode.extension.contributes.labels.workspace.suffix',"Suffix appended to the workspace label.")
61
+
description: localize('vscode.extension.contributes.resourceLabelFormatters.formatting.workspaceSuffix',"Suffix appended to the workspace label.")
71
62
}
72
63
}
73
-
},
64
+
}
74
65
}
75
66
}
76
67
}
@@ -86,7 +77,7 @@ function hasDriveLetter(path: string): boolean {
0 commit comments