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

Define CLAY_IMPLEMENTATION in Jetbrains IDE #236

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

monodop
Copy link
Contributor

@monodop monodop commented Jan 29, 2025

__JETBRAINS_IDE__ is defined within Jetbrains editors like CLion and Rider. This is only defined inside the IDE, and does not affect builds, so we can use it to enable CLAY_IMPLEMENTATION to improve debugging & intellisense in this environment. I'm not sure if other IDEs have similar macros, but I figured we could start with this one.

Before:
image

After:
image

[__JETBRAINS_IDE__](https://blog.jetbrains.com/clion/2017/02/clion-2017-1-eap-debugger-fixes-ide-macros-and-new-cmake/) is defined within Jetbrains editors like CLion and Rider. This is only defined inside the IDE, and does not affect builds, so we can use it to enable CLAY_IMPLEMENTATION to improve debugging & intellisense in this environment. I'm not sure if other IDEs have similar macros, but I figured we could start with this one
@nicbarker
Copy link
Owner

Apologies this took so long to get merged, just tested it out and it looks great!

@nicbarker nicbarker merged commit 3030390 into nicbarker:main Feb 10, 2025
3 checks passed
@monodop monodop deleted the patch-1 branch February 10, 2025 21:12
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.

2 participants