Open-source plugin brings Roo Code to JetBrains IDEs

3 months ago 2

License Node.js JetBrains

Run VSCode-based Coding Agents in Other IDE platforms

RunVSAgent is an innovative cross-platform development tool that enables developers to run VSCode-based coding agents and extensions within JetBrains IDEs (IntelliJ IDEA, WebStorm, PyCharm, etc.) or other IDE platforms.

RunVSAgent Screenshot

  • VSCode Agent Compatibility: Seamlessly run VSCode-based coding agents in JetBrains IDEs
  • Cross-IDE Development: Unified agent experience across different IDE platforms

RunVSAgent currently supports the following JetBrains IDE series:

  • IntelliJ IDEA (Ultimate & Community)
  • WebStorm - JavaScript and TypeScript development
  • PyCharm (Professional & Community) - Python development
  • PhpStorm - PHP development
  • RubyMine - Ruby development
  • CLion - C/C++ development
  • GoLand - Go development
  • DataGrip - Database development
  • Rider - .NET development
  • Android Studio - Android development

Note: Requires JetBrains IDE version 2023.1 or later for optimal compatibility.

Working on it...

  • Roo Code: Advanced AI-powered coding assistant with intelligent code generation and refactoring capabilities
graph TB subgraph "JetBrains IDE" A[JetBrains Plugin<br/>Kotlin] B[UI Integration] C[Editor Bridge] end subgraph "Extension Host" D[Node.js Runtime] E[VSCode API Layer] F[Agent Manager] end subgraph "VSCode Agents" G[Coding Agent] end A <-->|RPC Communication| D B --> A C --> A E --> D F --> D G --> E
Loading

Architecture Components:

  • JetBrains Plugin: Kotlin-based IDE plugin for JetBrains IDE integration
  • Extension Host: Node.js runtime environment providing VSCode API compatibility layer
  • RPC Communication: High-performance inter-process communication for real-time data exchange
  • VSCode Agents: Various coding agents and extensions developed for the VSCode platform

Download from GitHub Releases

You can download the pre-built plugin from our GitHub releases page:

  1. Download Plugin: Visit the GitHub Releases page and download the latest plugin file (.zip format)

  2. Install in JetBrains IDE:

    • Open your JetBrains IDE (IntelliJ IDEA, WebStorm, PyCharm, etc.)
    • Go to Settings/Preferences → Plugins
    • Click the gear icon ⚙️ and select Install Plugin from Disk...
    • Select the downloaded .zip file
    • Restart your IDE when prompted
  3. Verify Installation: After restart, you should see the RunVSAgent plugin in your IDE's plugin list

  • Node.js 18.0+
  • JetBrains IDE 2023.1+
  • Git
  • JDK 17+
# 1. Clone the repository git clone https://github.com/your-org/RunVSAgent.git cd RunVSAgent # 2. Setup development environment ./scripts/setup.sh # 3. Build the project ./scripts/build.sh # 4. Install plugin # Plugin file located at: jetbrains_plugin/build/distributions/ # In IDE: Settings → Plugins → Install Plugin from Disk
# Start extension host in development mode cd extension_host npm install npm run dev # Run JetBrains plugin in development mode cd jetbrains_plugin ./gradlew runIde
RunVSAgent/ ├── extension_host/ # Node.js Extension Host │ ├── src/ # TypeScript source code │ │ ├── main.ts # Main entry point │ │ ├── extensionManager.ts # Extension lifecycle management │ │ ├── rpcManager.ts # RPC communication layer │ │ └── webViewManager.ts # WebView support │ └── package.json # Node.js dependencies ├── jetbrains_plugin/ # JetBrains Plugin │ ├── src/main/kotlin/ # Kotlin source code │ │ └── com/sina/weibo/agent/ │ │ ├── core/ # Core plugin functionality │ │ ├── actions/ # IDE actions and commands │ │ ├── editor/ # Editor integration │ │ └── webview/ # WebView support │ └── build.gradle.kts # Gradle build configuration └── scripts/ # Build and utility scripts
  • Extension Host: Node.js 18+, TypeScript 5.0+
  • JetBrains Plugin: Kotlin 1.8+, IntelliJ Platform 2023.1+
  • Communication: RPC over Unix Domain Sockets/Named Pipes
  • Build Tools: npm/pnpm, Gradle, Shell scripts
  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/your-feature
  3. Make your changes and add tests
  4. Run tests: ./scripts/test.sh
  5. Submit a pull request

We thank all the contributors who have helped make this project better:

This project is licensed under the Apache License 2.0. See LICENSE for details.


Made with ❤️ by WeCode-AI Team

Read Entire Article