#VS22 create files in another folder

12 messages · Page 1 of 1 (latest)

shy swift
#

i want to create class files but they are created in my /project/*.cpp and i want to create them automaticly in the /src/*.cpp folder. Same with the header files, they appear in the /project/*.h and they should go in the /includes/*.h. It is quite a pain when i need to write the new files path in the filters and move them into the correct folders

lavish edgeBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

tacit flint
shy swift
#

oh my... i now see the option to do that catfacepalm

tacit flint
#

happens to us all :)

shy swift
#

thanks... kekw

#

!solved

lavish edgeBOT
#

Thank you and let us know if you have any more questions!

This thread is now set to auto-hide after an hour of inactivity

bright bramble
#

@shy swift you can also add existing files to the project. so you could create the file in the place you want and then add it. or remove the file from the project, move it in explorer, and then add it back to the project.

#

so many options ^^

tacit flint
#

Also @shy swift a small note, visual studio has a concept called filters these are virtual "folders" you can use to organize files but these don't map to a disk

#

you don't need to use those though