Skip to content
Discussion options

You must be logged in to vote

What you’re observing is consistent with how the JetBrains Copilot plugin scopes context.

In CLion/JetBrains, the plugin uses the IDE project root (workspace root) as the context boundary, not necessarily the VCS repo root. If your .github/copilot-instructions.md is outside the IDE project root, it will not be included in the prompt construction.

That explains why:

  • /.github/copilot-instructions.md at repo root → ignored
  • /.clwb/.github/copilot-instructions.md inside workspace root → respected

This is not a Copilot “model” issue; it’s a plugin context-resolution issue.

Current behavior:

  • Instructions must be inside the IDE-recognized project root.
  • The plugin does not traverse upward to di…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@johnbrydon
Comment options

Answer selected by johnbrydon
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
JetBrains & Xcode Copilot for JetBrains IDEs (IntelliJ, PyCharm, WebStorm, etc.) and Xcode Question Ask and answer questions about GitHub features and usage Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community!
3 participants