Sublime Forum

Disable LSP as-you-type documentation

#1

I have LSP turned on for several languages, and on the whole it’s great. But one thing that really gets in my way is the super verbose documentation which shows up as you type, and obscures most of the rest of the file. Example:

What is this called, and how do I turn it off? I tried adding "show_inlay_hints": false to LSP.sublime-settings, but the inline docs are still showing up. I may be OK to see the docs when I hover my mouse over a function… although, it would be nice to know how to toggle that setting as well so I can try both.

0 Likes

#2

This feature is called “signature help”. You can disable it with

{
    "disabled_capabilities": {
        "signatureHelpProvider": true
    }
}

in the settings for the server that you use (for example in LSP-pyright.sublime-settings if you use the Pyright helper package).

1 Like

#3

That seems to have worked. Thanks very much! For anyone looking for more info on this, here are the docs, including a link to the MS LSP documentation which lists other features which you can disable if desired.

0 Likes