Skip to content

let user turn off "Activate tooltip on ctrl" #1115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
janxkoci opened this issue Feb 10, 2025 · 4 comments
Open

let user turn off "Activate tooltip on ctrl" #1115

janxkoci opened this issue Feb 10, 2025 · 4 comments

Comments

@janxkoci
Copy link

Description

Let the user turn off the setting that makes tooltips appear whenever the user presses CTRL. I literally uninstalled LSP just to get rid of the tooltips jumping in my face whenever I pressed CTRL. I press that key a lot for many reasons, including to switch browser tabs, or copy-paste things. I'm used to get tooltips with TAB and friends (e.g. Shift+TAB for help viewer) - in other words, I want the help appear only when I ask for it, not all the time. I've seen in another issue that even hovering can trigger tooltips - add that also to the settings as a toggle please (I did not see it triggered for me during my tests today).

Reproduce

  1. Have some code in a code cell.
  2. Click on some function or object.
  3. Press CTRL.
  4. See tooltip appearing.

Expected behavior

I'd like to be able to turn off tooltips showing up when I don't need them, such as after pressing CTRL, or on hover.

Context

  • Operating System and version: Manjaro Linux (latest)
  • Browser and version: Firefox 135.0
  • JupyterLab version: 4.3.5
  • Language server and version:
    • jupyter-lsp = 2.2.5
    • r-languageserver = 0.3.16
Required: installed server extensions
Config dir: /home/jena/.jupyter

Config dir: /home/jena/miniforge3/envs/slendr/etc/jupyter
jupyter_lsp enabled
- Validating jupyter_lsp...
jupyter_lsp 2.2.5 OK
jupyter_server_terminals enabled
- Validating jupyter_server_terminals...
jupyter_server_terminals 0.5.3 OK
jupyterlab enabled
- Validating jupyterlab...
jupyterlab 4.3.5 OK
notebook_shim enabled
- Validating notebook_shim...
notebook_shim OK

Config dir: /usr/local/etc/jupyter

Required: installed lab extensions
JupyterLab v4.3.5
/home/jena/miniforge3/envs/slendr/share/jupyter/labextensions
        catppuccin_jupyterlab v0.2.3 enabled OK (python, catppuccin_jupyterlab)
        jupyterlab_pygments v0.3.0 enabled OK (python, jupyterlab_pygments)

/usr/share/jupyter/labextensions
@jupyter-lsp/jupyterlab-lsp v5.1.0 enabled OK (python, jupyterlab-lsp)
@jupyter-widgets/jupyterlab-manager v5.0.13 enabled OK (python, jupyterlab_widgets)

Disabled extensions:
@jupyterlab/completer-extension:base-service
@jupyterlab/fileeditor-extension:language-server
@jupyterlab/lsp-extension:settings
@jupyterlab/notebook-extension:language-server

Note: I already uninstalled r-languageserver, so my LSP is no longer active. I used mamba to install jupyterlab from the conda-forge channel.

@krassowski
Copy link
Member

I literally uninstalled LSP just to get rid of the tooltips jumping in my face whenever I pressed CTRL

@janxkoci did you try adjusting the settings?

Image

@krassowski
Copy link
Member

Unless I misunderstood, but I believe user can change modifier key, or disable this altogether as on the screenshot above. Did I misunderstand?

@janxkoci
Copy link
Author

Well, I did not find this setting before (it does not turn up when I search for "lsp") - I assumed all settings for LSP are under "Language servers" 🤷‍♂️

@krassowski
Copy link
Member

That's a good point, this extension contributes several plugins each with its own settings - on top of language-server specific settings - and it would be good to somehow group them together or link from a single place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants