Visual Studio - Want to default "Insert File as Text" to my templates directory.

I've created a directory of about 20 files that contain VB templates.  Each time I select Edit / Insert File As Text (image 1), Visual Studio defaults to the project folder.  How can I tell visual studio, "Hey, default to my templates folder."
Image-1.png
jdanaAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Bob LearnedConnect With a Mentor Commented:
For me, it adds to the currently open code module.  I don't think that there is any option to control that folder.
0
 
Bob LearnedCommented:
I believe that Insert File as Text only works when you have a code module open, so I don't understand the comment, "Visual Studio defaults to the project folder".
0
 
jdanaAuthor Commented:
I'm working on a project named "Park Asset" the project folder is named ParkAsset (Image 1).  When I'm editing a code module and I select Edit / Insert File as Text, Visual Studio defaults to this folder.  It defaults to this folder every time I select Edit / Insert File as Text.
Project-Folder.png
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
jdanaAuthor Commented:
Isn't the intent of "Add File as Text" to add template VB or CS that I've generated previously?
0
 
Bob LearnedConnect With a Mentor Commented:
No, I believe that the "Insert File as Text" is to import the text from the file, and to insert into the current file.

Insert File As Text
http://blogs.msdn.com/b/zainnab/archive/2010/02/24/insert-file-as-text-vstipedit0021.aspx

Let's say you have a chunk of code in a file and you want it in another file, too.  Just go to Edit -> Insert File As Text.
0
 
jdanaAuthor Commented:
Thanks for sticking with me on this one.
0
All Courses

From novice to tech pro — start learning today.