jupyterlab-lsp icon indicating copy to clipboard operation
jupyterlab-lsp copied to clipboard

Highlight references only in selected cell

Open hgrosselindemann opened this issue 1 year ago • 1 comments

Hello, I was wondering if it is possible to configure reference highlighting to only appear in selected cell and not in entire notebook. My notebook is quite large so it leads to some lagging when it searches in the entire notebook. Would be great to have this option and thanks in advance!

hgrosselindemann avatar Mar 29 '23 01:03 hgrosselindemann

This could be an opt-in behaviour indeed, but it is more likely that any lags will be just fixed as we migrate to JupyterLab 4 which uses windowed notebook (only cells in view are rendered) and CodeMirror 6 (faster version of code editor, currently we use CodeMirror 5). Any slowness due to how long it takes to compute the highlight ranges would still need to be dealt with in the individual language servers.

krassowski avatar Apr 16 '23 14:04 krassowski