Closed GasimGasimzada closed 1 year ago
To my awareness, this is limitation with Visual Studio and it's internal behavior. By default, Visual Studio will try to make the file in the same directory as the project file. If you're able to find a project configuration that corresponds to the default create location, let me know.
What's your question?
I have a premake for my project like this:
When I run
premake5 vs2022
+ build my project, the following new directories are created:This works well and as intended since I want all my autogenerated files to be in one directory that I can easily gitignore.
However, this config has one issue, particularly in VS2022 (frankly, I have not checked it in other editors). When I try to use Visual studio to create new source files in my project, the files are created under
workspace/engine
by default. However, I want the files to be created inengine/src/
. Is there a way to change this directory to always point to theengine/src
; so, I do not need to leave visual studio or manually modify the path of newly created file?