All Products
Search
Document Center

AI Coding Assistant Lingma:FAQ

Last Updated:Jan 22, 2026

This topic provides answers to questions about Lingma, such as startup and logon, supported languages, data security, pricing, and OpenAPI.

Note

If you encounter issues while using the product, first try restarting your IDE. If the problem persists, join the DingTalk group: 53770000738. We will resolve your issue as soon as possible.

Plugin startup, login failure, and permission errors

1. What to do about the 'Lingma starting' message?

If you see the "Lingma is starting up" prompt when using Lingma, follow these steps to troubleshoot and resolve the issue.

  1. Check your version and runtime environment:

    • Ensure you have upgraded Lingma to the latest version, and confirm that your operating system and system architecture support running Lingma.

    • If you are using a JetBrains IDE, verify that your IDE has sufficient heap memory. To do this, go to File -> Invalidate Caches, clear the cache, and restart the IDE.

  2. Network and Proxy Configuration:

    • Ensure the following addresses are accessible. If they are not, contact your company’s IT department to add them to the whitelist:

      • Run the command:

        curl https://lingma.alibabacloud.com/algo/api/v1/ping

        The expected return value is pong.

    • If your company firewall restricts access and whitelisting is not possible, manually configure a proxy address (contact your IT department for the correct address):

      Proxy format: http(s)://username:password@proxy-server-address:port

      • If the domain setting does not take effect, manually edit the configuration file:

        Path: C:\Users\username\AppData\Local\.lingma\config.json

        Update the http_proxy field, then terminate the Lingma process and restart it.

    • Clear your DNS cache:

      • Windows: Run the command ipconfig /flushdns

      • macOS: Run the command sudo killall -HUP mDNSResponder

  3. Clear local cache and restart your IDE. Launch the IDE with administrative permission, open a non-empty project folder, and then:

    1. Terminate the Lingma process.

    2. Delete the .lingma directory:

      1. Windows: C:\Users\[username]\.lingma

      2. macOS: ~/.lingma

    3. After completing these steps, restart your IDE.

  4. Manually start the Lingma service. If the issue remains unresolved, try starting Lingma manually:

    Navigate to the .lingma/bin/x.x.x/CPU_architecture_64_OS/ directory.

    Run the command:

    Lingma.exe start

    After the service starts successfully, click the login button again.

  5. Resolve “incompatible program” errors: On Windows, if you receive an “incompatible program” message, it may be due to incomplete extraction. To fix this:

    • Click the Lingma icon in the bottom-right corner and select Advanced Settings.

    • Change the extraction path to a non-C drive location, ensuring the path ends with an empty folder.

    • Restart your IDE and try again.

    Note

    Some corporate networks lock binary programs, preventing them from running.

  6. Firewall or security software restrictions: If Lingma still fails to start or login appears unresponsive, your firewall or corporate security software may be blocking it. Follow these steps:

    • Add a firewall whitelist:

      Go to Control Panel -> System and Security -> Windows Defender Firewall -> Allow an app through firewall, and add Lingma.

    • Add the process file to your company's security software whitelist:

      Example path: C:\Users\xxx\.lingma\bin\2.1.x\x86_64_windows\lingma.exe

      (Contact your IT support team for assistance.)

    • If the Lingma JetBrains plugin is version 2.1.4 or later, you can switch to stdio mode as shown in the figure below: Switch to stdio mode.

2. What should I do if login fails or I see a “no permission” error?

After clicking login in your IDE client, you are redirected to your browser to log in to your Alibaba Cloud account. Login failure or “no permission” errors can occur in two scenarios:

  • Login parameters may expire, causing login failure. Wait a moment and click login again in your IDE client.

  • When your network environment requires a proxy to access the Internet, a logon failure or permission error may occur. If this happens, upgrade Lingma to the latest version and ensure that the following hosts are accessible. If the network connection to these hosts is blocked, add them to a whitelist. You can refer to Network Proxy Configuration to resolve this issue.

curl  https://lingma.alibabacloud.com/algo/api/v1/ping
  • After configuring the proxy, find the Lingma process in your task manager, terminate it, and return to your IDE to log in again.

3. For Remote SSH, WSL, and other remote development tools, how do I log on to Lingma?

When you use VS Code or JetBrains IDEs to connect to a remote server for development, you can use the AK/SK of your Alibaba Cloud account to log on and use Lingma. For more information, see Installation and Logon.

4. Can I use Lingma in Web IDE?

Yes. Log in using your Alibaba Cloud account’s AccessKey ID and AccessKey Secret. See Installation and login.

Network issues

1. How do I configure a network proxy?

Lingma supports HTTP, HTTPS, and Socks5 network proxy configurations. You can configure them on the plugin settings page. For more information, see Network proxy configuration.

2. How do I test network connectivity?

You can enter the following command in the Terminal, and if pong is returned, it is highly likely that you can connect to the Lingma server.

curl  https://lingma.alibabacloud.com/algo/api/v1/ping

3. How do I troubleshoot network issues?

To help us resolve your issue faster, follow these steps and provide the requested information:

  1. Go to “Lingma Settings” > “Network” > Run diagnostics, and send us the full diagnostic report.

  2. Are you currently using a VPN, proxy, or corporate network? If so, try disabling these services or switching to a different network.

  3. In the chat interface, try selecting models of different tiers and observe whether response speed improves.

  4. If the issue persists after these steps, provide the following details for further investigation:

    • A specific example of the delay and its corresponding timestamp;

    • Open “Help” > “Toggle Developer Tools,” check the console error logs, and send a screenshot;

    • Does this issue occur in all projects or only in a specific workspace?

    • Can other users on the same network reproduce this issue?

    Submit this information using the “Report Issue” feature.

Billing

1. LingmaHow is it priced?

We offer a Personal Basic Plan and a Personal Professional Plan for individual developers. The Personal Professional Plan is currently free for a limited time. All users can access the Personal Professional Plan during this period. After the free period ends, the Personal Basic Plan will remain free for all developers. The end date of the free period has not been determined—please watch for future product announcements. For enterprise pricing details, see Billing overview.

Accounts

1. Which account do you use to log on to Lingma?

To use Lingma, you need to log on with your Alibaba Cloud account. In the Lingma assistant window of your IDE client, click the logon button to complete the Alibaba Cloud logon. If you do not have an Alibaba Cloud account, please register an account first.

Supported IDEs, operating systems, and languages

1. What JetBrains IDE versions are compatible?

Lingma currently supports JetBrains IDEs 2020.3 (203.x) and later, including IntelliJ IDEA, PyCharm, GoLand, WebStorm, and other JetBrains IDEs.

2. What Visual Studio Code versions are compatible?

Visual Studio Code is compatible with version 1.68.0 and later.

3. What Visual Studio 2022 versions are compatible?

Lingma currently supports Visual Studio 2022 version 17.3.0 and later.

4. What operating systems are supported?

  • JetBrains IDEs: Windows 7 and later, macOS, Linux.

  • Visual Studio Code: Windows 7 and later, macOS, Linux.

  • Visual Studio 2022: Windows 10 and later.

5. What programming languages are supported?

Lingma fully supports mainstream programming languages and delivers superior performance in Java, Python, Go, JavaScript, TypeScript, C/C++, and C# coding scenarios.

Data security and quality

1. Does Lingma store my code data?

We do not store your code data:

  • For code completion, we need your code context to generate suggestions, but this context is not stored or used for any other purpose. You retain full ownership and control of your data.

  • For AI-powered Q&A, we only collect chat records (excluding code) after you click thumbs-up or thumbs-down. These records are anonymized and de-identified before being used to improve our algorithms.

For more details, see the Lingma Privacy Policy.

2. Lingma: What does the training data include?

Training data includes high-quality open-source code, technical community articles and documentation, Alibaba Cloud service documentation, and Alibaba Cloud SDK/API usage guides.

3. Are my code snippets shared with other users?

No. For code completion using large language models, we need your code context to generate suggestions, but this context is not stored or used for any other purpose. You retain full ownership and control of your data.

4. Can the code generated by Lingma be used directly?

The code generated by Lingma is only a suggestion, and its availability cannot be guaranteed. You must review the code and decide whether to use it.

Potential issues during use

1. What should I do if the Lingma process uses excessive CPU or memory?

  • Case 1: Your project may contain many files, causing high CPU or memory usage during indexing. To reduce this, create a .tongyiignore file in your project root directory and exclude directories or files you do not want indexed. The .tongyiignore format matches .gitignore. After updating the file, manually terminate the Lingma process for changes to take effect.

  • Case 2: You may have enabled the local offline model, which uses approximately 500 MB of memory. If you do not need this feature, disable offline model completion in settings.

2. VS Code shows “Extension host terminated unexpectedly”

If you see this error: “extension host terminated unexpectedly 3 times within the last 5 minutes.”

Cause: This is usually caused by a memory leak in an extension. You can first use the extension bisect method to confirm if the crash is caused by the Lingma extension.

Solution: If you confirm that the plugin is causing the issue, you can resolve it as follows:

  • Reinstall VS Code and restart your system (recommended).

  • Windows users: Disable security software or add code.exe to the whitelist.

If the issue persists, join DingTalk group 53770000738 and provide the following information:

  1. Your operating system and VS Code versions.

  2. Collect verbose logs:

    1. Completely exit VS Code.

    2. Launch VS Code from the command line using code --verbose.

    3. Perform the action that causes the crash.

    4. Review the output logs. The first few lines often indicate the crash cause, helping engineers locate the problematic code. Example:

      [main 2025-05-02T14:35:31.249Z] [UtilityProcess id: 3, type: extensionHost, pid: 25816]: received exit event with code 18446744072635810000
      [main 2025-05-02T14:35:31.249Z] Extension host with pid 25816 exited with code: 18446744072635810000, signal: unknown.
      [main 2025-05-02T14:35:31.250Z] [UtilityProcess id: 3, type: extensionHost, pid: 25816]: crashed with code -1073741819 and reason 'crashed'
      [19684:0502/223531.251:INFO:CONSOLE(3255)] "Extension host (LocalProcess pid: 25816) terminated unexpectedly. Code: 18446744072635810000, Signal: unknown", source: vscode-file://vscode-app/d:/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js (3255)
  3. If the above logs do not confirm the extension as the cause, follow Native-Crash-Issues to collect detailed crash logs:

    1. Completely exit VS Code.

    2. Launch VS Code from the command line using code --crash-reporter-directory <absolute-path>.

    3. Perform the action that causes the crash.

    4. Check the specified directory for a file with a .dmp extension and send it to our technical team.

3. What should I do if the personal center page in the VS Code extension shows an error?

If you see this error: "Error loading webview: Error: Could not register service worker: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state."

This is a known issue in VS Code 1.56 that occurs when some Windows users run VS Code as administrator. Try the following solutions:

  • Method 1: Launch VS Code with the --no-sandbox flag:

    $ code --no-sandbox
  • Method 2: Close VS Code and run this command in your terminal: killall code

4. What should I do if, after installing Lingma in JetBrains IDEs, the Lingma button is not displayed in the sidebar?

Normally, the Lingma assistant button appears in the IDE sidebar after installation. If it does not, manually show it by selecting View > Tool Windows > Lingma (View > Tool Windows > Lingma).image

5. Lingma fails to start with a “file path not found” error. What should I do?

image

If Lingma fails to start and reports that the file path does not exist, follow these steps to troubleshoot and fix the issue:

  1. In your editor, press Ctrl/Cmd + Shift + P to open the command palette, search for, and open User Settings (Open User Settings (JSON)).

  2. In the opened settings.json file, check for the configuration item: Lingma.LocalMachineStoragePath.

  3. If it exists:

    1. Verify that the path specified in this configuration actually exists and is accessible. Correct it if needed; or

    2. Delete this configuration item entirely.

  4. Save the configuration, restart or reload your window, and try starting Lingma again to confirm it works.

OpenAPI questions

1. Is there a limit on the number of records per page?

We recommend no more than 10,000 records per page. Setting a reasonable limit based on your application scenario and system capacity is essential for maintaining performance and user experience.

2. API data updates daily at midnight. What is the update frequency?

API data updates every 15 minutes starting at midnight each day. Multiple validation mechanisms ensure data is real-time, reliable, and flexible. By 2 a.m., you can retrieve yesterday’s complete and accurate dataset.

3. Are there rate limits for API usage?

To ensure stable and efficient service, our API enforces a rate limit of 100 queries per second (QPS).

4. How do I obtain my organizationId?

In the top-right corner of the Lingma console, click your profile picture and then click Admin Console. On the Basic Information page, copy the Organization ID.

莫小@1x