You need to sign in to do that
Don't have an account?
Maneesh Prakash 8
why cant I see the command SFDX: Execute SOQL Query with Currently Selected Text in vsode?
I can run commands from terminal such as "FDX force:data:query -q "SELECT Id FROM Account" and from the query builder but can seem to run from the .soql script tab. From command pallette I cannot see the command "SFDX: Execute SOQL Query with Currently Selected Text "
When I click on the output tab and select SOQL extension I get the "INFO: No default org found. Set a default org to use SOQL Builder. Run "SFDX: Create a Default Scratch Org" or "SFDX: Authorize an Org" to set one." and "SFDX: Authorize an Org" is not available as a command.
I want to be able to execute SOQL queries.
When I click on the output tab and select SOQL extension I get the "INFO: No default org found. Set a default org to use SOQL Builder. Run "SFDX: Create a Default Scratch Org" or "SFDX: Authorize an Org" to set one." and "SFDX: Authorize an Org" is not available as a command.
I want to be able to execute SOQL queries.
> Make sure you are authenticated into your default org. You can’t use SOQL Builder if authentication to the default org has expired.
> In VS Code, open a Salesforce DX project.
> Authorize the org whose objects you want to query.
And in regards to Authorize an Org command not available, do you have project created in VSCode first? See related: https://salesforce.stackexchange.com/questions/242581/no-option-for-sfdxauthorize-an-org-command-in-vs-code-command-palette
If this information helps, please mark the answer as best. Thank you