Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


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

Posted on 2011-03-15
Medium Priority
Last Modified: 2012-05-11
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."
Question by:jdana
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 96

Expert Comment

by:Bob Learned
ID: 35148575
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".

Author Comment

ID: 35188993
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.
LVL 96

Accepted Solution

Bob Learned earned 2000 total points
ID: 35189099
For me, it adds to the currently open code module.  I don't think that there is any option to control that folder.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 35191808
Isn't the intent of "Add File as Text" to add template VB or CS that I've generated previously?
LVL 96

Assisted Solution

by:Bob Learned
Bob Learned earned 2000 total points
ID: 35191961
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

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.

Author Closing Comment

ID: 35194879
Thanks for sticking with me on this one.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s quite interesting for me as I worked with Excel using for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question