Updated on 2026-09-02 GMT+08:00

Visual Studio Code

Constraints

Windows 11 (x64) is recommended. For Windows 10 (x64), the version must be 2019 or later, and upgrading to the latest stable version is advised.

Preparations

Installing the CodeArts Agent Extension

  1. Install the CodeArts Agent extension.

    1. Open Visual Studio Code and click in the left navigation pane.
    2. In the search box, enter CodeArts Agent and press Enter.
    3. Click Install. Visual Studio Code will then download and install the CodeArts Agent extension.

  2. Log in to CodeArts Agent.

    1. In the left pane of Visual Studio Code, click the CodeArts Agent icon .
    2. Click Switch to International Site.
    3. Click HUAWEI ID Login. The Huawei Cloud login page is displayed.
    4. Enter your HUAWEI ID and password and click LOG IN.

      If this is the first time you are using CodeArts Agent, click Confirm Authorization on the login authorization page.

      After the system displays a message indicating that the login is successful, return to Visual Studio Code to start your intelligent coding journey.

  3. Open the folder for storing project files.

    If this is your first login, click Open Folder in the Startup or Recent area of the welcome page to open the local folder. In the displayed dialog box, click Yes, I trust the authors to trust the folder and enable all functions.

  4. (Optional) Log out of CodeArts Agent.

    To log out, click in the chat panel of CodeArts Agent and choose Sign Out.