Skip to Content
Visual Studio Hacks
book

Visual Studio Hacks

by James Avery
March 2005
Intermediate to advanced
304 pages
19h 23m
English
O'Reilly Media, Inc.
Content preview from Visual Studio Hacks
Select the Best Editor #11
Chapter 2, Master the Editor
|
53
HACK
To switch the default behavior, you need to change the settings located
under the HTML Designer folder in the Tools
➝ Options dialog. These set-
tings are shown in Figure 2-23.
On this Options screen, you can determine what view will be used for each
type of file handled by the HTML designer. Changing the radio button to
HTML View (in which you edit the raw HTML) for each of the file types
will cause Visual Studio to also use the HTML view when opening these
files. (You can later switch to design view if you like.)
Other editors. There are also editors for CSS files, resource files, and binary
files. I am not going to cover these here since they are easy to use and don’t
have any hidden features that you need to worry about.
Choosing Your Editor
Visual Studio will also select what editor it feels is best, based on the exten-
sion of the file you select, but sometimes it is beneficial to use a different edi-
tor than the Visual Studio default. To select a different editor, you need to
use the Open With command, which you can access in a couple of different
ways. When selecting a file from the Solution Explorer, right-click the file
and choose Open With from the context menu that appears. Or if browsing
for a file with the File Open dialog, first select the file, then click the arrow
on the Open button (see Figure 2-24), and choose Open With. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Microsoft Visual Studio 2015 Unleashed, Third Edition

Microsoft Visual Studio 2015 Unleashed, Third Edition

Mike Snell, Lars Powers
Mastering Visual Studio .NET

Mastering Visual Studio .NET

Chris Sells, Ian Griffiths, Jon Flanders
Programming in C#: Exam 70-483 (MCSD) Guide

Programming in C#: Exam 70-483 (MCSD) Guide

Simaranjit Singh Bhalla, SrinivasMadhav Gorthi

Publisher Resources

ISBN: 0596008473Errata Page