agrawal-d/cph

[C++] Multiple define directives option?

EntityPlantt opened this issue · 0 comments

Description

Currently CPH has only one define directive to check before running: ONLINE_JUDGE
Screenshot from 2024-01-17 11-01-37

I suggest there would be more define directives, something like a list where you can add/remove/edit entries and check specific ones. The entries (along with the checkbox values) should be saved to the problem file in ./.cph.
Default values would be:

🗸 CPH
🗸 DEBUG
  ONLINE_JUDGE

I opened this issue, as the contribution guide says, to discuss the idea with you (@agrawal-d) and the contribuitors, to see if it is OK. It's probably not a problem for me to open a PR and push this update.

Meta

Extension Version: v6.1.0
VS Code Version: 1.85.1 (Flatpak)
Browser Version: Firefox 121.0.1 (64-bit)
Operating System: Fedora Linux 39.20240116.0 (Silverblue)