You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Native JupyterLab plugins can be disabled by extensions using jupyterlab.disabledExtensions key in package.json . However, if an extension is composed of multiple plugins and a plugin X (which replaces the native plugin Y) gets disabled there is not easy way to re-enable the native plugin Y (an extension author must then create another plugin Z which checks if X is disabled and if it is then replicate the behaviour of native Y).
Proposed Solution
We could have allow objects within disabledExtensions:
{"jupyterlab": {"disabledExtensions": [// short form"@org/core-extension:plugin-a",// proposed long form{"disable": "@org/core-extension:plugin-b","ifEnabled": "@org/external-extension:plugin-a"}]}}
Problem
Native JupyterLab plugins can be disabled by extensions using
jupyterlab.disabledExtensions
key in package.json . However, if an extension is composed of multiple plugins and a plugin X (which replaces the native plugin Y) gets disabled there is not easy way to re-enable the native plugin Y (an extension author must then create another plugin Z which checks if X is disabled and if it is then replicate the behaviour of native Y).Proposed Solution
We could have allow objects within
disabledExtensions
:or we could add a new dedicated stanza:
Additional context
This affected jupyterlab-lsp as reported in #15649
The text was updated successfully, but these errors were encountered: