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

How to load the "help" information?

Open hellojinwoo opened this issue 2 years ago • 2 comments

image

Sometime when I type coding, the help information, which is shown above, randomly appears. How can I load that information when I want to? Which key do I need to use, in order to load the information like the one above?

hellojinwoo avatar Jan 05 '22 16:01 hellojinwoo

This triggers on a set of keys pre-defined by the server, so it will differ by language and between servers; for pylsp/jedi-ls/pyright it includes ( and , keys among others; it remains open as long as the server decides it should be open (based on your cursor position).

krassowski avatar Jan 05 '22 16:01 krassowski

This triggers on a set of keys pre-defined by the server, so it will differ by language and between servers; for pylsp/jedi-ls/pyright it includes ( and , keys among others; it remains open as long as the server decides it should be open (based on your cursor position).

Can you tell me how to decrease the latency for the documentation information to appear, if we have something like that? Sometimes it appears fast and sometimes slow. So I am curious to know if we have a latency control in the advanced settings or something?

hellojinwoo avatar Jan 05 '22 16:01 hellojinwoo

There is no forced latency (no debouncer or throttler) on signature feature, so I'm afraid the slowness is on the server side. If there is a performance bottleneck which can be narrowed down to a specific scenario and persists when using different servers, please provide reproduction instructions so that we can fix it.

Also, some general performance improvements to diagnostics and highlights were just added in https://github.com/jupyter-lsp/jupyterlab-lsp/pull/847 (and performance of diagnostics and highlights might have been impacting signature display if these features were active at the same time in certain scenarios).

krassowski avatar Sep 03 '22 11:09 krassowski