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
- Visual Studio Code has been downloaded and installed. Its version must be 1.95.3 (November 13, 2024) or later.
- Before coding with CodeArts Agent, create a HUAWEI ID.
- Visit the Huawei Cloud official website and click Sign Up in the upper right corner.
- Complete registration by referring to Signing up for a HUAWEI ID and Enabling Huawei Cloud Services.
- If you are using an IAM user, use the enterprise administrator account to assign a seat to the user.
- Purchase a CodeArts Agent package as required by referring to Subscriptions.
Installing the CodeArts Agent Extension
- Install the CodeArts Agent extension.
- Open Visual Studio Code and click
in the left navigation pane. - In the search box, enter CodeArts Agent and press Enter.
- Click Install. Visual Studio Code will then download and install the CodeArts Agent extension.
- Open Visual Studio Code and click
- Log in to CodeArts Agent.
- In the left pane of Visual Studio Code, click the CodeArts Agent icon
. - Click Switch to International Site.
- Click HUAWEI ID Login. The Huawei Cloud login page is displayed.
- 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.
- In the left pane of Visual Studio Code, click the CodeArts Agent icon
- 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.
- (Optional) Log out of CodeArts Agent.
To log out, click
in the chat panel of CodeArts Agent and choose Sign Out.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot