python-lsp / python-lsp-server

Fork of the python-language-server project, maintained by the Spyder IDE team and the community
MIT License
1.95k stars 194 forks source link

Setting `include_params` to false still produces all parameters #563

Open alishobeiri opened 6 months ago

alishobeiri commented 6 months ago

Hi,

I am new to language servers so I very well could be making the mistake myself. However, when I pass the following settings to the language server:

{
        settings: {
            pylsp: {
                plugins: {
                    pylint: {
                        enabled: false,
                    },
                    pycodestyle: {
                        enabled: false,
                    },
                    jedi_completion: {
                        eager: true,
                        include_params: false,
                    },
                },
            },
        },
}

I still get the completions with all the parameters such as:

image

I have also tried hardcoding the parameters in pylsp.schama.json as part of the jupyter_lsp package and that also has not worked.

Do you have tips on what might be going wrong or what I might be able to do to fix it?