Skip to content
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

typing mode status bar item doesn't get updated as pyrightconfig/pyproject file get updated. #6500

Open
heejaechang opened this issue Sep 30, 2024 · 0 comments
Assignees
Labels
needs repro Issue has not been reproduced yet

Comments

@heejaechang
Copy link
Contributor

heejaechang commented Sep 30, 2024

Environment data

  • Pylance version: 2024.9.102

Code Snippet

{
    "typeCheckingMode": "off"
}

Repro Steps

  1. open a folder with pyrightconfig.json with the content above
  2. check python status bar item
  3. Image
  4. flip typeCheckingMode between off to basic manually in pyrightconfig.json file and save it.
  5. check the type checking mode in the status bar and make sure it reflects changes correctly

Expected behavior

status bar item updated as pyrightconfig.json file changes as it does for setting.json

Actual behavior

it only get updated if windows is reloaded. especially since, unlike settings.json case, it opens pyrightconfig.json and ask users to manually change type checking mode and then changes doesn't get reflected.

@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs repro Issue has not been reproduced yet
Projects
None yet
Development

No branches or pull requests

2 participants