VSCode/Cursor Client
About 167 wordsLess than 1 minute
The default Workspaces environment supports remote development with VSCode client and Cursor client.
However, if developers choose to customize their development environment, the following configurations are needed to support VSCode client and Cursor client remote development:
How to Support VSCode/Cursor Client
- Install
openssh-server
in the Development Environment
When customizing the development environment, you can pre-install the SSH service in the Dockerfile.
# .ide/Dockerfile
FROM your-image
# Note: Installation methods may vary depending on the base image. Use appropriate installation method based on actual situation
apt-get update
apt-get install -y openssh-server
- Download VSCode/Cursor Client and Install Remote-SSH Extension
Resolving VSCode/Cursor Window Overlap Issue
When clicking to open the VSCode client button, the new window might overlap with existing windows.
You can resolve this by modifying VSCode/Cursor settings: Set Open Folders In New Window
to on
to open in a new window each time.
Setting path:
- Manage -> Settings -> User -> Window -> New Window -> Open Folders in New Window