Visual Studio Code
Constraints
The CodeArts Agent extension for Visual Studio Code is only available for Windows, with Windows 11 (x64) recommended. If you are using Windows 10 (x64), ensure that the Visual Studio Code version is 1.95.3 (released on November 13, 2024) or later. You are advised to upgrade Visual Studio Code to the latest stable version.
Preparations
- You have downloaded and installed the latest version of Visual Studio Code (1.69 to 1.103).
- Before coding with CodeArts Agent, create a HUAWEI ID.
- Visit the Huawei Cloud official website and click Sign Up in the upper right corner.
- Sign up for a HUAWEI ID and enable Huawei Cloud services.
- If you are using an IAM user, use the enterprise administrator account to assign a seat to the user.
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 you use CodeArts Agent for the first time, the activation page is displayed. Agree to the service statement and click Activate Now. Wait until the package is enabled.
Wait until the login is successful and then return to Visual Studio Code.
- 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.
Feedback
Was this page helpful?
Provide feedbackThank 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