VS Code Quick Start¶
Use this guide when developers need workspace scans, Problems diagnostics, report history, comparison, and navigation from findings to source.
1. Confirm the deployment requirements¶
Have the VSIX release artifact and an issued postq.lic available. This deployment requires
Visual Studio Code, Java, and OpenGrep.
2. Install prerequisites¶
Use your organization's approved software distribution process, or install from the publisher resources:
Then run the supplied pre-install check:
.\postq-code-scanner-preinstall-check.ps1 -Profile vscode
bash ./postq-code-scanner-preinstall-check.sh --profile vscode
IDE discovery is advisory. Confirm the extension is installed even when the checker can find the VS Code launcher.
For platform notes and supported versions, see Prerequisites.
3. Install the extension¶
- Open Extensions in VS Code.
- Select the Extensions menu, then Install from VSIX....
- Choose
postq-code-scanner-vscode-<version>.vsix. - Reload VS Code when prompted.
4. Activate the license¶
- Open the PostQ Crypto Readiness Activity Bar view.
- Expand License.
- Select Activate License From File.
- Choose the issued
postq.licfile. - Confirm that the License view reports a valid status.
5. Scan a workspace¶
- Download and extract the Java Quick Start project, or choose a representative repository.
- Open the extracted
postq-java-quickstartdirectory as a VS Code workspace. - Open the Command Palette.
- Run PostQ Crypto Readiness: Scan Workspace Folder.
- Choose a fresh scan when prompted.
- Keep the PostQ Scanner terminal open until the scan completes.
If OpenGrep is outside PATH, set postqCryptoReadiness.scanner.openGrepPath before scanning. If Java is outside
PATH, set postqCryptoReadiness.scanner.javaPath before scanning.
6. Review the result¶
- Expand Reports in the PostQ Activity Bar view.
- Open the newest completed scan.
- Review Assessment, Crypto Functions, and Operation Groups.
- Select a finding to navigate to its source when the file remains in the workspace.
Reports are stored below:
<workspace>/reports/postq/scans/<scan-id>/
Success checklist¶
- The scan status is complete.
- The PostQ Scanner terminal shows exit
0. - The completed scan appears under Reports.
- Backend findings appear in Problems when diagnostics are enabled.
Next: VS Code usage and settings.