Describe the Issue
With the solution explorer before the change, you could right click or click on the add new file button on a folder in the solution explorer and it would ask you to select a template then it would create that file in the folder you chose and adjust the namespace accordingly.
This is not the case in the new version. If you right click or click on the add file button on a folder in the view, it creates a basic file and you have to create the skeleton yourself. If you want the template, you have to open the command palette and select .Net : New File. This allows you to select the right template, but, unless I'm mistaken, creates the file at the root of the directory. You then have to move it in the folder you wanted and change the namespace.
Steps To Reproduce
- Right click on a folder
- Click on New File
Expected Behavior
The file is created in the right folder with the proper namespace.
Environment Information
- OS : Windows 11
- VSCode Version : 1.120
- Extension version : 3.20.195
Describe the Issue
With the solution explorer before the change, you could right click or click on the add new file button on a folder in the solution explorer and it would ask you to select a template then it would create that file in the folder you chose and adjust the namespace accordingly.
This is not the case in the new version. If you right click or click on the add file button on a folder in the view, it creates a basic file and you have to create the skeleton yourself. If you want the template, you have to open the command palette and select
.Net : New File. This allows you to select the right template, but, unless I'm mistaken, creates the file at the root of the directory. You then have to move it in the folder you wanted and change the namespace.Steps To Reproduce
Expected Behavior
The file is created in the right folder with the proper namespace.
Environment Information