Context that shows/hides commands is not refreshed when switching orgs
See original GitHub issueSummary
The context set for deploy/retrieve commands is not being refreshed when a user moves between different org types or creates a new scratch org on a new project. This is causing users not being able to access commands like SFDX: Push Source to Default Scratch Org
, SFDX: Deploy Source in Manifest to Org
, etc.
Steps To Reproduce:
- Create a new project
SFDX : Create Project with Manifest
- Create a scratch org
SFDX: Create a Default Scratch Org
- Create valid apex code
SFDX: Create Apex Class
- Try and deploy the new code to the newly create scratch org by opening the command palette and looking for
SFDX: Push Source to Default Scratch Org
Expected result
I see the push command on the command palette and I’m able to push code to the scratch org.
Actual result
Context is not updated and commands remain hidden to the user. The user needs to reload the vscode window in order for the commands to show.
Salesforce VS Code Extensions Version: 45.6.0 and above VS Code Version: 1.32.3 SFDX CLI Version: 6.56.0-e3fd846a1f OS and version: Mac OS High Sierra
Issue Analytics
- State:
- Created 4 years ago
- Comments:32 (6 by maintainers)
Top Results From Across the Web
No new messages in desktop client after switching organisation
Hello, we have the following problem: Using Windows Desktop Client and we have user which are switchting with this client between own and ......
Read more >1647654 - Show keyboard shortcuts on recipient pill(s) context menu
Open Bug 1647654 Opened 2 years ago Updated 2 years ago ... shortcuts in context menu or not (e.g. pref toggles attribute, CSS...
Read more >SAP BI 4.3 SP2: What's New In Web Intelligence and ...
When a document refresh is taking long and the Query Panel is not open, you can switch to another document by returning to...
Read more >flexAnalysis 3.4 User Manual
Bruker Daltonik GmbH is not liable for errors contained herein or for ... This command is used to change the color of one...
Read more >Plastic SCM version control · GUI guide
(The context menu does not appear at all in this case.) If a context-menu command has a keyboard equivalent ("accelerator"), it is listed...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Patlatus you can ignore that error about
en-us
but the error above that one tells me you did not configure Java for the apex extension (unrelated to the commands & context issue in this thread). You can get that fixed by following the instructions in Set Your Java Version.Also, in the bottom-right corner I see you have 2 unread notifications (click the bell icon and you’ll be able to see them). Can you tell me what those are for ?
Btw, VSCode’s Dev Tools is not something you install, it comes as part of normal VSCode. This is similar to your browser’s Dev Tools since VSCode is just an app that runs on top of a chromium browser (Electron).
Hi @saramorgan - Thanks for reaching out. Can you please open a new issue with the details of what you’re seeing so we can investigate? I assure you we still have plenty of love for Aura!
(btw, we often don’t see comments on closed issues, so a new issue is best to ensure it’s seen.)