Author |
Topic |
|
peterchen
Tomato Guru
126 Posts |
Posted - Nov 04 2021 : 10:28:09 AM
|
Is there a way to create the corresponding file on Alt+O wenn it doesn't exist?
Example Workflow: I use "Move Selection to New File" to create some header, and now I want to add imlementations to the corresponding .cpp.
However Alt+O doesn't do anything, "Create Definition" creates it in the header file (which is good for the use case of header-only code)
- Am I missing something obvious/easy?
Maybe I am missing something here, but adding the file in the correct folder with Visual Studio is a bit lengthy (select correct file type, locate the right folder, re-type the file name)
- If not, feature suggestion:
Alt+O, when no file is found, could ask for the file to be created (including asking for the file name, so I can adjust the extension).
I believe this was discussed a long time before, but rejected at that time IIRC because 'we avoid creating files' - which has changed since.
VA_X.dll file version 10.9.2420.0 built 2021.07.28 DevEnv.exe version 15.9.28307.1705 Professional msenv.dll version 15.0.28307.1684 Comctl32.dll version 6.10.19041.1110 Windows 10 10.0 2009 Build 19043.1288
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Nov 05 2021 : 07:35:39 AM
|
You are probably looking for the command Create File:
https://docs.wholetomato.com/default.asp?W288
which will create the matching file, and if you are creating a new header file, it will include it into the current, matching cpp file. |
zen is the art of being at one with the two'ness |
|
|
peterchen
Tomato Guru
126 Posts |
Posted - Nov 08 2021 : 03:03:28 AM
|
Thank you! That seems suffient. |
|
|
|
Topic |
|
|
|