You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(standalone): full export menu via shared TFindingExportMenu
uIDEExportMenu had no OTA/IDE-specific dependencies despite the name -
just standard VCL plus our export units. Moved + renamed it to a shared
location so the Standalone GUI can reuse the same popup menu the IDE
plugin ships:
StaticCodeAnalyserIDE/uIDEExportMenu.pas
-> StaticCodeAnalyserForm/sources/UI/uExportMenu.pas
The class TFindingExportMenu stays as-is (already neutral, no rename
needed). Constructor takes only callbacks (Status, GetGrid, GetBaseDir)
so the Standalone wires its own getters without touching the menu code.
Standalone Form (uMainForm) now:
- declares FExportMenu : TFindingExportMenu
- declares FBtnExport : TButton (runtime-created next to BtnBranch)
- adds GetResultGrid / GetCurrentBaseDir / StatusModeProc helpers
- imports uExportMenu in the implementation uses
- in FormCreate: create button + menu + AttachToButton
The Export button shows "Export ▼" with a tooltip listing all formats.
Clicking opens the same popup the IDE plugin uses:
HTML report (all findings)...
JSON...
CSV...
---
Jira markup -> Clipboard
Plain text -> Clipboard
---
Sonar: write Generic Issue report (all findings)...
Sonar: send selected as external issue
IDE plugin + IDE .dpk + IDE .dproj updated to use the new path.
Standalone .dpr + .dproj add the DCCReference.
README + README_de matrix updated EN+DE: Standalone now shows ✅ for
HTML / Sonar / CSV / JSON / Jira (was — / GUI-only before).
0 commit comments