Lingma 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).
Install in Visual Studio Code
Before you start
Make sure you have installed Lingma and log on to Lingma using your Alibaba Cloud account. See Install Lingma for details.
View shortcuts
Command | macOS | Windows |
Open/Close AI Chat |
|
|
Accept Inline Suggestion |
|
|
Discard Inline Suggestion |
|
|
Show Previous Inline Suggestion |
|
|
Show Next Inline Suggestion |
|
|
Manually Trigger Inline Code Suggestions |
|
|
Rebind shortcuts
Step 1: Go to Visual Studio Code > Preferences > Keyboard Shortcuts.
Step 2: On the Keyboard Shortcuts tab, enter Lingma in the search box, and click the Edit icon of the command to bind a new shortcut. In the dialog box, configure the shortcut and press Enter
or Return
.
Enable or disable inline completion
There are two ways to do this:
Method 1: Click the Lingma icon in the status bar. In the dialog box that appears:
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: Enable or disable the inline completion feature in Settings. You can also configure the completion length there.
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.
Install 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 documentation, such as the IntelliJ IDEA documentation.
Preparations
To use Lingma in a JetBrains IDE, you must install Lingma and log on to Lingma by using your Alibaba Cloud account. For more information, see Download and Installation guide.
View shortcuts
Command | Windows | macOS |
Open/Close AI Chat |
|
|
Accept Inline Suggestion |
|
|
Discard Inline Suggestion |
|
|
Show Previous Inline Suggestion |
|
|
Show Next Inline Suggestion |
|
|
Trigger Inline Suggestion |
|
|
Rebind shortcuts
Step 1: Open the JetBrains IDE Preferences menu. The example below shows how to locate it in IntelliJ IDEA:
Step 2: 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.
Access the documentation and provide feedback
Access the documentation
Here's how to access the documentation in the LingmaAI Chat panel:
Method 1: Use the /help
command within the AI Chat panel to quickly access documentation.
Method 2: In the upper-right corner of the AI Chat panel, click Help to access the help documentation.
Feedback on the quality of AI Chat responses
In the AI Chat panel, you can rate responses by giving likes or dislikes to improve response quality.
Feedback on usage issues
If you have any questions, suggestions, or feature requests when using the service, click Issue Report in the upper-right corner of the AI Chat panel. You can also visit the "Lingma Q&A" section of Alibaba Cloud Developer Community to submit your questions.
Share feedback
To enhance your AI coding experience, we invite you to share feedback on how you use the product, any suggestions you may have, and your expectations. We are committed to improve the offerings based on your insights.