Поделиться через


Complete Word

The Complete Word option types the rest of a variable, command, or function name once you have entered enough characters to disambiguate the term.

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 Working with Settings.

Remarks

The behavior of the Complete Word feature depends on whether or not Intellisense is in Completion mode or Suggestion mode. In Completion mode, Complete Word will insert the selected keyword as soon as you press the Tab key, the Enter key, or the Space bar. In Suggestion mode, Complete Word will insert the selected keyword only when the Tab key is pressed. Use Ctrl+Alt+Spacebar with the completion list open to switch between modes. For more information on Completion mode and Suggestion mode, see List Members.

To open the completion list, type the first few letters of the name, or press ALT+RIGHT ARROW or CTRL+SPACEBAR.

Visual Basic noteVisual Basic Note

When a context list is displayed for an object, you can display the global list by invoking Complete Word (ALT+RIGHT ARROW).

C++ noteC++ Note

If you use the Complete Word option from within a C++ attribute block, you will see a list of all available attributes.

If what you have typed has more than one possible match or no match at all, then invoke Complete Word to display the pop-up List Members box, which you can then use to find the term and insert it into your code.

To start the Complete Word feature

  • On the Edit menu, click IntelliSense, and then click Complete Word.

  • Use the ALT+RIGHT ARROW keyboard shortcut.

  • Select the Complete Word toolbar button from the Text Editor toolbar.

  • Begin typing anywhere in a code window.

See Also

Other Resources

Using IntelliSense