E5B1 GitHub - TD99/github-open-in-jetbrains-ide: Quickly open GitHub repositories in your favorite JetBrains IDE. · GitHub
[go: up one dir, main page]

Skip to content

TD99/github-open-in-jetbrains-ide

Repository files navigation


Logo

GitHub to JetBrains IDE

GitHub Tag Lint, Validate, Build & Release

Chrome Extension Firefox Extension JavaScript GitHub JetBrains

Get on Chrome Web Store Get on Firefox Browser Add-ons

Overview

GitHub to JetBrains IDE is a browser extension that adds an Open with <JetBrains IDE> button to GitHub repositories. With a single click, you can open any GitHub project directly in your favorite JetBrains IDE.

The extension supports all major JetBrains IDEs, including Android Studio, CLion, DataSpell, GoLand, IntelliJ IDEA, PhpStorm, PyCharm, Rider, RubyMine, RustRover, and WebStorm.

Features

  • Adds Open with <IDE> and dropdown options to GitHub's Code menu.
  • Remembers your default JetBrains IDE selection.
  • Opens repositories directly through the JetBrains Toolbox.
  • Automatically detects cloned repositories to open them in the correct IDE.
  • Integrates seamlessly with GitHub's interface.

How It Works

When you visit a GitHub repository page, the extension injects a small script (content.js) that:

  1. Detects the repository's clone URL.
  2. Adds two buttons to the Code dropdown:
    • Open with <IDE> (default IDE)
    • (choose another IDE)
  3. On click, the extension opens the repository using the jetbrains:// URI scheme.
    • Example: jetbrains://idea/checkout/git?checkout.repo=https://github.com/user/repo.git
  4. If a repository is already cloned locally, JetBrains Toolbox automatically opens it in the correct IDE.

Permissions

The extension requests the following permissions:

Permission Purpose
storage Saves the user's default IDE preference.
https://github.com/* Injects the "Open with IDE" functionality into GitHub pages.

Installation (Development)

  1. You can either:
    • Clone this repository.
    • Download the latest release and extract the contents.
  2. Open chrome://extensions/ in your browser.
  3. Enable Developer mode (top-right toggle).
  4. Click Load unpacked.
  5. Select the folder containing this repository.

License

This project is licensed under the MIT License. See the LICENSE file for details.

0