@workspace vs #codebase #114471
Replies: 10 comments 9 replies
-
|
@jimmerioles seems to have found the answer. It is still more confusion than it is worth though. If it takes a whole thread of engineers to understand the difference, the features are likely poorly named, or some additional separation between the features needs to be made.
Now to break it down:
Here are some additional thoughts beyond the scope of this question. I would say the current GitHub copilot experience is confusing. There are three different chat experiences (Chat, Edit, and Agent), and different augmentation options in each (Slash commands Ask Mode:
Edit Mode:
Agent Mode:
Another confusing aspect is I don't even see most of these chat variables in Ask and Edit modes: https://docs.github.com/en/copilot/using-github-copilot/copilot-chat/github-copilot-chat-cheat-sheet I am on the preview build, so maybe that is why. I use the In short, GitHub Copilot has done great to add many powerful features lately, but adoption and ease of using it to its full capacity is difficult, owing to the fact that the feature set and spread is confusing. I follow the GitHub Copilot changelog and VSCode changelog daily, but I still struggle to get the most out of this tool. The best example being that I was ready to build a custom GitHub Copilot extension, Copilot Knowledgebase, MCP server, or RAG solution, until I realized there was a |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
-
|
Okay, maybe some closure here. The key sentence is at the very end: "It's recommended to use #codebase in your chat prompts, as it provides more flexibility." Again, it makes me think the
|
Beta Was this translation helpful? Give feedback.
-
|
Okay, I find it extremely odd that this is not differentiated in any documentation.
Sounds oddly a lot like |
Beta Was this translation helpful? Give feedback.
-
|
I asked Copilot: |
Beta Was this translation helpful? Give feedback.
-
|
This is extremely confusing as for example the update release note https://code.visualstudio.com/updates/v1_98 reference explicitly #codebase.
When I tried asking copilot to find a file for me both #codebase and @workspace consistently had the same results, but always had a different set of reasoning steps ??? #codbase would always explicitly mention "searching codebase for XYZ..." |
Beta Was this translation helpful? Give feedback.
-
|
Confusing... |
Beta Was this translation helpful? Give feedback.
-
|
It's march 2025. I'm in Copilot Trial period and tried both @workspace and #codebase with a project opened but no file tab openend. But I have to add a point here: VS Code has a feature called Workspace, which aggregates several projects in the editor. With a Workspace like this open, I did the same test, and both @workspace and #codebase did the same thing again: they picked up a few files here and there from the projects (not all files nor all projects) and made a very superficial summary, probably avoiding wasting context. But it's worth paying attention to this confusion with the term "Workspace" in VS Code. And yes, both methods seem to do exactly the same thing there. β |
Beta Was this translation helpful? Give feedback.
-
|
This still seems confusing and I couldn't find an exact clarification for it. |
Beta Was this translation helpful? Give feedback.
-
|
π Discussion Activity Reminder π This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1οΈβ£ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2οΈβ£ Provide More Information: Share additional details or context β or let the community know if you've found a solution on your own. 3οΈβ£ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! π¬ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
Beta Was this translation helpful? Give feedback.
All reactions