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
Clion highlights TEST_CASE and SECTION as spurius syntax errors #484
Comments
There's a bug report that CLion doesn't respect the See https://youtrack.jetbrains.com/issue/CPP-2801 for details. There's another report for the |
Oh, so it's a problem with CLion, not Catch. Good to know. Hope they fix it. Thanks for your reply. |
You may want to +1 and/or star mark them to give Jetbrains your sense of urgency. |
Is this still an issue with Clion? (CPP-2801 at Jetbrains tracker states fixed). Is it more an annoyance and are you still able to use Clion and Catch together productively? |
@russdamerell The original author is currently using CLion to work on Catch, so I'd say it is ok. Not sure if there is still problem with |
An update on this. Here's the three stage approach for dealing with this:
Once the CLion identifier workaround in (2) is released I'll close this. |
Can someone confirm that the new CLion version is OK now? |
The latest CLion EAP version is ok now. But that won't be released as an official version until the end of the month, so I'm inclined to leave this open until then. https://blog.jetbrains.com/clion/2017/03/clion-2017-1-eap-disassembly-view-catch-msvc-changes/ |
New CLion was released, so this should be ok now. |
I don't know why this happens, but if I have a .cpp files with more than one TEST_CASE, the second TEST_CASE and all that follow are highlightes as syntax errors in CLion IDE, even if the code compiles well.
The text was updated successfully, but these errors were encountered: