The following is a list of AIP-powered features in Code Repositories.
Access AIP Assist features through the Ask AIP Assist option, through the editor's right-select menu, or through options inline and enhance your code comprehension using AIP Assist.
The AIP Assist features in Code Repositories can be configured by navigating to Ask AIP Assist > Configure AIP Settings > AIP features.
You can now use AIP in Code Repositories to explain the purpose of code snippets or entire files.
Use AIP in Code Repositories to check and debug your code.
AIP in Code Repositories can convert your code to various languages such as Python, SQL, Mesa, or Java.
Context-aware attachments allow users to attach code snippets, files, and repositories to conversations with AIP Assist. These attachments provide context that enriches AIP Assist knowledge and enables more accurate responses to code-specific questions. You can attach supported resources via the AIP Assist sidebar or from the Ask AIP Assist dropdown.
Code snippets can also be attached by highlighting the desired code, right-clicking, and selecting Attach to AIP Assist from the context menu or directly by using the inline code-assistance options that appear above the selected code.
Code Repositories now features inline code assistance when a code snippet is highlighted. The Explain, Find bugs, and Ask a question options are displayed above the selected code snippet to enable users to access targeted help from AIP Assist directly from code.
This feature can be disabled by opening the Ask AIP Assist dropdown menu in the top right corner of the editor, and selecting Configure AIP Settings. In the AIP features section, users can configure the Show AIP Assist actions above selected code option and other AIP features to suit their needs.
Users can also access these AIP Assist features from the Ask AIP Assist dropdown menu, or by right-clicking a highlighted code snippet and selecting one of the available AIP Assist options from the context menu.
The AI error enhancer provides comprehensive error explanations and suggested code changes where available, along with access to source documents for further information. This feature is available in the Foundry apps listed below:
In Code Repositories, the feature is shown in the Checks and Preview section.
In Builds, this feature is found in the Job status menu.
The feature is currently exclusive to Python repositories.
Code autocomplete can help you generate code toward your objective by parsing your currently-opened file to automatically provide the relevant autogenerated code.
tab
.esc
, or start typing something else.Code autocomplete can be toggled on or off directly in the editor status bar at the bottom of the window or by navigating to Settings (purple cog icon) > Preferences > AIP Features.
Note: AIP feature availability is subject to change and may differ between customers.