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
Explore extension contributions to the "New..." item #124304
We've seen feedback from users that creating custom files, i.e. non text files like Notebooks, is difficult to find. Right now the only way to create a new custom file is through the command palette but users are not aware of this. They often looked in the menus and on the welcome page. This issue aims to address this issue.
Design
Option 1
This proposal simply appends the item under the "New File" item, because new file is for text files, and this item would be for a custom file.
Option 2
We could alternatively combine the items into single row if there are too many and use the split button:
Option 3
This would make clicking on "New File" open a quick pick with the list of options:
Based on discussions with the team, we'll go with the New File... pattern and introduce a new command that replaces the new file item in the getting started page and also adds it to the global File menu.
Chatting about this with Chris Dias (@chrisdias), we should clarify that this flow both covers new file and but also new projects; so putting it all behind "New File" seems a bit confusing. One idea was to use the separators that the theme picker has to have both in one list.
Harald Kirschner (@digitarald) see my comment above about combining into a New... instead (so removing "file"). Not sure whether we need a separator for projects as this would include all items and what other extensions would also use "projects"?
changed the title [-]Explore extension contributions to the "New File..." item[/-][+]Explore extension contributions to the "New..." item[/+]on Jun 10, 2021
I originally thought the "New" would be reserved for files and not window management. Maybe it's just me but it seems like it takes a lot more time to process the options and slows you down.
I also thought that when there are no items contributed it would be the default "New File" and when there are more items it would morph into the "New..."?
Agree the above is loud, but I do think there's value in bringing some of the new window commands into the spotlight... even some our own team members don't know about window duplication commands, yet window duplication is one of the most requested features of all time.
One thing that I think helps is grouping by category and removing detail text where not needed (in Insiders today), and also sorting the items so files and notebooks are at the top (currently in main):
Activity
miguelsolorio commentedon Jun 7, 2021
Based on discussions with the team, we'll go with the
New File...pattern and introduce a new command that replaces the new file item in the getting started page and also adds it to the globalFilemenu.Jackson Kearl (@JacksonKearl) not sure if this is something that falls under your area?
JacksonKearl commentedon Jun 7, 2021
Yeah, that sounds neat. Though I wonder if the "new java project" should be part of something besides a "new file..." entry point. File vs Project?
miguelsolorio commentedon Jun 8, 2021
In that case we can simply do
New...as a generic jump-off point for all new things regardless of type. What do you think?digitarald commentedon Jun 9, 2021
Chatting about this with Chris Dias (@chrisdias), we should clarify that this flow both covers new file and but also new projects; so putting it all behind "New File" seems a bit confusing. One idea was to use the separators that the theme picker has to have both in one list.
miguelsolorio commentedon Jun 9, 2021
Harald Kirschner (@digitarald) see my comment above about combining into a
New...instead (so removing "file"). Not sure whether we need a separator for projects as this would include all items and what other extensions would also use "projects"?digitarald commentedon Jun 9, 2021
Ha, missed that last dialog!
Java contributes a "Create New Project" and C++ is thinking about a wizard as well.
chrisdias commentedon Jun 10, 2021
ha - i missed "project" in both lists too :)
We can probably drop the "New" from the quick pick list, its duplicative and will make it easier to scan for your favorite langauge.
[-]Explore extension contributions to the "New File..." item[/-][+]Explore extension contributions to the "New..." item[/+]Start to implement New... entries
Show entry sources
JacksonKearl commentedon Jun 18, 2021
Tried moving some of the Start entries into the "New..." item, maybe helps with clutter?
Polish new contributions #124304
miguelsolorio commentedon Jun 19, 2021
I originally thought the "New" would be reserved for files and not window management. Maybe it's just me but it seems like it takes a lot more time to process the options and slows you down.
I also thought that when there are no items contributed it would be the default "New File" and when there are more items it would morph into the "New..."?
JacksonKearl commentedon Jun 21, 2021
Agree the above is loud, but I do think there's value in bringing some of the new window commands into the spotlight... even some our own team members don't know about window duplication commands, yet window duplication is one of the most requested features of all time.
One thing that I think helps is grouping by category and removing detail text where not needed (in Insiders today), and also sorting the items so files and notebooks are at the top (currently in

main):(note I don't necessarily think all of those items should exist in the menu, just trying to get a feel for what the menu will look like once many extensions contribute... I made https://marketplace.visualstudio.com/items?itemName=jakearl.demo-create-new-entries to help with exploring the feel)