I had the same problem when I started using build systems (CMake, Premake), which require me to save the project files separately from the source files, which complicates my workflow.
Although changing the default source directory seems impossible if you are not afraid to spend money, the workaround I found was to use the Visual Assist extension.
- You can bind a shortcut of your choice to the Create File command, which creates a new file relative to the directory or your open file.
- I would also recommend setting up one workflow around the wonderful Create from Use (which I think greatly improves performance), which virtually eliminates the need to manually create files.
The extension is excellent, although a little expensive. I would really like Microsoft to include these features directly in the IDE in the end, since vanilla has found them in many other IDEs, for example. Eclipse, Intellij.
There may be free extensions that do the same, but I have not found them.
Adelost May 08 '15 at 18:44 2015-05-08 18:44
source share