#Anyone here using Codeium for C++ in
1 messages · Page 1 of 1 (latest)
Correct.
Using @class, I'm only able to select the declaration (.h) class files and the .cpp class files do not appear as an option. The result is that the model lacks context and comes back with the like: "The code snippet you provided earlier is from the header file Foo.h, not the implementation file Foo.cpp. To explain the Foo class, I would need to see the code from the implementation file."
It also demonstrates this behavior when I've added the Foo.h class and then I add a function (@function) from the .cpp implementation of that class. It still comes back with the same or similar "I need to see the code" response.
The expected behavior is, I'd imagine, that both the .h files and .cpp files show up in the list following "@class": The option to include either, or both the declaration (.h) and definition/implementation (.cpp) class files.
Thanks for looking at this!
Ah. I mean, I guess the issue is usually the class declaration itself is only in the .h file, and the .cc file only contains methods?