salesforcedx-vscode: The Salesforce Apex plugin in VSCode & Cursor sometimes fails to work properly.
Summary
I saved a file with the suffix “.apex” in VSCode & Cursor, and then executed the command “SFDX: Execute Anonymous Apex with Currently Selected Text” for this text. However, there was no output in the output console, and there were neither the “Execute” nor “Debug” buttons in the code.
Steps To Reproduce:
- Create a file with the suffix “.apex” and save it. Then input
System.debug('123');and save. - Select this part of the code and output it in the quick command
SFDX: Execute Anonymous Apex with Currently Selected Textpress Enter.
Expected result
You can observe the relevant output of 123 in the output console.
Actual result
Nothing
Additional information
Salesforce Extension Version in VS Code: 63.6.0
Salesforce CLI Version: @salesforce/cli/2.42.6 darwin-arm64 node-v18.18.
OS and version: Version 24H2 (Internal OS Version 26100.3194)
VS Code version: 1.98.2
Most recent version of the extensions where this was working: 63.6.0
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 19 (8 by maintainers)
What is lacking??