Search and Replace Shortcut Keys, Visual C++ 6.0 Default Shortcut Option

Use the following shortcut key combinations with the Find and Replace dialog box.

Note

The appearance of features in the IDE can depend on your active settings or edition, and might differ from those described in Help. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

Note

To see a list of shortcut keys that have changed or are no longer supported in Visual C++ .NET, see Obsolete Visual C++ 6.0 Key Commands and Changes to Visual C++ 6.0 Key Commands.

Command name

Shortcut keys

Description

Edit.Find

CTRL + F

Displays the Find dialog box.

Edit.FindinFiles

CTRL + SHIFT + F

Displays the Find in Files dialog box.

Edit.FindNext

F3

Finds the next occurrence of the previous search text.

Edit.FindNextSelected

CTRL + F3

Finds the next occurrence of the currently selected text in the document.

Edit.FindPrevious

SHIFT + F3

Finds the previous occurrence of the search text.

Edit.FindPreviousSelected

CTRL + SHIFT + F3

Finds the previous occurrence of the currently selected text, or the word at the caret.

Edit.GoToFindCombo

CTRL + D

Places the caret in the Find/Command line on the Standard toolbar.

Edit.HiddenText

ALT + F3, H

Selects or clears the Search Hidden Text option for Find dialog box.

Edit.IncrementalSearch

CTRL + I

Starts incremental search. If incremental search is started but you have not typed any characters, recalls the previous pattern. If text has been found, searches for the next occurrence.

Edit.MatchCase

ALT + F3, C

Selects or clears the Match Case option for find and replace operations.

Edit.RegularExpression

ALT + F3, R

Selects or clears the Regular expression option so that special characters can be used in find and replace operations.

Edit.Replace

CTRL + H

Displays the Replace dialog box.

Edit.ReplaceinFiles

CTRL + SHIFT + H

Displays the Replace in Files dialog box.

Edit.ReverseIncrementalSearch

CTRL + SHIFT + I

Changes the direction of incremental search to begin at the bottom of the file and progress towards the top.

Edit.StopSearch

ALT + F3, S

Halts the current Find in Files operation.

Edit.Up

ALT + F3, B

Selects or clears the Search Up option for find and replace operations.

Edit.WholeWord

ALT + F3, W

Selects or clears the Match whole word option for find and replace operations.

Edit.Wildcard

ALT + F3, P

Selects or clears the Wildcard option for find and replace operations.

See Also

Tasks

How to: Work with Keyboard Shortcuts

Concepts

Pre-defined Keyboard Shortcuts

Other Resources

Visual C++ 6.0 Default Shortcut Keys