You can enable auto-scan to have Veracode Greenlight automatically scan any file that is in focus in your IDE as soon a you save it, as long as the file compiles successfully.
You can use the auto-scan feature only if a network connection is available. Otherwise, Veracode for VS Code logs an information message that the feature is disabled.
You can use the Veracode for VS Code auto-scan feature to automate security scanning. Scans that you start manually take precedence over auto-scans.
When a scan is in progress, Veracode for VS Code adds files to a queue in the order that you save them. A new auto-scan never starts while another scan, whether it is an auto-scan or one that you manually started, is already running.