Skip to content

Align Python UI visibility with extension activation - #2015

Open
Stella Huang (StellaHuang95) wants to merge 2 commits into
microsoft:mainfrom
StellaHuang95:stellahuang-microsoft-issue-1892-python-views-and-commands-hidden-unless-8966fd
Open

Stella Huang (StellaHuang95) wants to merge 2 commits into
microsoft:mainfrom
StellaHuang95:stellahuang-microsoft-issue-1892-python-views-and-commands-hidden-unless-8966fd

Conversation

@StellaHuang95

Copy link
Copy Markdown
Contributor

Summary

  • publish an activation-owned context key for whether the environments extension is enabled
  • use that context consistently for Python view and command contribution visibility
  • preserve explicit false behavior while allowing the unset/default-enabled path

Validation

  • npm run lint
  • npm run compile-tests
  • npm run unittest (3,533 passing, 9 pending)
  • npm run compile
  • manually verified unset/default visibility and explicit-false behavior after reload and cold launch

Fixes #1892

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@StellaHuang95 Stella Huang (StellaHuang95) added bug Issue identified by VS Code Team member as probable bug skip package*.json labels Nov 12, 2026
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@rchiodo

Rich Chiodo (rchiodo) commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

🔒 Automated review in progress — Rich Chiodo (@rchiodo) is auto-reviewing this PR.

@rchiodo

Copy link
Copy Markdown
Contributor

Reviewed commit: 33617c32a25ae62eedd59ef4137b9f4fd997ea98

Result: 🔴 could-not-verify

Verification details

Verification: Automated verification is best effort. The PR author remains responsible for testing.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Podman machine &#x27;pyrx-automation&#x27; is not running.

Test runs: none recorded.

@rchiodo Rich Chiodo (rchiodo) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved via Review Center.

@rchiodo Rich Chiodo (rchiodo) added the review-auto:approved Automated review: no blocking findings (approval posted). label Nov 12, 2026

@bschnurr Bill Schnurr (bschnurr) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved via Review Center.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue identified by VS Code Team member as probable bug review-auto:approved Automated review: no blocking findings (approval posted). skip package*.json

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python views and commands hidden unless useEnvironmentsExtension is true

3 participants