Eclipse¶
Use the PostQ Eclipse plugin to scan projects in Eclipse or Spring Tools. Review results through problem markers and reports, follow links to source, and compare completed scans in local history.
Install and configure¶
Install postq-code-scanner-eclipse-plugin-<version>.zip through
Help > Install New Software... > Add... > Archive.... Select PostQ Code Scanner, finish
the installation, restart Eclipse, then open:
Window > Perspective > Open Perspective > Other > PostQ Code Scanner
Set the PostQ scanner, OpenGrep 1.26.0, Java, language, history, and Offline license file
preferences under:
Window > Preferences > PostQ Code Scanner
Open the Configuration view and select About PostQ Code Scanner to view the product version, build version/kind and beta validity, and license activation and validity dates without starting a scan.
Use Refresh Configuration from the Configuration view menu to rerun Java, OpenGrep, and license readiness checks. Remove License clears the configured license path after confirmation without deleting the original file.
Scan commands check Java first, then OpenGrep, then license-file readiness when the selected scan requires one. If any required item is missing or mismatched, the plugin opens the configuration path so you can correct the settings before starting a scan.
Run scans¶
Use the Project Explorer or Package Explorer PostQ Code Scan menu:
- Scan Project
- Scan All Projects
- Stop Running Scan
- Show Report
- Open Reports Folder
- Compare Latest With Previous
- Show Console
- Configure
Without a license, Eclipse supports current-file scans only, up to five unique source files in local report history. Scanning a sixth new file prompts you to configure a beta license or delete that project's PostQ report history and start a fresh no-license set. Project scans require a beta license.
Review history¶
The Reports view uses projects as parent nodes and completed scans as child nodes. Double-click a scan to open PostQ Code Scan Report. Select two scans from the same project and choose Compare Reports to open the comparison view.
Select source links in report rows to open the affected code when the project and path remain available. Use the source revision associated with the scan when reviewing older results.
Use toolbar presets and filters to focus the review. Choose the download icon after the group-by control to export the visible report rows as CSV or JSON.
Browser component¶
Report views use Eclipse's embedded browser. On Windows, your Eclipse installation may require a current Microsoft Edge WebView2 runtime. Enterprise desktop teams should include the browser runtime in their Eclipse workstation baseline.
If the report remains blank, review the Eclipse Error Log, PostQ console, and Troubleshooting.