Skip to content

Commit 5be90b9

Browse files
Copilotbenibenj
andauthored
Fix inconsistency between JSON schema and code for secondary sidebar view containers (microsoft#264864)
* Initial plan * Fix inconsistency between JSON schema and code for secondary sidebar view containers Co-authored-by: benibenj <44439583+benibenj@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: benibenj <44439583+benibenj@users.noreply.github.com>
1 parent db3ab79 commit 5be90b9

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/vs/platform/extensions/common/extensionsApiProposals.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ const _allApiProposals = {
141141
contribRemoteHelp: {
142142
proposal: 'https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribRemoteHelp.d.ts',
143143
},
144-
contribSecondarySideBar: {
145-
proposal: 'https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribSecondarySideBar.d.ts',
144+
contribSecondarySidebar: {
145+
proposal: 'https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribSecondarySidebar.d.ts',
146146
},
147147
contribShareMenu: {
148148
proposal: 'https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/vscode.proposed.contribShareMenu.d.ts',

src/vs/workbench/api/browser/viewsExtensionPoint.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,8 @@ class ViewsExtensionHandler implements IWorkbenchContribution {
320320
case 'panel':
321321
panelOrder = this.registerCustomViewContainers(value, description, panelOrder, existingViewContainers, ViewContainerLocation.Panel);
322322
break;
323-
case 'secondarySideBar':
324-
checkProposedApiEnabled(description, 'contribSecondarySideBar');
323+
case 'secondarySidebar':
324+
checkProposedApiEnabled(description, 'contribSecondarySidebar');
325325
auxiliaryBarOrder = this.registerCustomViewContainers(value, description, auxiliaryBarOrder, existingViewContainers, ViewContainerLocation.AuxiliaryBar);
326326
break;
327327
}

src/vscode-dts/vscode.proposed.contribSecondarySideBar.d.ts renamed to src/vscode-dts/vscode.proposed.contribSecondarySidebar.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
// empty placeholder declaration for the `secondarySideBar`-contribution point
6+
// empty placeholder declaration for the `secondarySidebar`-contribution point

0 commit comments

Comments
 (0)