Opening an Editor

You can launch a text editor (or any other editor in the IDE, for that matter) in two ways. The first way involves using the Solution Explorer: select an existing code file, text file, or other type file and double-click the file. If it is a code file, you can also right-click it and select View Code. The file content is loaded into a new editor window.

The second way to launch an editor window is to choose File, New, File. This launches the New File dialog box. Selecting a code template from this dialog box launches a code editor prefilled with the initial code stubs relevant to the template selected.


The text editor windows live as tabbed windows front and center within the IDE. If multiple code editors are open, they ...

Get Microsoft Visual Studio 2015 Unleashed, Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.