Skip to content

Run VSCode-based coding agents and extensions seamlessly within other IDE platforms - bridging the gap between VSCode ecosystem and other development environment.

License

Notifications You must be signed in to change notification settings

findziliao/RunVSAgent

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

59 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

RunVSAgent

English | ็ฎ€ไฝ“ไธญๆ–‡

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.

๐Ÿ“ธ Screenshot

RunVSAgent Screenshot

๐Ÿš€ Core Features

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

๐Ÿ”ง Supported IDEs

Jetbrains IDEs

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.

XCode IDE

Working on it...

๐Ÿค– Supported Agents

  • Roo Code: Advanced AI-powered coding assistant with intelligent code generation and refactoring capabilities

๐Ÿ—๏ธ Architecture

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

๐Ÿ“ฆ Installation

Recommended Method: We recommend downloading and installing the plugin from JetBrains Marketplace first, as this is the most convenient and secure installation method.

  1. Online Installation:

    • Open your JetBrains IDE (IntelliJ IDEA, WebStorm, PyCharm, etc.)
    • Go to Settings/Preferences โ†’ Plugins
    • Search for "RunVSAgent" in the Marketplace tab
    • Click the Install button
    • Restart your IDE when prompted
  2. Verify Installation: After restart, you should see the RunVSAgent plugin in your IDE's plugin list

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

Build from Source

Prerequisites

  • Node.js 18.0+
  • JetBrains IDE 2023.1+
  • Git
  • JDK 17+

Build Steps

# 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

Development Mode

# 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

๐Ÿ‘ฅ Developer Information

Project Structure

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

Technology Stack

  • 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

Known Issues

For a list of known issues and common problems, please see Known Issues.

Contributing

  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

๐Ÿ‘ฅ Contributors

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

๐ŸŒŸ Core Contributors

๐Ÿš€ Contributors

License

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

Maintainers


Star History

Star History Chart Made with โค๏ธ by WeCode-AI Team

About

Run VSCode-based coding agents and extensions seamlessly within other IDE platforms - bridging the gap between VSCode ecosystem and other development environment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 72.1%
  • TypeScript 10.8%
  • Shell 9.1%
  • CSS 7.2%
  • PowerShell 0.8%