16.3. Extended IntelliSense
In addition to these aspects of IntelliSense, Visual Studio 2008 also implements extended IDE functionality that falls into the IntelliSense feature set. These features are discussed in detail in other chapters in this book, as referenced in the following discussion, but this chapter provides a quick summary of what's included in IntelliSense.
16.3.1. Code Snippets
Code snippets are sections of code that can be automatically generated and pasted into your own code, including associated references and Imports statements, with variable phrases marked for easy replacement. To invoke the Code Snippets dialog, press Ctrl+K, Ctrl+X. Navigate the hierarchy of snippet folders (shown in Figure 16-14) until you find the one you need. If you know the shortcut for the snippet, you can simply type it and press Tab, and Visual Studio will invoke the snippet without displaying the dialog. In Chapter 17, you'll see just how powerful code snippets are.
Figure 16.14. Figure 16-14
16.3.2. XML Comments
XML comments were discussed in Chapter 9 as a way of providing automated documentation for your projects and solutions. However, another advantage to using XML commenting in your program code is that Visual Studio can use it in its IntelliSense engine to display tooltips and parameter information beyond the simple variable-type information you see in normal user-defined ...
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.
Read now
Unlock full access