Alternatively, if you go to the Umbraco administrator, go to the "Developer" section and right-click on "Scripting Files", you can directly create razor scripts (and this will save the new .cshtml directly in your "macro prices", the folder - although in VS2010 you need to right-click on the new script and select "include in project").
In addition, it will allow you to create a new razor macro on one of the previously created fragments so that you can get basic functionality for free.

amelvin
source share