Limit number of open tabs only to relevan ones working with Github Copilot to narrow context

👨‍🔧 Use cases

According to How GitHub Copilot is getting better at understanding your code

Neighboring tabs is what we call the technique that allows GitHub Copilot to process all of the files open in a developer’s IDE instead of just the single one the developer is working on. By opening all files relevant to their project, developers automatically invoke GitHub Copilot to comb through all of the data and find matching pieces of code between their open files and the code around their cursor—and add those matches to the prompt.