mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 09:08:53 +01:00
extract notebook controller kind into its own proposal, https://github.com/microsoft/vscode/issues/131165
This commit is contained in:
@@ -167,11 +167,11 @@ export class ExtHostNotebookKernels implements ExtHostNotebookKernelsShape {
|
||||
_update();
|
||||
},
|
||||
get kind() {
|
||||
checkProposedApiEnabled(extension);
|
||||
checkProposedApiEnabled(extension, 'notebookControllerKind');
|
||||
return data.kind ?? '';
|
||||
},
|
||||
set kind(value) {
|
||||
checkProposedApiEnabled(extension);
|
||||
checkProposedApiEnabled(extension, 'notebookControllerKind');
|
||||
data.kind = value;
|
||||
_update();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user