plugin-check icon indicating copy to clipboard operation
plugin-check copied to clipboard

Add support for exporting results

Open jeffpaul opened this issue 2 months ago • 7 comments

PCP currently displays Errors and Warnings on-screen, but in order to get those into GitHub Issue(s) or some other bug tracker for impacted plugins is currently a bit manually intensive. If there was a way to export the results (e.g. CSV, JSON), then someone could more easily get those into a bug tracker and quickly share PCP results with a plugin development team.

jeffpaul avatar Oct 22 '25 19:10 jeffpaul

Yes, that's a good point. Even to use it with AI, so it can help authors to solve issues.

davidperezgar avatar Oct 23 '25 15:10 davidperezgar

Sure, alongside CSV or JSON export I suppose a markdown version would be helpful if there was some AI utilization expected.

jeffpaul avatar Oct 24 '25 15:10 jeffpaul

Yes, that would be helpful to use for developers.

davidperezgar avatar Oct 24 '25 18:10 davidperezgar

@fernandotellado has already work on this issue and shared me a code. I'll check it and add it to the plugin.

davidperezgar avatar Oct 26 '25 09:10 davidperezgar

Sure @jeffpaul @davidperezgar

I don't know how to use GitHub to work with projects, commits, and so on. I usually work locally and commit to SVN, so I'll need advice on how to share the code here or where it is needed.

I've coded a plugin that shows 3 buttons to export the results to: csv, html, and txt, and it works fine, and I'll be glad to share it to add it to the PCP plugin as I offered to David.

fernandotellado avatar Oct 26 '25 10:10 fernandotellado

No worries. We'll make the code.

davidperezgar avatar Oct 28 '25 16:10 davidperezgar

@davidperezgar Thanks

Just tell me where you want me to upload the code ;)

fernandotellado avatar Oct 28 '25 17:10 fernandotellado