WSL Distributions
CodeArts Agent IDE supports remote connections to the Windows Subsystem for Linux (WSL). This function uses the local WSL environment as a remote development backend, enabling users on Windows to write, debug, and run code end-to-end within the local WSL environment, just like connecting to a remote server.
Constraints
| Category | Description |
|---|---|
| WSL | WSL has been installed on the local Windows system. |
| OS version |
|
| Webpage preview | Direct opening of the browser for preview via the file:/// protocol is currently not supported. |
Connecting to WSL
- Log in to CodeArts Agent IDE as instructed in Quick Start.
- Click
in the left menu bar of the IDE to open the remote development page. - Under WSL distributions, CodeArts Agent IDE automatically detects and identifies WSL environments existing in the current system.
- Hover the cursor over the WSL environment to be connected, click
, and wait until the connection is complete. Wait until the connection is complete. If no error message is displayed and the connection information is displayed in the status bar in the lower left corner, the connection is successful.
- After the connection is successful, click Open Folder in the explorer, browse and select the target folder on the WSL environment, and click OK to open it.
Managing WSL Connections
| Operation | Instruction |
|---|---|
| Disabling a remote connection | In the remote development of CodeArts Agent IDE, hover the cursor over the connected WSL environment and click |
| Opening a folder in WSL | In the remote development of CodeArts Agent IDE, hover the cursor over the connected WSL environment, click |
| Displaying the remote host process | In the remote development of CodeArts Agent IDE, hover the cursor over the connected WSL environment and click |
Other Operations
| Operation | Description |
|---|---|
|
| Reloads the current WSL distribution list or status. |
|
| Expands all hierarchical levels under WSL distributions and unfolds all subnodes, allowing users to quickly browse and manage a large number of connection items. |
|
| Collapses all expanded WSL distributions, reducing the number of displayed levels and improving the readability and operation efficiency of the interface. |
| Displaying or hiding detected CodeArts projects | Controls whether to display remote projects and connection information automatically detected by the IDE and related to CodeArts. |
| Synchronizing information with local extensions | Triggers a synchronization of the current WSL environment configuration to a local extension. This is typically used to ensure that extensions can properly recognize and use the latest WSL distribution information, preventing connection issues caused by inconsistent configurations and improving stability and consistency. |
| Showing connection logs | Views detailed logs of WSL distribution connections. When a connection fails or behaves abnormally, you can use these logs to troubleshoot issues and locate root causes. |
| Setting log levels | Adjusts the verbosity level of WSL distribution connection logs, such as Trace, Debug, and Info (default: Info). |
| Opening help documentation | Opens the official help documentation to access detailed guides on WSL distribution configuration and basic operations. |
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






