jupyterlab-lsp
jupyterlab-lsp copied to clipboard
Highlight references only in selected cell
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!
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.