Code Completion in EXPECT of Test cases?
已回答
Hi:
So in my test fixture files I see that code completion works in the body of a test case eg:
TEST_F(myFixture, testOne){
const int something = 1;
// code completion works here
mpClass->SetSomething(something);
// code completion does not work here inside of any EXPECT
EXPECT_EQ(mpClass->GetSomething(), something)
}
Is there any way to make this work?
Thanks
请先登录再写评论。
Hello!
Sounds like https://youtrack.jetbrains.com/issue/CPP-26297. Please try using the CLion 2021.3 EAP build (https://www.jetbrains.com/clion/nextversion/), the issue should be fixed in it.
Sure does, thank you.