
Select the Best Editor #11
Chapter 2, Master the Editor
|
51
HACK
HACK
#11
Select the Best Editor Hack #11
Different editors can be used for different file types, including some hidden
possibilities.
A large part of learning to work with any toolset is understanding what tool
should be used and when it should be used. Visual Studio contains a num-
ber of different editors, including a Text Editor, XML Editor, CSS Editor,
and many more. This hack is about determining what editor should be used
in what situation and also explains how Visual Studio can be configured to
use a third-party editor as opposed to the native editor.
So Many Editors
Visual Studio contains a host of different editors; you have probably
encountered a number of them.
Text Editor. The editor you are probably most familiar with is the Text Edi-
tor, which is used to edit and work with most forms of text, including
source code. The Text Editor contains a number of configuration settings
that can be specified on a per-language basis; these settings can be accessed
through the Tools
➝ Options menu, which can be seen in Figure 2-22.
Using the Options dialog, you can decide whether or not to enable word
wrap, line numbers, and some other miscellaneous settings. Each language
Figure 2-22. Text Editor Options dialog