Skip to content

Add the pg-critic problem analyzer to the PGEditor #2748

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

pstaabp
Copy link
Member

@pstaabp pstaabp commented Jun 20, 2025

This adds the ability to run the pg-critic analyzer (see openwebwork/pg#1254 for details on the script) to run inside the "Format Code" tab of the PGeditor.

The analyzer also produces a report on how to improve the problem in the editor.

To use this, you'll need to install openwebwork/pg#1254.

@pstaabp pstaabp changed the base branch from main to WeBWorK-2.20 June 20, 2025 19:26
@pstaabp
Copy link
Member Author

pstaabp commented Jun 27, 2025

This improves the interface to the PG critic feature in the "Format Code" of the PG editor.

On the PG version of this PR, additional features are scanned for and this give more details about code improvement.

@pstaabp pstaabp force-pushed the pgeditor-pgcritic branch from 84ef097 to 381d4eb Compare July 8, 2025 18:10
@pstaabp pstaabp changed the base branch from WeBWorK-2.20 to develop July 14, 2025 20:16
@pstaabp pstaabp force-pushed the pgeditor-pgcritic branch from 381d4eb to bfc499d Compare July 14, 2025 20:18
@pstaabp
Copy link
Member Author

pstaabp commented Jul 14, 2025

Switched this to the develop branch and will continue to work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant