Spoon Consulting - Salesforce Development Extension for VSCode
Overview
This VSCode extension, developed by Spoon Consulting's CEX department, is tailored for Salesforce developers. It streamlines the creation of Apex classes and triggers by adhering to Spoon Consulting's standardized templates. This tool aims to enhance productivity and maintain consistency across different teams working on Salesforce development.
Features
- SPOON: Create Apex Basic: Generates a basic structure for an Apex class following Spoon Consulting's predefined template.
- SPOON: Create Apex Batch: Facilitates the creation of Apex batch classes, aligning with Spoon Consulting's development standards.
- SPOON: Create Apex Trigger: Facilitates the creation of Apex trigger, aligning with Spoon Consulting's development standards.
- SPOON: Create Apex Trigger And Handler: Facilitates the creation of Apex trigger and its respective handler, aligning with Spoon Consulting's development standards.
- SPOON: Create Apex Schedulable: Facilitates the creation of Apex Schedulable classes, aligning with Spoon Consulting's development standards.
- SPOON: Create Apex Queueable: Facilitates the creation of Apex Queueable classes, aligning with Spoon Consulting's development standards.
- SPOON: Create Apex Test Class: Facilitates the creation of Apex Test Class, aligning with Spoon Consulting's development standards.
- SPOON: Create Apex Test Data Factory: Facilitates the creation of Apex Test Data Factory, aligning with Spoon Consulting's development standards.
- Code Snippets: A rich set of snippets for faster development, allowing developers to quickly insert common code patterns and structures.
- SpoonFeedGPT: Generate Code: An AI that generates code for the query entered and query highlighted.
- SpoonFeedGPT: Ask SpoonFeedGPT: An AI that generates code for the query entered and display the generated code on the sidebar.
- SpoonFeedGPT: Explain selection: An AI that explain the highlighted code and display the explanation on the sidebar.
- SpoonFeedGPT: Refactor selection: An AI that refactor the highlighted code and display the refactored code on the sidebar.
- SpoonFeedGPT: Find problems: An AI that find the problems on the highlighted code and display the corrected code on the sidebar.
- SpoonFeedGPT: Optimize selection: An AI that optimize the highlighted code and display the optimized code on the sidebar.
- SpoonFeedGPT: Write documentation: An AI that document the highlighted code and display the documentation on the sidebar.
- Reset OpenAI API session: Reset the openAI API session.
Upcoming Features
We are continuously working to expand the capabilities of this extension. Future updates will introduce more features to further aid Salesforce development at Spoon Consulting.
Installation
Search for Spoon CEX Extension Pack on your VSCode
https://marketplace.visualstudio.com/items?itemName=spoonconsulting.spoon-cex-extension-pack
Usage
New File Generator
SPOON: Create Apex Basic
This command will generate a new Apex class.
CTRL + SHIFT + P
and Spoon: Create Apex Basic
SPOON: Create Apex Batch
This command will generate a new Batch class.
CTRL + SHIFT + P
and Spoon: Create Apex Batch
SPOON: Create Apex Trigger
This command will generate a new trigger.
CTRL + SHIFT + P
and Spoon: Create Apex Trigger
SPOON: Create Apex Trigger And Handler
This command will generate a new trigger and its respective handler.
CTRL + SHIFT + P
and Spoon: Create Apex Trigger and Handler
SPOON: Create Apex Schedulable
This command will generate a new Apex Schedulable class.
CTRL + SHIFT + P
and Spoon: Create Apex Schedulable
SPOON: Create Apex Queueable
This command will generate a new Apex Queueable class.
CTRL + SHIFT + P
and Spoon: Create Apex Queueable
SPOON: Create Apex Test Class
This command will generate a new Apex Test class.
CTRL + SHIFT + P
and Spoon: Create Apex Test Class
SPOON: Create Apex Test Data Factory
This command will generate a new Apex Test Data Factory class.
CTRL + SHIFT + P
and Spoon: Create Apex Test Data Factory
AI Generator
SpoonFeedGPT: Generate Code
This command will generate the code for the query entered or query highlighted.
CTRL + SHIFT + P
and SpoonFeedGPT: Generate Code or Highlight + Right Click
and SpoonFeedGPT: Generate Code
SpoonFeedGPT: Ask SpoonFeedGPT
This command will generate the code for the query entered and display the generated code on the sidebar.
Highlight + Right Click
and SpoonFeedGPT: Ask SpoonFeedGPT
SpoonFeedGPT: Explain selection
This command will explain the highlighted code and display the explanation on the sidebar.
Highlight + Right Click
and SpoonFeedGPT: Explain selection
SpoonFeedGPT: Refactor selection
This command will refactor the highlighted code and display the refactored code on the sidebar.
Highlight + Right Click
and SpoonFeedGPT: Refactor selection
SpoonFeedGPT: Find problems
This command will find the problems on the highlighted code and display the corrected code on the sidebar.
Highlight + Right Click
and SpoonFeedGPT: Find problems
SpoonFeedGPT: Optimize selection
This command will optimize the highlighted code and display the optimized code on the sidebar.
Highlight + Right Click
and SpoonFeedGPT: Optimize selection
SpoonFeedGPT: Write documentation
This command will document the highlighted code and display the documentation on the sidebar.
Highlight + Right Click
and SpoonFeedGPT: Write documentation
Reset OpenAI API session
This command will reset the openAI API Session
Highlight + Right Click
and Reset OpenAI API session
Snippets
Start typing http
on your Apex class, you should be prompted to insert a piece of code on HTTP Callout in Salesforce Apex.
Start typing test
on your Apex Test class, you should be prompted to insert a piece of code on Test class in Salesforce Apex.
Start typing Messaging
on your Apex class, you should be prompted to insert a piece of code on Messaging class in Salesforce Apex.
Contributing
We welcome contributions from the Spoon Consulting team. If you have suggestions or improvements, please submit a pull request or open an issue.
Support
For support, please contact Kevan Moothien.
License
[License Information]