16.2. IntelliSense Options

Visual Studio 2008 sets up a number of default options for your experience with IntelliSense, but you can change many of these in the Options dialog if they don't suit your own way of doing things. Some of these items are specific to individual languages.

16.2.1. General Options

The first options to look at are found in the Environment section under the Keyboard group. Every command available in Visual Studio has a specific entry in the keyboard mapping list (see the Options dialog shown in Figure 16-11, accessible via Tools Options).

Figure 16.11. Figure 16-11

You can overwrite the predefined keyboard shortcuts, or add additional ones. The commands for the IntelliSense commands are as follows:

Table 16.1. IntelliSense Commands
Command NameDefault ShortcutCommand Description
Edit.QuickInfoCtrl+K, Ctrl+IDisplays the Quick Info information about the currently selected item
Edit.CompleteWordCtrl+SpaceAttempts to complete a word if there is a single match, or displays a list to choose from if multiple terms match
Edit.ParameterInfoCtrl+Shift+SpaceDisplays the information about the parameter list in a function call
Edit.InsertSnippetCtrl+K, Ctrl+XInvokes the Code Snippet dialog, from which you can select a code snippet to insert code automatically
Edit.GenerateMethodStub ...

Get Professional Visual Studio® 2008 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.