Customizing the Text Editor

In addition to being able to customize the overall environment provided by Visual Studio, you can customize several specific elements related to your development environment. More so than in any previous version, the capability to modify the environment has been enhanced. With Visual Studio 2010, the user interface components have been rewritten using WPF so that the entire display provides a much more graphical environment and better designer support.

Both Visual Studio 2010 and Visual Basic 2010 Express Edition have a rich set of customizations related to a variety of different environment and developer settings. Admittedly, Visual Studio 2010's feature set offers a larger number of options for editing, but rest assured that the Express Edition contains many more options for editing than most people expect. For example, common to both IDEs is a text editor that allows for customization. If you've ever had to show code to an audience — for example, in a group code review — the capability to adjust things such as font size and other similar options is great.

To leverage Visual Studio's settings, select Tools O Options to open the Options dialog, shown in Figure 1-16. Within the dialog, make sure the Show all settings check box is selected. Next, select the Text Editor folder, and then the All Languages folder. This section enables you to make changes to the text editor that are applied across every supported development language. Additionally, you can select the Basic folder to make changes that are specific to how the text editor behaves when you edit VB source code.

Options ^ _ - -

_ _ - - ^ - JL *

> Environment

-

Sellings

PrqprK and Solutions

1*1 Draq arid dr up text ediliri4

> Source Control J TextFditor General

i Automatic delimiter highlighting HZllrack changes

File Extension

[yl Auto-fjptprt IJTF-S encoding withotit signaturp

■ All Ldriijudqei

General labs

Display

[V] Selection margin

VB specific

[^indicator margin

> C#

1^1 Vertical scroll bar

> CSS

[0 Llonzontal scroll bar

> F#

> HTMI

> JScripl

> PL/SQL

> Plain TuxL

Was this article helpful?

0 0

Post a comment