Qoder CN lets you customize keyboard shortcuts, enable or disable features like inline completion, and configure other settings in Visual Studio Code and JetBrains IDEs.
Configuration in Qoder CN IDEQoder CN
Prerequisites
To use the Qoder CN IDE, you must first install Qoder CN and sign in with your Alibaba Cloud account. For more information, see the Installation Guide.
Keyboard shortcuts
|
Actions |
macOS |
Windows |
|
Open or close AI Chat |
|
|
|
Open basic IDE settings |
|
|
|
Open personal settings |
|
|
|
Open the command panel |
|
|
|
Send a message |
|
|
|
Insert a new line |
|
|
|
Accept all suggested changes |
|
|
|
Reject all suggested changes |
|
|
|
Open inline chat |
|
|
|
Send to the chat window |
|
|
|
Add context |
|
|
|
Invoke a quick command |
|
|
|
Add selected code to chat |
|
|
|
Accept a single change |
|
|
|
Reject a single change |
|
|
|
Accept all changes in the file |
|
|
|
Reject all changes in the file |
|
|
|
Navigate to the next file |
|
|
|
Navigate to the previous file |
|
|
|
Navigate to the next change |
|
|
|
Navigate to the previous change |
|
|
Rebind keyboard shortcuts
-
In the upper-right corner of the Qoder CN IDE, click the user icon
or use the keyboard shortcut (⌘⇧,for macOS orCtrlShift,for Windows), and select Your Settings. -
Click General, navigate to , search for the key binding, click the edit icon
next to the shortcut you want to change, and press Enter.
Enable inline suggestion prediction (NES)
In the upper-right corner of the Qoder CN IDE, click the user icon
or use the keyboard shortcut (⌘ ⇧ , for macOS or Ctrl Shift , for Windows), select Your Settings, and enable Inline Suggestion Prediction (NES).
The Qoder CN IDE supports only Auto mode. In this mode, the IDE automatically selects either the inline or side-by-side display method based on the context.
Customize project-specific rules
-
In the upper-right corner of the Qoder CN IDE, click the user icon
or use the keyboard shortcut (⌘⇧,for macOS orCtrlShift,for Windows), and then select Your Settings. -
In the left navigation pane, click Rules.
-
Click Add.
-
In the search bar at the top, enter a unique name for the rule, and then press Enter.
-
Select a rule type:
-
Manual: Takes effect only when manually invoked by using
@rule. -
Model Decision: Describe when the rule should apply.
-
Specific Files: Provide comma-separated file path wildcards, for example,
*.mdorsrc/*.java. -
Always: Applies to all requests in AI Chat and inline chat.
-
-
Close the window to save your changes.
Configuration in Visual Studio CodeQoder CN
Prerequisites
To use Qoder CN in Visual Studio Code, you must install Qoder CN and sign in with your Alibaba Cloud account. For more information, see the Installation Guide.
Keyboard shortcuts
|
Action |
macOS |
Windows |
|
Open or close the 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, open the keyboard shortcut settings.
From the top menu bar, go to Code > Preferences > Keyboard Shortcuts, or use the keyboard shortcut
⌘K ⌘Sto open it directly. -
In the Keyboard Shortcuts window, search for Qoder CN, and click the edit icon next to a command. In the dialog that appears, enter the new key combination for the command and press
Enter/Return.
Enable or disable inline completion
You can enable or disable inline completion in two ways:
Method 1: Click the Qoder CN icon in the status bar to quickly enable or disable inline completion.
-
You can configure whether to enable the local machine model and the cloud model.
-
If both the local machine model and the cloud model are enabled, the cloud model takes priority for inline completion.
Click the Lingma icon in the bottom-right corner of VS Code. In the Lingma Status panel, select or clear Cloud Model Auto Trigger to enable or disable inline completion.
Method 2: On the settings page, enable or disable inline completion and configure the generation length.
Click the gear icon at the top of the LINGMA panel to open the settings page. The cloud model settings include Cloud Model Enable (enables the cloud model); Cloud Model Auto Trigger Generate Length and Cloud Model Manual Trigger Generate Length (set the generation length for automatic and manual triggers, respectively); and Cloud Model Auto Trigger Display Rule. The local machine model settings include Local Machine Model (enables local model completion); Local Machine Model Inference Mode (for example, Auto Mode); and Local Machine Model Max Candidate Num (the maximum number of candidates).
Enable or disable the Method Quick Operation
In the AI Chat window of Qoder CN, click Settings, find the Method Quick Operation setting, and select or clear the checkbox.
IDE and inline completion display rules
Open the settings page to configure whether to show inline suggestions alongside the IDE native completion dropdown. This option is disabled by default.
This setting is Lingma: Cloud Model Auto Trigger Display Rule, and the corresponding option is Show inline suggestions when the IDE autocompletes shown.
Configuration in JetBrains IDEsQoder CN
When you use Qoder CN, you can use the default keyboard shortcuts for Qoder CN features in your JetBrains IDE. You can also rebind the shortcuts for commands. For more information about rebinding keyboard shortcuts in JetBrains IDEs, see the JetBrains documentation, such as the documentation for IntelliJ IDEA.
Prerequisites
To use Qoder CN in a JetBrains IDE, you must install Qoder CN and sign in with your Alibaba Cloud account. For more information, see the Installation Guide.
Keyboard shortcuts
|
Action |
macOS |
Windows |
|
Open or close the AI Chat panel |
|
|
|
Accept inline suggestion |
|
|
|
Discard inline suggestion |
|
|
|
Show previous inline suggestion |
|
|
|
Show next inline suggestion |
|
|
|
Manually trigger inline suggestion |
|
|
Rebind keyboard shortcuts
-
Open the preferences in your JetBrains IDE. For example, in IntelliJ IDEA:
From the top menu bar, click IntelliJ IDEA and select Preferences... (keyboard shortcut
⌘,). -
In the settings window, click Keyboard Shortcuts, search for
Panel, find theQoder CNshortcut, right-click it, and click Modify Keyboard Shortcut. In the pop-up window, enter the key combination for the command and click OK.
Enable or disable inline completion
Method 1: Click the Qoder CN icon in the status bar to quickly enable or disable inline completion.
-
You can configure whether to enable the local machine model and the cloud model.
-
If both the local machine model and the cloud model are enabled, the cloud model takes priority for inline completion.
Click the Lingma icon in the bottom status bar. In the Lingma Status menu, go to the Completion Settings section and click Local Machine Model to enable or disable inline completion for the local model.
Method 2: Open the settings page to enable or disable inline completion and configure the generation length.
In the Settings dialog box, click Lingma in the left pane. In the Completion Settings section on the right, select or clear the Enable Local Machine Model and Enable Cloud Model checkboxes to enable or disable the corresponding models. From the Code Completion Length dropdown, select a mode (Auto Mode, Speed First, or Whole-line First). You can also set the Completion Length of Auto Trigger and Completion Length of Manual Trigger (the manual trigger shortcut is ⌥P).
Enable or disable the Method Quick Operation
Open the settings page to enable or disable the Method Quick Operation.
In the Settings panel, select Tools > Lingma in the left navigation pane. On the right, find Method Quick Operation and select Enabled or Disabled.
IDE and inline completion display rules
Open the settings page to configure whether to display auto-generated inline suggestions and the IDE native completion dropdown simultaneously. This option is disabled by default.
In the Preferences dialog box, select Lingma from the navigation tree on the left. In the Completion Settings section on the right, find and select the Show inline suggestions when the IDE autocompletes checkbox as needed.
Help and feedback
Help documentation
In the AI Chat window of Qoder CN, click the help link to access the knowledge base.
You can display the AI Chat window as a panel embedded in the sidebar or as a separate floating window. The top of the panel contains icons such as Refresh, Help, Pin, and Settings. Use the keyboard shortcut Ctrl+Shift+L to open or close the panel.
Rate response quality
In AI Chat, you can rate responses from Qoder CN with a thumbs-up or thumbs-down to help us continuously improve the response quality.
Report issues
If you have any questions, suggestions for optimization, or feature requests, click Submit Feedback in the AI Chat window of Qoder CN to post your question in the Qoder CN Q&A section of the Alibaba Cloud Developer Community.
In Visual Studio Code, click the feedback icon in the toolbar at the top of the LINGMA sidebar to submit feedback. In JetBrains IDEs, click the feedback icon in the upper-right corner of the AI Chat tool window to submit feedback.
Experience surveys
We welcome your feedback and suggestions to help us improve your AI coding experience.
In VS Code, open the Lingma chat panel and click the share feedback link in the welcome message to submit your feedback.