Create new file (from template) in another folder

I can create new file from template using Ctrl + Alt + Ins. After inputing the file name, the new file gets created in the current . What if I want to create file in another folder? Or even better, is there a way to create the folders with the given path?

Example:

Project Structure:

- Pages

    - Page1.cshtml

    - Page2.cshtml

- Shared

    - Shared1.cs

 

I'm working in Pages folder, and I want to create:

1. Shared/Shared2.cs

2. Shared/SharedServices/SharedService1.cs

 

Currently if I just try typing in the path I get a invalid name error.

1 comment
Comment actions Permalink
Official comment

Hello,

Here's a similar request reported - https://youtrack.jetbrains.com/issue/RSRP-260235.

You are welcome to comment or vote for it.

Thank you.

Please sign in to leave a comment.