Skip to content

Shared Copilot context between two open instances of Jetbrains IDEs? #61482

Answered by academicgit
temike asked this question in Copilot
Discussion options

You must be logged in to vote

Yes, I can confirm that this behavior is intended. GitHub Copilot uses a technique called "code context sharing" to improve the quality of its suggestions. Code context sharing means that Copilot takes into account the code that you are currently editing in other JetBrains IDEs, even if those IDEs are open to different projects. This allows Copilot to provide more relevant and accurate suggestions.

For example, if you are editing a file in Webstorm and you have IntelliJ open to a different project, Copilot will be able to see the code that you are editing in IntelliJ and use that information to generate suggestions for your file in Webstorm.

The use case for this behavior is to help you w…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@rovio-daniel-jackson
Comment options

Answer selected by temike
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Copilot Code accurately and faster with your AI powered pair-programmer. Question
3 participants