次の方法で共有


Visual FoxPro IntelliSense Manager Window

The IntelliSense Manager makes it possible for you to perform IntelliSense management tasks:

  • General Tab   Set options that affect the appearance and functionality of IntelliSense, such as feature availability levels and letter casing for syntax completion.

  • Types Tab   Manage items that appear in the AS clause list box for certain Visual FoxPro language elements when implementing strong typing.

  • Custom Tab   Edit records in the IntelliSense table.

  • Advanced Tab   Edit custom IntelliSense properties that affect its functionality. Perform maintenance for records in the IntelliSense table and other IntelliSense functionality.

The IntelliSense Manager application is specified by the _CODESENSE system variable. For more information, see _CODESENSE System Variable.

The IntelliSense table, which is stored in the FoxCode.dbf file, contains records that provide data for the IntelliSense Manager. For more information, see Customizing IntelliSense in Visual FoxPro and _FOXCODE System Variable.

General Tab

Controls availability levels and letter casing formatting options for IntelliSense functionality.

  • Enable IntelliSense
    Activates or disables IntelliSense in Visual FoxPro. For more information, see How to: Activate or Disable IntelliSense.

  • List members
    Specifies the level of availability for List Members functionality. The following levels are available:

    • Automatic   Displays List Members list boxes automatically at the current cursor position when you press the appropriate activator key.

    • Manual   Displays List Members list boxes when you select List Members from the Edit menu or press CTRL+J.

    • Disabled   Does not display List Members list boxes.

    For more information, see How to: Set IntelliSense Options and IntelliSense Syntax Completion.

  • Quick info tips
    Specifies the level of availability for Quick Info functionality. The following levels are available:

    • Automatic   Displays Quick Info list boxes automatically at the current cursor position when you press the appropriate activator key.

    • Manual   Displays Quick Info list boxes when you select List Members from the Edit menu or press CTRL+I.

    • Disabled   Does not display Quick Info list boxes.

    For more information, see How to: Set IntelliSense Options and IntelliSense Syntax Completion.

  • Browse
    Opens a browse window for the IntelliSense table. For more information, see Customizing IntelliSense in Visual FoxPro and _FOXCODE System Variable.

  • Tips
    Opens a window that displays syntax information when you type enough characters to disambiguate a Visual FoxPro command.

    Use this for commands and functions that have many clauses or parameters. The Tips window displays only Visual FoxPro command and function information contained in the IntelliSense table. Class and object IntelliSense is not displayed.

Capitalization/Expansion

This section provides the capability to control how IntelliSense formats letter casing for native Visual FoxPro programming syntax when performing syntax completion or expansion. You can also disable expansion or use the letter casing set in the IntelliSense table.

  • Functions
    Lists IntelliSense letter casing settings for Visual FoxPro functions. The default setting is UPPERCASE.

  • Commands
    Lists IntelliSense letter casing settings for Visual FoxPro commands. The default setting is UPPERCASE.

  • FoxCode default
    Lists letter casing settings for items in the IntelliSense table. This setting serves as a global default setting that items in the IntelliSense table can use if they do not have their own letter casing setting. This setting is stored in the first Version item record in the IntelliSense table. For more information, see IntelliSense Table Structure.

  • Apply changes to Visual FoxPro language only
    Specifies whether to make changes to all or only Visual FoxPro native commands and functions. This setting is stored in the Source field for affected items in the IntelliSense table. For more information, see IntelliSense Table Structure.

Types Tab

Controls the display of available data type and other items when implementing strong typing, for example, when declaring LOCAL myVar AS using the LOCAL command. Types can be core intrinsic elements such as strings, numbers, and Visual FoxPro and COM classes. For more information, see How to: Implement Strong Typing for Class, Object, and Variable Code.

  • Types
    Lists items and data types that can appear in the AS clause list box for certain Visual FoxPro commands. An asterisk in the third column indicates that the Data field for that item contains script code in the IntelliSense table. To hide an item from the list, clear the check box next to the item.

    Tip

    To sort by column, click the column header.

  • Edit
    Displays the selected item from the Types list in a browse window so you can edit its record in the IntelliSense table.

  • Type Libraries
    Searches your Windows registry for available COM Server and ActiveX Control type libraries. You can select type libraries that appear in the Type Library References dialog box to add them to the list of items available for strong typing.

  • Classes
    Opens the Open dialog box so you can select a Visual FoxPro class that you want to add to the list of items available for strong typing.

  • Web Services
    Opens the Visual FoxPro XML Web Services Registration dialog box so you can add a Web service to the list of items available for strong typing. For details, see Visual FoxPro XML Web Services Registration Dialog Box.

Custom Tab

Makes it possible for you to add or modify records for user-defined IntelliSense items in the IntelliSense table. However, you can view all the other IntelliSense items by opening the table directly. For more information, see Customizing IntelliSense in Visual FoxPro.

Note

An asterisk in the third column indicates that the Data field in the record for that IntelliSense item contains script code in the IntelliSense table.

  • Replace
    Specifies the characters that activate syntax expansion using the characters in the With box.

  • With
    Specifies the characters to insert when you type the characters in the Replace box.

  • Type
    Lists types you can select for the IntelliSense item.

  • Script
    Opens an edit window for adding or editing script code for the IntelliSense item. The script code appears in the Data field in the record for that item.

  • Edit
    Displays the entire record for editing the IntelliSense item.

  • Add
    Adds a new IntelliSense item with the specified Replace and With text to the IntelliSense table.

    Note

    The Add button becomes available when you initially select a type other than Command. The Add button changes to Replace if you are modifying an existing IntelliSense item.

  • Delete
    Deletes the selected item.

Advanced Tab

Makes it possible for you to edit custom IntelliSense properties that affect IntelliSense functionality and perform IntelliSense maintenance tasks.

  • Edit Properties
    Displays custom IntelliSense properties in the Custom Properties dialog box so you can specify or edit values for advanced IntelliSense functionality. Closing the Custom Properties dialog box saves your changes.

    • Property   Lists custom IntelliSense properties.

    • Description   Displays a description of the custom IntelliSense property.

    • Value   Displays the value for the custom IntelliSense property.

    The following table describes custom IntelliSense properties.

    Property

    Description

    Default value

    lEnableFullSetDisplay

    Controls whether to add the second word, for example, TO, automatically in certain SET commands.

    T

    lHideScriptErrors

    Suppresses screen output of IntelliSense script errors.

    F

    lKeywordCapitalization

    Enables capitalization and expansion of command keywords.

    T

    lPropertyValueEditors

    Enables scripts that trigger value editors for certain properties.

    T

    lExpandCOperators

    Enables auto expansion of C type operators, such as ++, --, +=, -+, *=, and /=.

    T

    lAllowCustomDefScripts

    Enables scripts to be included into the default script handler.

    T

    lEnableMultiWordCmdExp

    Controls whether to expand commands with multiple words.

    T

    lDebugScribts

    Allows debugging for IntelliSense scripts.

    F

  • Clean Up
    Opens the Maintenance dialog box so you can perform IntelliSense maintenance tasks.

    • Restore Foxcode   Restore the default IntelliSense table for native Visual FoxPro language elements. User-defined items remain unless you delete them manually on the Custom tab of the IntelliSense Manager.

    • Clean Up FoxCode   Removes records marked for deletion in the IntelliSense table.

    • Clean Up Lists   Remove files that no longer exist from most recently used (MRU) lists.

    • Zap Lists    Remove all files from most recently used (MRU) lists.

See Also

Other Resources

Windows (Visual FoxPro)

IntelliSense Overview