次の方法で共有


How to: Set IntelliSense Options

You can set IntelliSense options that affect its availability and appearance as described by the following sections:

  • Setting Availability Levels for Quick Info and List Members

  • Specifying the Number of Files in the Most Recently Used (MRU) List

  • Setting the Number of Items to Display in IntelliSense List Boxes

To customize IntelliSense functionality for Visual FoxPro and user-defined language elements, including commands and functions that display IntelliSense-like lists, such as SET commands, modify the records in the IntelliSense table. For more information, see Customizing IntelliSense in Visual FoxPro.

Setting Availability Levels for Quick Info and List Members

You can change the level of availability for Quick Info and List Members to Auto, Manual, or Disabled. Setting these options makes it possible for you to activate or disable Quick Info and List Members in the following ways:

  • When set to Automatic (default), Quick Info or List Members appears where appropriate when the corresponding activator key is pressed. For more information about using activator keys, see How to: View IntelliSense When Writing Code.

  • When set to Manual, Quick Info or List Members is available when you choose Quick Info or List Members, respectively, on the Edit menu, a shortcut menu, or by pressing the appropriate keyboard shortcut when the cursor is positioned at a location where Quick Info or List Members is available.

  • When set to Disabled, Quick Info or List Members is unavailable and does not appear.

    Note

    For commands, syntax information that appears in Tip windows appears automatically unless Quick Info and List Members are set to Disabled.

For more information, see Visual FoxPro IntelliSense Manager Window.

To set availability for Quick Info and List Members

  1. On the Tools menu, click IntelliSense Manager.

  2. In the IntelliSense Manager dialog box, click the General tab.

  3. To make options available for Quick Info or List Members, make sure the Enable IntelliSense check box is selected.

    If the Enable IntelliSense check box is cleared, Quick Info and List Members are both disabled.

  4. Select the options you want in the List members or Quick info tips list boxes.

  5. When you are finished, click OK.

You can also activate or disable List Members and Quick Info programmatically by setting the appropriate options in the EditorOptions property using the _VFP system variable. For more information, see EditorOptions Property.

Specifying the Number of Files in the Most Recently Used (MRU) List

You can specify the number of files displayed in the MRU list using the Options dialog box.

To specify the number of files in the MRU list

  1. On the Tools menu, click Options.

  2. In the Options dialog box, click the View tab.

  3. In the Most Recently Used list contains box, select or type the number of files you want to display.

  4. When you are finished, click OK.

For more information, see View Tab, Options Dialog Box.

Setting the Number of Items to Display in IntelliSense List Boxes

You can set the number of items to display initially in IntelliSense list boxes using the Options dialog box.

To set the number of items to display in IntelliSense list boxes

  1. On the Tools menu, click Options.

  2. In the Options dialog box, click the View tab.

  3. In the List display count box, select or type the number of items you want to display initially in IntelliSense list boxes.

  4. When you are finished, click OK.

For more information, see View Tab, Options Dialog Box.

See Also

Tasks

How to: View IntelliSense When Writing Code

How to: Activate or Disable IntelliSense

Other Resources

IntelliSense Overview