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
JupyterLab 4.1 introduced extensionFactory (#14920) to enable adapter-aware code editor extensions; it works fine for notebooks but not at all in file editors. This is because it is instantiated by EditorAdapter which is created when an editor (e.g. cell) gets added to a widget adapter:
Description
JupyterLab 4.1 introduced
extensionFactory
(#14920) to enable adapter-aware code editor extensions; it works fine for notebooks but not at all in file editors. This is because it is instantiated byEditorAdapter
which is created when an editor (e.g. cell) gets added to a widget adapter:jupyterlab/packages/lsp/src/adapters/adapter.ts
Lines 620 to 631 in 2d68127
While notebook adapter correctly emits this signal when new cells get added:
jupyterlab/packages/notebook/src/notebooklspadapter.ts
Lines 468 to 470 in 2d68127
It is never emitted from file adapter
jupyterlab/packages/fileeditor/src/fileeditorlspadapter.ts
Line 25 in 2d68127
Expected behavior
Editor extensions registered on LSP manager using
widgetFactory
in file editor too.Context
The text was updated successfully, but these errors were encountered: