sublimelsp / LSP-pyright

Python support for Sublime's LSP plugin provided through microsoft/pyright.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option to disable automatic triggering of the function help popup.

captain0xff opened this issue · comments

Is your feature request related to a problem? Please describe.
pyright shows the parameter help popup every time I write a opening bracket parenthesis after a function.
I don't need the parameter help of the functions I use regularly. But I need it sometimes.

Describe the solution you'd like
So... I want to have a option to disable the automatic triggering of the popup. But that option shouldn't permanently disable it. It should only disable the automatic triggering.

Additional context
OS: Windows 10
Text Editor: Sublime 4121
And yes I tried to set "show_definitions" from sublime settings to false but it has no effects.

You can add:

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

in LSP-pyright options.

You can add:

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

in LSP-pyright options.

But this is disabling it permanently. I also can't invoke it manually using ctrl-alt-space. I want to be able to invoke it manually. @rchl

I want to be able to invoke it manually.

This sounds like a LSP question then.

    "disabled_capabilities": {
        "signatureHelpProvider.triggerCharacters": true,
    },

Ohk thanks. Will try this. And is there any documentation for all the supported options. In the lsp-pyright settings the above mentioned options are not written anywhere.

Ohk thanks. Will try this. And is there any documentation for all the supported options. In the lsp-pyright settings the above mentioned options are not written anywhere.

it's not pyright's setting but lsp's.

Ohk thanks. Will try this. And is there any documentation for all the supported options. In the lsp-pyright settings the above mentioned options are not written anywhere.

it's not pyright's setting but lsp's.

Oh. The first one was lsp-pyright's. So I thought that it would also be for the same.

Oh. The first one was lsp-pyright's. So I thought that it would also be for the same.

None of them belongs to lsp-pyrght. all lsp but just apply to a specific server. lsp-pyright itself has no logic checking "signatureHelpProvider.triggerCharacters" or something similar.

I see. But can I get the list of available options from somewhere?