python.languageServer setting: PylanceOnly prompt once, the first time I open the workspace.
Every time I open the same workspace containing a .pylintrc file I get the prompt
"You have a pylintrc file in your workspace. Do you want to enable pylint?"
I have a multi-root workspace. Both roots have "python.linting.pylintEnabled": true in their _.vscode/settings.json_ files.
Hi @tekumara 馃憢
Every time I open the same workspace containing a .pylintrc file I get the prompt
Do you get this regardless of what selection button you choose? And do we keep showing this prompt even if you already enabled pylint?
@tekumara I can confirm that if you click Not now, we keep showing the prompt. But if you select the button Enable pylint, you shouldn't be seeing the prompt for the workspace root next time.
i.e we show this prompt only once for each workspace root in a workspace, unless you keep selecting the Not now button.
I click Enable pylint and keep seeing the prompt every time.
Unfortunately, I am not able to reproduce this behavior. Not sure what might be going on - if this is bothering you too much you can always click the Do not show again button.
I have a multi-root workspace. Both roots have "python.linting.pylintEnabled": true in their .vscode/settings.json files.
In theory, if the setting python.linting.pylintEnabled is explicitly set in any of user, workspace or workspace folder settings, we do not show the prompt.
Do you also see this behavior if you open a folder directly using File -> Open folder...?
Try putting python.linting.pylintEnabled in the User settings, and let me know if you see the prompt.
python.linting.pylintEnabled is checked in User settings but I still see the prompt.
It doesn't happen when I use File -> Open Folder...
If it helps, in the code-workspace file I have:
{"folders": [
{
"path": "."
},
{
"path": "../../.aec"
}
], "settings": {"python.formatting.provider": "black"}}
@tekumara I see where the confusion is, allow me clear this up.
Open the JSON file where it's actually stored. You can use the command Open Settings (JSON). Even though python.linting.pylintEnabled is checked in the UI, you'll notice that "python.linting.pylintEnabled": true entry doesn't exist in the JSON file, i.e it's not explicitly set.
Please add "python.linting.pylintEnabled": true in that JSON file, after which you should stop receiving the prompt.
Thanks @karrtikr! I directly modified settings.json and now I no longer get the prompt 馃帀