Productivity tools by Neptuo: Add new item.
Easily create any type of file or folder and include it in project.
Easily create any type of file or folder and include it in project.
It can be triggered from the Solution Explorer when you right click on any folder or project -> Add -> Any Item...
For definition of new file templates, you need a file AddNewItem.xml somewhere in the path between the directory you are creating file and the drive root. Here is an example, file must follow XSD http://schemas.neptuo.com/xsd/productivity/vsix/AddNewItem.xsd.
<?xml version="1.0" encoding="utf-8" ?>
<Templates IsStandalone="true" xmlns="http://schemas.neptuo.com/xsd/productivity/vsix/AddNewItem.xsd">
<Template>
<Selector FileName="*.cs" />
<Content>
<![CDATA[using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace $namespace$
{
public class $itemname$
{
$end$
}
}
]]>
</Content>
</Template>
</Templates>