function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Maneesh Prakash 8Maneesh 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. 
Khakan IspakhevKhakan Ispakhev
You need to install salesforce CLI full package with SFDX module
SwethaSwetha (Salesforce Developers) 
Looks like you need to reauthorize the org as mentioned in https://developer.salesforce.com/tools/vscode/en/soql/soql-builder

> 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