GitXplorerGitXplorer
t

nix-jetbrains-plugins

public
0 stars
2 forks
0 issues

Commits

List of commits on branch main.
Verified
ad2a8db358aa15a62b863a88551ac7f75779d740

Bump serde_json from 1.0.134 to 1.0.135 in /generator (#17)

ddependabot[bot] committed 11 hours ago
Verified
ac44600af0542d03d119d4d53d004735128492f6

Bump tokio from 1.42.0 to 1.43.0 in /generator (#18)

ddependabot[bot] committed 11 hours ago
Verified
48b62f1b193940652770866707f6cfe27c708793

Bump clap from 4.5.23 to 4.5.26 in /generator (#19)

ddependabot[bot] committed 11 hours ago
Verified
b4eef89fba381d5f2cf11f12cf83490a5707c76d

Plugin Updates (#20)

ggithub-actions[bot] committed 11 hours ago
Verified
5aa5dc7e036d27508f9c7a1db203fb4060f832cb

Bump reqwest from 0.12.9 to 0.12.12 in /generator (#14)

ddependabot[bot] committed 8 days ago
Verified
5b944cb225e9e32166137800529473b677cb909a

Bump serde from 1.0.216 to 1.0.217 in /generator (#12)

ddependabot[bot] committed 8 days ago

README

The README file for this repository.

Nix Jetbrains Plugins

This repository contains derivations for ALL plugins from the Jetbrains Marketplace.

It is regularly updated to include all current plugins in their latest compatible version.

If any derivations fail to build or plugins are missing, please open an issue. We asume that plugins are not re-released with the same version number, so if a plugin does this for any reason, they might break and need manual fixing in this repository.

The plugins exported by this Flake are indexed by their IDE, version and then plugin ID. You can find the plugin IDs at the bottom of Marketplace pages.

The plugin list is only updated for IDEs from the current and previous year, for other IDEs the list may be stale.

Supported IDEs:

  • IntelliJ Ultimate (jetbrains.idea-ultimate)
  • IntelliJ Community (jetbrains.idea-community)
  • PhpStorm (jetbrains.phpstorm)
  • WebStorm (jetbrains.webstorm)
  • PyCharm Professional (jetbrains.pycharm-professional)
  • PyCharm Community (jetbrains.pycharm-community)
  • RubyMine (jetbrains.ruby-mine)
  • CLion (jetbrains.clion)
  • GoLand (jetbrains.goland)
  • DataGrip (jetbrains.datagrip)
  • DataSpell (jetbrains.dataspell)
  • Rider (jetbrains.rider)
  • Android Studio (android-studio)
  • RustRover (jetbrains.rust-rover)
  • Aqua (jetbrains.aqua)
  • Writerside (jetbrains.writerside)
  • Mps (jetbrains.mps)

How to setup

With Flakes

Inputs:

inputs.nix-jetbrains-plugins.url = "github:theCapypara/nix-jetbrains-plugins";

Usage:

let
  pluginList = [
    nix-jetbrains-plugins.plugins."${system}".idea-ultimate."2024.3"."com.intellij.plugins.watcher"
  ];
in {
  # ... see "How to use"
}

Without flakes

let
  system = builtins.currentSystem;
  plugins =
    (import (builtins.fetchGit {
      url = "https://github.com/theCapypara/nix-jetbrains-plugins";
      ref = "refs/heads/main";
      rev = "<latest commit hash>";
    })).plugins."${system}";
  pluginList = [
      plugins.idea-ultimate."2024.3"."com.intellij.plugins.watcher"
  ];
in {
  # ... see "How to use"
}

How to use

The plugins can be used with jetbrains.plugins.addPlugins:

{
  environment.systemPackages = [
    # See "How to setup" for definition of `pluginList`.
    pkgs.jetbrains.plugins.addPlugins pkgs.jetbrains.idea-ultimate pluginList
  ];
}

Convenience functions (lib)

The flake exports some convenience functions that can be used to make adding plugins to your IDEs easier.

These functions are only compatible and tested with the latest stable nixpkgs version.

buildIdeWithPlugins

Using this function you can build an IDE using a set of named plugins from this Flake. The function will automatically figure out what IDE and version the plugin needs to be for.

Arguments:

  1. pkgs.jetbrains from nixpkgs.
  2. The pkgs.jetbrains key of the IDE to build or download.
  3. A list of plugin IDs to install.

Example:

{
  environment.systemPackages = with nix-jetbrains-plugins.lib."${system}"; [
    # Adds the latest IDEA Ultimate version with the latest compatible version of "com.intellij.plugins.watcher".
    buildIdeWithPlugins pkgs.jetbrains "idea-ultimate" ["com.intellij.plugins.watcher"]
  ];
}