How to: Edit IntelliSense Records

You can add new items to the IntelliSense table or edit existing items. You can edit user-defined items in the IntelliSense table using the Visual FoxPro IntelliSense Manager or all IntelliSense records by opening and browsing the table directly or accessing the table programmatically.

To add new items to the IntelliSense table

  1. On the Tools menu, click IntelliSense Manager.

  2. In IntelliSense Manager, click the Custom tab.

    The Custom tab lists all user-defined items in the IntelliSense table.

  3. In the Type box, select the item type you want.

    Note

    The Add button becomes available when you initially select a type other than Command.

  4. Click Add.

    A new record appears at the beginning of the table displayed on the Custom tab.

  5. In the Replace box, type the characters to replace with text in the With box.

    Note

    When you type the characters in the Replace box at the appropriate cursor location, the text you specify in the With box replaces the text you typed.

  6. In the With box, type the characters you want to use to replace the text in the Replace box.

  7. To add code to the Data field, click Script.

    An editor window opens so you can add code to the Data field for that item.

  8. To view and edit the entire record, click Edit.

    The IntelliSense table opens so you can edit other fields in the record.

For more information, see Visual FoxPro IntelliSense Manager Window.

To edit existing user-defined items in the IntelliSense table

  1. On the Tools menu, click IntelliSense Manager.

  2. In IntelliSense Manager, click the Custom tab.

    The Custom tab lists all user-defined items in the IntelliSense table.

  3. In the list of items, select the item you want to edit.

  4. To view and edit the entire record, click Edit.

Opening the IntelliSense Table Programmatically

You can access the IntelliSense table programmatically using the _FOXCODE system variable. For more information, see _FOXCODE System Variable.

To open the IntelliSense table programmatically

  • In the Command window, type the following lines of code:

    USE (_FOXCODE) SHARED
    BROWSE
    

    The IntelliSense table opens in a Browse window.

See Also

Tasks

How to: Create IntelliSense Scripts
How to: Restore the Default IntelliSense Table

Reference

IntelliSense Table Structure

Other Resources

Customizing IntelliSense in Visual FoxPro