-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notification about missing python test suite on non-python projects #14840
Comments
We are going to treat this as a feature request to have the settings that enable features be treated more like hints instead of a signal that you specifically want something to be turned on. We have marked this issue as "needs decision" to make sure we have a conversation about your idea. We plan to leave this feature request open for at least a month to see how many 👍 votes the opening comment gets to help us make our decision. In the meantime, you can set |
Hmm... alright For now I'm using custom css to disable all popup notifications, as the situation of vscode and third party plugins that send annoying notifications is kind of out of control. I don't want to have vscode flashing notifications every time I open it just because the plugins don't want to be friendly with environments different from the ones they are configured for Thanks! |
Thanks for reporting this. It's happening for me as well and is incredibly annoying. |
Thanks for bringing this up, would it help if we added a "do not show again" button in this notification? FWIW the Python extension shouldn't be activating without a Python related file open, so if you are seeing this notification when you are not doing anything Python related, please let us know as it could be a different bug. |
@luabud it does happen with projects without python at all, as I showed on the initial message of this issue. I didn't have any and yep... personally, for me a permanent dismiss button would be enough tried again just to verify that still happens on the latest version and indeed... still there |
@aexvir Can you share the list of installed extensions? We know now that some extensions that use python some times activate it even when there is no python file in the project. Just do a |
sure thing Installed
|
Looks like this is caused by microsoft/vscode-jupyter#5193 |
Oh, nice catch, thanks for linking it 🙂️ although this will still mean popping up this notification when opening any python project... so the suggestion for only showing it once still sounds reasonable to me will there be a follow up issue to this one for adding the "do not show again" button then? |
Environment data
python.languageServer
setting: PylanceExpected behaviour
If I open a project that doesn't have any python file, I shouldn't be getting any annoying popup about pytest not being installed, as it's not relevant at all. Even for python project seems a bit annoying to get this toast notifications, but I believe this should be addressed at vs code level
Actual behaviour
Opening a project that doesn't have any python file results in a toast notification prompting to install pytest
Steps to reproduce:
"python.testing.pytestEnabled": true
settingLogs
Output for
Python
in theOutput
panelThe text was updated successfully, but these errors were encountered: