Skip to content
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

[C++] Multiple define directives option? #406

Open
EntityPlantt opened this issue Jan 17, 2024 · 0 comments
Open

[C++] Multiple define directives option? #406

EntityPlantt opened this issue Jan 17, 2024 · 0 comments

Comments

@EntityPlantt
Copy link

EntityPlantt commented Jan 17, 2024

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)

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

No branches or pull requests

1 participant