Creating multiple files using the 'new item' menu
Posted: 21 Sep 2017 09:53
I have some templates for C++ classes (one .h and one .cpp file) for which I now have custom Visual Studio wizards. But they're a pain to maintain so I'd prefer to replace them with XYplorer scripts somehow.
What I need: when I click somewhere, I need to enter the class name, and then two files should be copied from a well-known directory into the current XYplorer directory. It should do a search/replace within the new files, and replace a well-known placeholder value with the class name I just entered.
What is the easiest way to go about this?
What I need: when I click somewhere, I need to enter the class name, and then two files should be copied from a well-known directory into the current XYplorer directory. It should do a search/replace within the new files, and replace a well-known placeholder value with the class name I just entered.
What is the easiest way to go about this?