salesforcedx-vscode icon indicating copy to clipboard operation
salesforcedx-vscode copied to clipboard

Run Query Option Above SOQL Queries with Results in SOQL Builder Table View

Open rlancejohnson opened this issue 9 months ago • 2 comments

Is your feature request related to a problem? Please describe.

  • I have to always toggle from the Text Editor to the SOQL Builder just to run the query.
  • I have to highlight a long query in an apex method to get a sample of it's output.
  • Queries with more than a few columns render terribly in the terminal.

Describe the solution you'd like As a developer, I want the ability to run a query with a simple Run Query option that hovers above the query (similar to the Run Test option above @isTest methods) from any file with a .tgr, .cls, .apex, or .soql extension with the results opened in the table view of the SOQL Query Builder, so that I can easily understand the results of the query and run queries more easily on the fly. This would be a significant improvement over the Execute SOQL Query with Currently Selected Text cli command.

Describe alternatives you've considered The Execute SOQL Query with Currently Selected Text cli command is currently available, but terribly inconvenient and isn't available with the new table view of the SOQL Query Builder.

Additional context The Run Test option for @isTest apex methods Screenshot 2024-05-31 at 7 02 35 PM

The Execute Apex option for anonymous apex files Screenshot 2024-05-31 at 7 19 23 PM

rlancejohnson avatar Jun 01 '24 01:06 rlancejohnson