Note: This synchronization system is suitable for VSCode, VSCode forks like Cursor or Windsurf as well as JetBrains IntelliJ-based IDEs like Rider, IntelliJ IDEA and WebStorm.
A synchronization system that allows seamless switching between VSCode and JetBrains IntelliJ-based IDEs while maintaining the current file and cursor position.
Install directly from the Visual Studio Code Marketplace
- Open VSCode
- Go to Extensions (Ctrl+Shift+X)
- Search for "IDE Sync - Connect to JetBrains IDE"
- Click Install
Install directly from the JetBrains Marketplace
- Open JetBrains IDE
- Go to Settings > Plugins
- Search for "IDE Sync - Connect to VSCode"
- Click Install
- Supported versions: VSCode 1.84.0 and newer
- Supported versions: 2023.3 and newer
The default port is 3000, this can be changed in the respective settings and must be the same:
- In VSCode: Settings > Extensions > IDE Sync - Connect to JetBrains IDE > Port
- In JetBrains IDE: Settings > Tools > IDE Sync - Connect to VSCode > WebSocket Port
- Start both IDEs
- Make sure that the sync is activated in the status bar of both IDEs
- When you switch between IDEs, the current file and cursor position will be synchronized automatically
- Real-time synchronization of file opening and cursor position
- Automatic reconnection on port changes
- Status bar indicator showing connection status
- Located in
/vscode-extension - Monitors current file and cursor position in VSCode
- Communicates with JetBrains plugin via WebSocket
- Located in
/jetbrains-plugin - Monitors current file and cursor position in JetBrains IDE
- Communicates with VSCode extension via WebSocket
- Node.js and npm for VSCode extension
- JDK 17+ and Gradle for JetBrains IDE plugin
- Clone the repository
git clone https://github.com/denisbalber/IDESync-VSCode-JetBrains.git
cd IDESync-VSCode-JetBrains- Build VSCode extension
cd vscode-extension
npm install
npm run build
npm run package
cd ..- Build JetBrains plugin
cd jetbrains-plugin
./gradlew buildPlugin
cd ..- Install the VSCode extension:
Ctrl+Shift+P>Extensions: Install from VSIX...> SelectIDESync-VSCode-JetBrains/vscode-extension/vscode-jetbrains-sync-0.1.0.vsix - Restart VSCode
- Install the JetBrains IDE plugin:
Settings>Plugins>Manage Repositories,... (Settings symbol)>Install Plugin from Disk...> SelectIDESync-VSCode-JetBrains/jetbrains-plugin/build/distributions/vscode-jetbrains-sync-1.0.0 - Restart JetBrains IDE