Skip to Content
Visual Studio Code
book

Visual Studio Code

by Bruce Johnson
September 2019
Intermediate to advanced
192 pages
6h 3m
English
Wiley
Content preview from Visual Studio Code

4Editing Code in Your Language of Choice

WHAT'S IN THIS CHAPTER?

  • Learning the basic functionality provided by the editor and editor groups
  • Understanding the advanced features that Visual Studio Code provides
  • Customizing the editor to fit your personal coding style

Visual Studio Code is an editor. While many, many features and extensions are available, at its core, the editing functionality is of paramount importance. In this chapter, we look at the many ways there are to edit a file, the functions and shortcuts that are available to make your life easier, and how you can configure the editor to be what you need it to be.

EDITOR AREA

Figure 4-1 is a repeat of the overall view of Visual Studio Code that appeared in Figure 2-1. The Editor area is on the right side, labeled B. This is the space where editors for all of the files you have opened will appear.

Screenshot of overall view of Visual Studio Code

FIGURE 4-1

By default, the top of the Editor space is a set of tabs, one tab per open file (see Figure 4-2).

Screenshot of the top of the Editor space, which is a set of tabs, one tab per open file

FIGURE 4-2

Each tab contains an icon associated with the file type (for example, JS for JavaScript, C# for C# files, and a hash character [#] for CSS files). The name of the file appears in the middle. To get the full path for the file, hover over the tab with the mouse and the path appears as a tooltip. On right ...

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.
Start your free trial

You might also like

Visual Studio Code for Python Programmers

Visual Studio Code for Python Programmers

April Speight

Publisher Resources

ISBN: 9781119588184Purchase book