❮
1
2
3
4
5
of 4
❯
Salesforce Query Editor
Free
Visual Studio Code Extension
2,198
Views
This extension brings the same functionality available in the Query Editor Tab in the Salesforce Developer Console to VS Code.
Additional Information
Developer:
Allan Oricil
This extension brings the same functionality available in the Query Editor in the Salesforce Developer Console to VS Code.
Features
- [x] SOQL Builder.
- [x] Execute SOQL Queries.
- [x] Get SOQL Query Plans.
- [x] Update, Create and Delete Records.
- [x] Add Relationship Fields.
- [x] Add Child-Parent Relationship Fields.
- [x] Works with any VS Code Theme.
- [x] Works side by side with your Apex Class.
- [x] Access to Field Details, such as Name, Label, Required, Updateable, Groupable and more.
- [x] Compact to not take away the space you have available while writing code.
- [x] Works with Gitpod - https://www.gitpod.io/
Requirements
- sfdx-cli/7.93.1-762bca056d
- VS Code >= 1.57.0 IT DOES NOT WORK ON 1.56.0
- MUST BE USED WITH A SFDX PROJECT
- YOU MUST NOT HAVE ANYTHING RUNNING ON PORT 5000
How to Use
IMPORTANT Set a "defaultusername" before opening the extension. IMPORTANT
How to open the Salesforce Query Editor
There are three ways to open the editor.
Using the File Explorer Context
In the file explorer, click with the right button on any Apex class to see the option SFDX: Salesforce Query Editor in the Menu.
Using the Editor Context
Open an Apex class and click with the right button anywhere in the editor context to see the option SFDX: Salesforce Query Editor in the Menu.
Using the Editor Navigation Context
Open an Apex class and click on the button shown in the image below. This button only appears when editing Apex classes.
How to add a query, or update it, in the Apex Class without copy and paste
- Open an Apex Class
- Open the Salesforce Query editor extension
- Create/Write your query
- Click anywhere in the Apex class to set the cursor/anchor where you want to place the query.
- If the cursor/anchor is anywhere inside a soql query (inside the
[]), theUpdate Apexbutton appears. Use it to quickly update queries without having to copy and paste. - If the cursor/anchor is anywhere else in the class, the
Add to Apexbutton appears. Use it to quickly place new queries, for instance, in for loops.
How to perform CRUD Operations
- Query an Id field and at least one
updateablefield to show a table in edit mode and the delete button. - Every table cell is in edit mode by default when you query the Id and one
updateablefield. - If you want to discard all of your changes for a record, click on the
cancelbutton or click anywhere in that row and then pressESCkey. - If you want to discard all changes of every record, click on the
cancelbutton that is on the top right corner of the table. - To create a new record click on the
New Recordbutton that is on the top right corner of the table. - If all the changes you did for that record are saved without any errors, the record changes back to read mode and the
cancelbutton vanishes. If the changes are not accepted by Salesforce, a modal appears with detailed information about what went wrong, and the record stays on edit state. You can choose to fix the errors or cancel the changes.
Tagged:
Salesforce Products, Salesforce App, Salesforce Tools, Salesforce Marketplace, Salesforce AppExchange, Salesforce Best practices, Salesforce Dashboard, Salesforce Platform, Cloud Applications, Trailblazer Community, Use of Salesforce, SFDX, Query Editor, Salesforce Developer Console, SOQL Builder, Apex Class
×
❮
1
2
3
4
5
of 4
❯
Popular Salesforce Apps and Tools
-
FuseKit® is a cloud-based toolkit that saves you hours on Salesforce configuration, development, deployments, and data migrations.RestrictedTool1,652 Views
-
Use the Salesforce Input tool to query your tables from Salesforce.com and read them into Designer.FreeTool1,672 Views
-
Powerful Salesforce developer tools, includes Query Editor, Fields definition, ERDs, Page Layout, and others.FreeChrome Extension1,233 Views

