lets you configure common shortcuts and features, such as the ability to enable or disable inline completion in Visual Studio Code and JetBrains integrated development environments (IDEs).
Configuration in the Lingma IDE: Lingma
Preparations
Download and install . Log on with your Alibaba Cloud account.
View keyboard shortcuts
Operation | macOS | Windows |
Open/Close AI chat |
|
|
Open IDE basic settings |
|
|
Open personal settings |
|
|
Open command panel |
|
|
Submit message |
|
|
Insert new line in input |
|
|
Accept all suggested changes |
|
|
Reject all suggested changes |
|
|
Open inline chat |
|
|
Send to chat panel |
|
|
Add context |
|
|
Invoke quick command |
|
|
Add selected code to session |
|
|
Accept a single change |
|
|
Reject a single change |
|
|
Accept all changes in file |
|
|
Reject all changes in file |
|
|
Navigate to next file |
|
|
Navigate to previous file |
|
|
Navigate to next change |
|
|
Navigate to previous change |
|
|
Rebind keyboard shortcuts
In the upper-right corner of Lingma IDE, click the user icon
or use the keyboard shortcut (⌘⇧,for macOS orCtrlshift,for Windows), and then select Your Settings.Click General and go to . Search for a command by name, select the
icon next to the target command to rebind shortcut, and then press Enter.
Enable inline Next Edit Suggestion (NES)
In the upper-right corner of Lingma IDE, click the user icon
or use the keyboard shortcut (⌘ ⇧ , for macOS or Ctrl shift , for Windows), select Your Settings, and enable NES.
Lingma IDE supports only the Auto mode. In this mode, the IDE automatically selects the Inline or Side by Side method based on the scenario.
Customize project-specific rules
In the upper-right corner of Lingma IDE, click the user icon
or use the keyboard shortcut (⌘⇧,for macOS orCtrlshift,for Windows), and then select Your Settings.In the navigation pane on the left, click Rules.
Click Add.
In the search bar at the top, enter the rule name and press Enter.
Select a rule type:
Manual: The rule takes effect only when it is manually imported using @rule.
Model Decision: Describe the scenario where you want the rule to apply.
Specific Files: Enter file path wildcard characters, separated by commas. For example,
*.md,src/*.java.Always: The rule applies to all requests in AI chat and inline chat.
Close the window to save the changes.
Configure in Visual Studio Code
Preparations
To use in Visual Studio Code, you must install and log on with your Alibaba Cloud account. For more information, see Download and install.
View keyboard shortcuts
Operation | macOS | Windows |
Open/Close AI Chat panel |
|
|
Accept inline suggestion |
|
|
Discard inline suggestion |
|
|
Show previous inline suggestion |
|
|
Show next inline suggestion |
|
|
Manually trigger inline suggestion |
|
|
Rebind keyboard shortcuts
In Visual Studio Code, go to Preferences and select Keyboard Shortcuts.

In the Keyboard Shortcuts window, search for Lingma and click the edit icon for the command that you want to change. In the pop-up window, press the new key combination, and then press
Enter/Return.
Enable or disable inline completion
You can enable or disable the inline completion feature in two ways:
Method 1: Click the icon in the status bar. In the pop-up window, you can quickly enable or disable the inline completion feature:
Specify whether to enable Local Machine Model and Cloud Model Auto Trigger.
If both models are enabled, cloud-based suggestions will be prioritized during inline completion.

Method 2: On the Settings page, enable or disable inline completion and set the completion length.

Enable or disable Method Quick Operation
In the AI Chat panel of Lingma, click Settings, and toggle the Settings tab to enable or disable the Method Quick Operation feature.

Configure the display rules for IDE native completion and inline suggestions
In the Settings page, choose whether to display inline suggestions and IDE native drop-down completions simultaneously; By default, this option is unchecked.

Configure in JetBrains IDEs
You can use the default shortcuts in a JetBrains IDE for the features of Lingma. You can also modify the shortcuts of the commands. For more information about rebinding shortcuts in a JetBrains IDE, see the JetBrains documentations, such as IntelliJ IDEA.
Preparations
To use in a JetBrains IDE, you must install and log on with your Alibaba Cloud account. For more information, see Download and install.
View keyboard shortcuts
Operation | macOS | Windows |
Open/Close AI Chat |
|
|
Accept inline suggestion |
|
|
Discard inline suggestion |
|
|
Show previous inline suggestion |
|
|
Show next inline suggestion |
|
|
Manually trigger inline code suggestion |
|
|
Rebind keyboard shortcuts
Open the JetBrains IDE Preferences menu. The example below shows how to locate it in IntelliJ IDEA:

In the Keymap section of the settings window, type Panel in the search box. Locate Lingma Panels, right-click it, and select Add Keyboard Shortcut. Enter the desired key combination for the command and press Enter or Return to confirm.

Enable or disable inline completion
Method 1: Click the icon in the status bar. In the pop-up window, you can enable or disable the inline completion feature:
Enable or disable the offline model and the cloud model.
If both the offline model and the cloud model are enabled, code suggestions from the cloud model are prioritized during inline completion.

Method 2: Open the Settings page to enable or disable inline completion and set the completion length.

Enable or disable inline Method Quick Operation
Open the Settings page to enable or disable inline Method Quick Operation.

Configure the display rules for IDE native completion and inline suggestions
Open the Settings page. You can configure whether to display automatically generated inline suggestions and IDE native drop-down completions at the same time. This option is not selected by default.

View help documentation and share your feedback
View help documentation
In the AI Chat panel of , click the help documentation link to access.

Give feedback on the quality of AI Chat responses
In AI Chat, you can rate the answers that generates. Your feedback helps us continuously optimize the quality of the answers.

Report issues
If you have any questions, suggestions, or requests, click Issue Report in the AI Chat panel of . You will be redirected to the Lingma Q&A section of the Alibaba Cloud Developer Community to post your questions.

Participate in experience surveys
To help us provide a better intelligent coding experience, we invite you to share your feedback, suggestions, and expectations. Your feedback are highly valued for continuous product optimization.
