Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Anonymous ExecutorNew to Visual Studio Code? Get it now.
Anonymous Executor

Anonymous Executor

Jared Longnecker

|
858 installs
| (0) | Free
Runs anonymous apex code with automatic log filtering
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Anonymous Executer (AExec)

AExec is an extension used to easily run Anonymous Apex for Salesforce from VS Code. This extension requires the SFDX CLI and also must be run from an SFDX Project.

Features

Automated Setup

Run the AExec: Setup Anonymous Apex Files to easily set up all the necessary files for AExec to run. Files for AExec are created in the directory "aexec".

Run Anonymous Apex with Debug Filtering

Use the aexec-config.json to list additional keywords to filter based off of. AExec uses these keywords to build a regex to filter the debug log line by line. Run the AExec: Execute Anonymous Apex to run the Anonymous Apex found in anon.apex.

Requirements

The Salesforce SFDX CLI is required to be installed, as this extension makes use of commands from this library. The CLI can be found here: https://developer.salesforce.com/docs/atlas.en-us.234.0.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm

Additionally, in order to authenticate with your org, you must be running the extension from an SFDX Project that has been authorized with your org.

Known Issues

No known issues currently.

Release Notes

1.0.0

Initial release with the following features:

  • Command palette command to automatically setup the necessary extension files. Will not create more directories or files than necessary.
  • Customizable filtering options through the use of aexec-config.json
  • Command palette command to run Anonymous Apex and print a filtered debug log to log.txt

1.0.1

Bugfix

  • Fixed issue with incorrect folder creation.

1.0.2

Bugfix

  • Changed how files are references when using the shell depending on OS

1.0.3

Forgot to update the changelog

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft