Closed shivan-mohan closed 1 year ago
Thank you for your feedback! This is a known issue and we are working on resolving it.
@shivan-mohan and @mingxuanzhangsfdx, I'm going to close this in preference of #1. Thank you for the very descriptive report!
When I submit a prompt to generate an Apex test method, I get an Apex class in response even when I am running the prompt from within an existing test class.
Repro Steps:
Navigate to an existing Apex test class file. Run the command from the Command Palette Input prompt like: create test method to mock callout Actual Response:
Expected Response: Response should not generate the class declaration if running within a class