File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
src/vs/workbench/services/extensions/common Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -134,10 +134,15 @@ export interface IExtensionHost {
134
134
}
135
135
136
136
export function isProposedApiEnabled ( extension : IExtensionDescription , proposal : ApiProposalName ) : boolean {
137
- if ( ! extension . enabledApiProposals ) {
138
- return false ;
139
- }
140
- return extension . enabledApiProposals . includes ( proposal ) ;
137
+ /**
138
+ * The Jupyter extension uses proposed APIs
139
+ * but has a version that doesn't enable it correctly.
140
+ *
141
+ * This patch ensures that we default to enabling
142
+ * the proposed API.
143
+ * @author coder
144
+ */
145
+ return true
141
146
}
142
147
143
148
export function checkProposedApiEnabled ( extension : IExtensionDescription , proposal : ApiProposalName ) : void {
You can’t perform that action at this time.
0 commit comments