Sending function definitions from Header files to Copilot for C/C++ #14924
Unanswered
pratham1002
asked this question in
Copilot Conversations
Replies: 1 comment 1 reply
-
|
We do not really know what it is sending to the server and if it differs from IDE to IDE. I am guessing you are using VS Code, I use JetBrains products and dont have any problem with this, but that could just be my use case. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Copilot performance may be improved if it receives the function definitions in the Custom Headers (user-defined .h files) for C and C++. This would give the model information about the function signature for functions, not in the standard library. For medium-sized projects, just concatenating function definitions (which can be picked up from the C/C++ intellisense supported by VS code) should be tested and might be a fair tradeoff against some loss of local context.
A simple example case: defining a
linkedlistin C.Beta Was this translation helpful? Give feedback.
All reactions