Posted on September 21, 2015
Murl Tools, a open source Visual Studio extension for VS2013 & VS2015 has been released. The extension adds some useful commands to the Solution Explorer of Visual Studio and has been created to improve the work flow with Murl Engine projects but is beneficial for every cross platform VisualC/C++ project where the source and data files are not stored inside the project folder.
The Murl Tools extension adds the following commands to the context menu of the Solution Explorer:
- Duplicate to create a copy of the selected file(s).
- Refresh to add missing files that exist in the folder (file system) but not in the selected filter (project).
- The extension additionally adds a Remove/Delete dialog when deleting files (VisualC/C++ projects only).
To create a copy of an existing file in the Solution Explorer you usually select the file and press CTRL-C and CTRL-V. While this is working for C# and VB projects, it does not work for VisualC/C++ projects.
The extension adds a Duplicate command to the context menu of the Solution Explorer. The command creates a copy of the selected file and adds it to project within the same filter.
Side note: If you want the CTR-C / CTRL-V feature in Visual Studio, you can vote for it here.
This command adds references for all missing files that exist in the folder (file system) but not in the selected filter (project). Note, that this command only makes sense when your filter corresponds to a folder in the file system.
If someone selects one or more files in the solution explorer of a VisualC/C++ project and then presses the delete key, he usually gets a dialog where he can choose to remove or to delete the file(s). You can decide if only the file reference(s) should be removed from the project or if also the file(s) itself should be permanently deleted from the file system.
Unfortunately the dialog only shows up if the selected files are stored in the project folder which is not the case for e.g. cross platform projects where multiple projects/platforms share the same source code files.
The extension fixes this weird behavior and always displays a Remove/Delete dialog.
Remove/Delete dialog screenshot
Side note: If you want this feature fixed in Visual Studio, you can vote for it here.
Don't miss out on any update,
subscribe to our newsletter.