Stream: jupyterlab-hub

Topic: Turn off hints


view this post on Zulip Isla Simpson (May 12 2022 at 16:07):

Hi everyone,

Sorry for this basic question but I've been trying to solve this for a while by messing around with settings and looking on the internet. I want to turn off the hints which have somehow recently appeared in my jupyter notebooks on jupyter hub. They weren't there before and I find them really annoying. I've pasted in a figure of the kind of thing I want to turn off below. Does anyone know how to disable this feature? Thanks in advance.

Screenshot-at-2022-05-12-10-01-11.png

view this post on Zulip Isla Simpson (May 12 2022 at 16:08):

I will add, that when I look on Settings --> Code Completion, continuous hinting is unchecked.

view this post on Zulip Matt Long (May 12 2022 at 21:03):

I am not sure how to fix this issue, but suspect that @Jared Baker knows which jupyterlab extension is providing the service; perhaps knowing the name of the extension will enable identifying the documentation.

view this post on Zulip Jared Baker (May 12 2022 at 21:35):

Might be the LSP server that we had a request to install a few weeks ago.

view this post on Zulip Matt Long (May 12 2022 at 22:22):

This one: https://github.com/jupyter-lsp/jupyterlab-lsp ?

view this post on Zulip Matt Long (May 12 2022 at 22:23):

@Isla Simpson, this section of the README might meet your needs:
https://github.com/jupyter-lsp/jupyterlab-lsp#configuring-the-servers

view this post on Zulip Isla Simpson (May 12 2022 at 22:26):

Thanks. Yes, I found that and then found this... You can deactivate the kernel suggestions by adding "Kernel" to the disableCompletionsFrom in the completion section of Advanced Settings. Alternatively if you only want kernel completions you can add "LSP" to the same setting; Or add both if you like to code in hardcore mode and get no completions, or if another provider has been added.

When I look in my settings it seems like I have both Kernel and LSP in the "disableCompletionsFrom", so what they suggest there doesn't seem to be helping me. Below is what I have in my settings, so it looks like these are set to me. Perhaps I will log out of jupyterhub and back in. See if it takes effect.

Screenshot-at-2022-05-12-16-24-48.png

view this post on Zulip Isla Simpson (May 12 2022 at 22:32):

This hasn't solved this yet. I must be looking at the wrong thing. It's not code completion, it's just giving me all this information that's blocking me from seeing the other parts of my code that I want to see.

view this post on Zulip Matt Long (May 12 2022 at 22:32):

type faster?

view this post on Zulip Isla Simpson (May 12 2022 at 22:34):

haha, that is not a viable solution. But I've fixed it now. I disabled the code hover. Thanks for your help!

view this post on Zulip Matt Long (May 12 2022 at 22:35):

great! glad it works

view this post on Zulip Isla Simpson (May 13 2022 at 14:42):

I was mistaken. It is back today. Arghh. There are so many settings and I feel like I've switched off all the relevant things. If anyone has any thoughts on where the relevant setting might be, I'd be glad to hear.

view this post on Zulip Matt Long (May 13 2022 at 14:49):

there's got to be a way to configure this. @Anderson Banihirwe, do you have any suggestions?

view this post on Zulip Brian Medeiros (May 13 2022 at 15:20):

I feel like this has something to do with the language server protocol, i.e., the jupyterlab-lsp extension. But I haven't been able to get the documentation hints to stop appearing.

view this post on Zulip Matt Long (May 13 2022 at 15:45):

pretty sure you're right

view this post on Zulip Brian Medeiros (May 13 2022 at 15:49):

Possible solution:
Modify settings for Code Signature extension: {"disable": true}

view this post on Zulip Isla Simpson (May 13 2022 at 16:16):

Thanks. I think this might have solved it. At least it hasn't started happening again yet after I restarted my session.


Last updated: May 16 2025 at 17:14 UTC