You are here: AxTools > CodeSMART 2007 for VB6 > Documentation > User's Guide > Smart Complete > Overview
While browsing this page, why not start downloading the evaluation setup kit (direct download, no questions asked).

SmartComplete Overview

One of the most appreciated features of the Visual Basic Intellisense subsystem is its ability to display a pop-up list with all the names (variables, objects, methods, etc) that are available in the current context. There are times however when you might want to see other helpful suggestions in the Intellisense list - for example Visual Basic language keywords. And why not be able to include even custom items?

The CodeSMART SmartComplete subsystem provides this missing brick on the Visual Basic foundation. It will display an Intellisense-like list whenever it has something to suggest, and the suggestion it makes is based on Visual Basic keywords, statements, custom (user-defined) SmartComplete items and AutoText items.

To display the SmartComplete list simply type a few letters in code (at least two). If it has at least one suggestion, the SmartComplete list window will open, containing all the items whose names start with the typed letters and also match the current code context. Additionally, the SmartComplete subsystem will search and (if found) include as the first element in the list the AutoText item whose alias string is identical with the typed letters.

As keyboard combinations that can be used to validate the selection, you don't have to learn a different system: like in the Intellisense list, any Space, Enter, Tab, Ctrl+Space, Ctrl+Enter, dot, comma and other separators can be used to close the window while inserting the current element. Hitting the Esc key will close the SmartComplete list without altering the code.

Here are two examples on how SmartComplete works:

Example 1
SmartComplete  Private
Example 2
SmartComplete  WithEvents

See also
The SmartComplete Manager

Back To Top

Copyright © 2008 AxTools - CodeSMART 2007 for VB6 - SmartComplete