You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement different sorting logic for add context quick pick #246541
Just noticed that we seem to use an alphabetical sorting logic for the add context quick pick. I think we may want to change this because there's the risk that an extension contributes so many tools/resources that it will fill the entire quick pick (see screenshot below).
I worry this will cause recurring frustration to have to scroll past these options when you don't need them, plus be a slight hit on the discoverability of other options.
I propose we instead implement an opinionated "pinned list" of options, followed by a "most recently used" sort. For example, I think the following order would be nice:
"Codebase"
"Fetch Web Page"
"Find Test Files"
"Folder"
"Git Changes"
"Problem"
"Terminal Last Command"
"Terminal Selection"
"Test Failure"
... Insert other tools/resources sorted by most recently used ...
This would ensure there's a nice set of common/helpful tools available right at the top and generally improve discoverability of the kinds of things you can attach as context.
Stretch goal
Even better than "most recently used" sort would be an AI-powered recommendation based on the the files you have open, the other context you have already attached, most recently used context/tools, etc, etc.
I think it's also confusing that there are so many different icons, e.g there are no type-icons for things like tool or attachment. Like "Codebase", "fetch", and "Get Problems" are tools but "Problems..." is for adding a concrete problem as attachment.
Zoomed out we have tools and attachments - the latter are real things like a file path, a diagnostic, an image etc and the former are references to tools (by their name)
Sorry I missed the ux sync, I had to prep for the livestream. I would like to see open/recent files at the top too. Those should be commonly used and also it's a good hint that files do exist in that picker. I'm not sure about "pinning" context, I didn't know we had that feature. And why is it in Run Task but not the task quick access which is the only way I run individual tasks.
Also I'm not even sure we have that feature either. It was suggestion/idea to help aid in the discoverability of the variety of tools/resources someone can attach as context. But I'm also happy to just stick with open/recent files at the top –– especially if "pinning" quick pick items isn't something that we normally do in VS Code.
Nice, this looks great! In general, I quite like that there are now only a handful of high level options that then let you dive deeper into what you want.
Also +1 to all the decisions you listed/made.
Final Q: Why is Screenshot Window in the top level list? This feels like it should go in Tools no?
Is the recently opened section just the files you opened in the editor or does it also include context and tools that were recently recently attached/used?
Final Q: Why is Screenshot Window in the top level list? This feels like it should go in Tools no?
Proper sorting wasn't implement yet ;-) It's not like this. I put "Open Editors" above "Files & Folders" (which used to be just Folders) but I am fine with any sorting.
Is the recently opened section just the files you opened in the editor or does it also include context and tools that were recently recently attached/used?
Today it is just open editors (or whatever cmd+p would show). I like the idea of also showing recently attached files but would need to investigate first how this would be done (since we mostly reuse cmd+p here)
Activity
jrieken commentedon Apr 15, 2025
I think it's also confusing that there are so many different icons, e.g there are no type-icons for things like tool or attachment. Like "Codebase", "fetch", and "Get Problems" are tools but "Problems..." is for adding a concrete problem as attachment.
hawkticehurst commentedon Apr 16, 2025
Oh interesting call out, do you have an idea of what other categories/types of things in this list there will be?
So far, I gather:
hawkticehurst commentedon Apr 16, 2025
Actually decided to break this question/convo out into a separate issue so let's continue over there: #246683
jrieken commentedon Apr 16, 2025
Zoomed out we have tools and attachments - the latter are real things like a file path, a diagnostic, an image etc and the former are references to tools (by their name)
jrieken commentedon Apr 16, 2025
Meeting notes. Make it similar to F1 > Run Task. E.g have recently used and pinned group, have a bucket per type
roblourens commentedon Apr 16, 2025
Sorry I missed the ux sync, I had to prep for the livestream. I would like to see open/recent files at the top too. Those should be commonly used and also it's a good hint that files do exist in that picker. I'm not sure about "pinning" context, I didn't know we had that feature. And why is it in Run Task but not the task quick access which is the only way I run individual tasks.
hawkticehurst commentedon Apr 16, 2025
No worries!
Also I'm not even sure we have that feature either. It was suggestion/idea to help aid in the discoverability of the variety of tools/resources someone can attach as context. But I'm also happy to just stick with open/recent files at the top –– especially if "pinning" quick pick items isn't something that we normally do in VS Code.
jrieken commentedon Apr 17, 2025
Inching towards this... Slightly different than we had discussed - because of implementation reality and new insights
hawkticehurst commentedon Apr 17, 2025
Nice, this looks great! In general, I quite like that there are now only a handful of high level options that then let you dive deeper into what you want.
Also +1 to all the decisions you listed/made.
Final Q: Why is Screenshot Window in the top level list? This feels like it should go in Tools no?
hawkticehurst commentedon Apr 17, 2025
Oh actually one more Q:
Is the recently opened section just the files you opened in the editor or does it also include context and tools that were recently recently attached/used?
I would hope for the latter in this case.
jrieken commentedon Apr 22, 2025
Proper sorting wasn't implement yet ;-) It's not like this. I put "Open Editors" above "Files & Folders" (which used to be just Folders) but I am fine with any sorting.
Today it is just open editors (or whatever cmd+p would show). I like the idea of also showing recently attached files but would need to investigate first how this would be done (since we mostly reuse cmd+p here)
jrieken commentedon Apr 25, 2025
closing and making sure we have this for testing