Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does GitHub Copilot in JetBrains analyze my entire project or just active/open files?

I would like to know if the current version of GitHub Copilot analyzes my entire code, my entire code base, or just the active file and a few open files?

If not, do you know if Copilot will use my whole code to make suggestions? I haven't found any clear answers on the web.

like image 680
MathAng Avatar asked Sep 05 '25 03:09

MathAng


2 Answers

According to the following article from GitHub about Copilot:

GitHub Copilot analyzes the context in the file you are editing, as well as related files [...]

Source: https://docs.github.com/en/copilot/overview-of-github-copilot/about-github-copilot-individual

like image 117
Flaflo Avatar answered Sep 07 '25 21:09

Flaflo


@workspace can help. @workspace will make the whole project as the context and answer your question.

https://code.visualstudio.com/docs/copilot/workspace-context

like image 24
Vincent Guo Avatar answered Sep 07 '25 20:09

Vincent Guo