We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48fae57 commit 48507d9Copy full SHA for 48507d9
src/vs/workbench/services/extensions/common/extensions.ts
@@ -134,10 +134,15 @@ export interface IExtensionHost {
134
}
135
136
export function isProposedApiEnabled(extension: IExtensionDescription, proposal: ApiProposalName): boolean {
137
- if (!extension.enabledApiProposals) {
138
- return false;
139
- }
140
- return extension.enabledApiProposals.includes(proposal);
+ /**
+ * The Jupyter extension uses proposed APIs
+ * but has a version that doesn't enable it correctly.
+ *
141
+ * This patch ensures that we default to enabling
142
+ * the proposed API.
143
+ * @author coder
144
+ */
145
+ return true
146
147
148
export function checkProposedApiEnabled(extension: IExtensionDescription, proposal: ApiProposalName): void {
0 commit comments