mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
extract auth#session into its own proposal file, make isProposedApiEnabled and checkProposedApiEnabled more strict by forcing them to be called with undefined or a proposal name, https://github.com/microsoft/vscode/issues/131165
This commit is contained in:
@@ -84,7 +84,7 @@ class ResourceLabelFormattersHandler implements IWorkbenchContribution {
|
||||
constructor(@ILabelService labelService: ILabelService) {
|
||||
resourceLabelFormattersExtPoint.setHandler((extensions, delta) => {
|
||||
delta.added.forEach(added => added.value.forEach(formatter => {
|
||||
if (!isProposedApiEnabled(added.description) && formatter.formatting.workspaceTooltip) {
|
||||
if (!isProposedApiEnabled(added.description, undefined) && formatter.formatting.workspaceTooltip) {
|
||||
// workspaceTooltip is only proposed
|
||||
formatter.formatting.workspaceTooltip = undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user