Solved

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

Posted on 2011-03-15
6
481 Views
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."
Image-1.png
0
Comment
Question by:jdana
[X]
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
6 Comments
 
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".
0
 

Author Comment

by:jdana
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.
Project-Folder.png
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 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.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

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

Assisted Solution

by:Bob Learned
Bob Learned earned 500 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
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
 

Author Closing Comment

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

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

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

Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
Suggested Courses

615 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