C++ code generation ignores project files

Hi all,

I have been using Cursor with an existing nodejs application and it works great.

I tried Cursor today with a 500 file C++ source tree. I simply want to generate code which implements a new class based on an existing class in my source tree.

Cursor generates the code but the generated code has errors, e.g. include line refers to a non-existing file, the call the base class constructor is wrong. It is as if the source tree is completely ignored.

Am I missing a configuration step or is this an expected limitation with C++?

Thanks!

Hey, if using the Composer, you’ll have to @ the right files for the composer to know about them.

You can find more information on how to use Cursor here: