DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 966,904 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Cover image for How to create a new folder in visual studio - keyboard shortcuts
Andrei Fedotov
Andrei Fedotov

Posted on

How to create a new folder in visual studio - keyboard shortcuts

Hello everyone!

Creating a new folder in Visual Studio manually (by using the mouse) is a bit annoying process. I like to use shortcuts for such kinds of routines. And this note shows several options for how to create a new folder in Visual Studio by using shortcuts.

Option 1

  1. Ctrl+Alt+L - switch focus to Solution Explorer
  2. Press one at a time Alt, p, d

Option 2

If you use Resharper for Visual Studio

  1. Alt+Shift+L to focus on Solution Explorer
  2. Alt+Ins to create a folder

Option 3

Set your own shortcuts

  1. Go to Tools -> Options -> Environment -> Keybord
  2. Select Project.NewFolder and set hot keys

Option 4 (my choice)

Use VS extension Add New File

Press Shift+F2 to open a dialog and type a file name. The most exciting thing here is by using / you can also create a folder structure where the file will be placed.

Add new file extension
Cheers!

Top comments (0)

Take a look at this:

Settings

Go to your customization settings to nudge your home feed to show content more relevant to your developer experience level. πŸ›