External folder context support (max 3) for monorepos and full-stack workflows #2889
Unanswered
zamalali
asked this question in
Extension Development QnA
Replies: 1 comment
-
|
Hi @zamalali , If you are not able (or inclined) to open the entire monorepo in VS Code, maybe you could use multi-root workspaces as an alternative, and create one that combines the required projects in it, so Either way, since you are suggesting an improvement to the GitHub Copilot Chat extension, the best place to report this would be the VS Code repo itself (https://github.com/microsoft/vscode/issues), so the team behind the extension could give proper attention to it. This discussion forum is intended for extension development only, for now. Hope this helps |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
RFC: External Folders as Context for Copilot Chat
Related: #131429, #155450
Scope:
vscode-copilot-chat(no behavior change to existing@workspaceor open-file context)Problem
@workspaceis limited to opened workspace folders. This breaks in common setups:frontend/andbackend/packages/utils/,packages/types/, etc.Workarounds today (manual
#filedrags or reloading the workspace) are clunky and break flow.Proposal
New Command
github.copilot.chat.addExternalContextLimits
Prompt Injection
ChatPromptReference.listDir,edits) honor them viaisExternalPath.Safeguards
node_modules,.git,dist, binariesfiles.excludepatternsUX
$(folder) Contexts: 2/3github.copilot.chat.manageExternalContexts(remove/edit)Environment Presets
EXTERNAL_CONTEXT_PATHSto preload paths (devcontainers/CI).PoC Summary
Branch:
zamalali/vscode-copilot-chat:feat/external-contextExternalContextServicechatParticipantRequestHandlerand tooling.Limitations & Future Work
Example Workflow
Beta Was this translation helpful? Give feedback.
All reactions