Chapter 4. The Visual Studio Workspace

WHAT'S IN THIS CHAPTER?

  • Using the code editor

  • Exploring the core Visual Studio tool windows

  • Reorganizing your workspace

So far you have seen how to get started with Visual Studio 2010 and how to customize the IDE to suit the way that you work. In this chapter, you learn to take advantage of some of the built-in commands, shortcuts, and supporting tool windows that will help you to write code and design forms.

THE CODE EDITOR

As a developer you're likely to spend a considerable portion of your time writing code, which means that knowing how to tweak the layout of your code and being able to navigate it effectively are particularly important. Visual Studio 2010 introduces an all new WPF-based code editor that provides numerous new features from what was available in previous versions of Visual Studio.

The Code Editor Window Layout

When you open a code file for editing you are working in the code editor window, as shown in Figure 4-1. The core of the code editor window is the code pane in which the code is displayed.

Figure 4-1

Figure 4-1. Figure 4-1

Above the code pane are two drop-down lists that can help you navigate the code file. The first drop-down lists the classes in the code file, and the second one lists the members of the selected class in the first drop-down. These are listed in alphabetical order, making it easier to find a method or member definition within ...

Get Professional Visual Studio® 2010 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.