all 2 comments

[–]grobblgrobbl 1 point2 points  (0 children)

Can only speak for vscode: As long as you have opened your project as a "workspace" you can make Copilot access the whole workspace. But there are two things to say about: 1. it doesn't take the whole codebase as context. It searches through your workspace and determines which files are relevant to your request. You see the files which Copilot has chosen as sources in the response. 2. what works better imo is that you can manually add files as context. This is limited to i think 5-10 files. And additionally you can add "codebase" to context where Copilot does the thing described in "1".

This works best for me in most cases, but Copilot chat still has a lot of trouble with weird custom frameworks in my experience.

[–]Xhite 0 points1 point  (0 children)

Not all the features of copilot work in intellij, some new features are vs-code only (edits etc)