Jetbrains Tools: Difference between revisions
imported>Werner291 Created the page as a stub. |
imported>Werner291 mNo edit summary |
||
Line 1: | Line 1: | ||
Various JetBrains IDEs and tools are available from nixpkgs under the `jetbrains`. For instance, CLion is available as the | Various JetBrains IDEs and tools are available from nixpkgs under the `jetbrains` namespace. For instance, CLion is available as the {{ic|jetbrains.clion}} package. | ||
== Plugins == | == Plugins == | ||
Line 5: | Line 5: | ||
Some Jetbrains IDE plugins such as Github Copilot need to be patched in order to work on NixOS. | Some Jetbrains IDE plugins such as Github Copilot need to be patched in order to work on NixOS. | ||
At the time of writing, plugin support is not available in the latest stable version of Nixpkgs (23.05). To install a package from nixos-unstable, see [https://nixos.wiki/index.php?title=FAQ&oldid=3528#How_can_I_install_a_package_from_unstable_while_remaining_on_the_stable_channel.3F]. | At the time of writing, plugin support is not available in the latest stable version of Nixpkgs (23.05). To install a package from nixos-unstable, see the [https://nixos.wiki/index.php?title=FAQ&oldid=3528#How_can_I_install_a_package_from_unstable_while_remaining_on_the_stable_channel.3F FAQ]. | ||
For example, a package of CLion with the Github Copilot plugin pre-installed can be obtained by adding the following line to your package list: | For example, a package of CLion with the Github Copilot plugin pre-installed can be obtained by adding the following line to your package list: | ||
Line 13: | Line 13: | ||
where pkgs is a suitable version of nixpkgs. | where pkgs is a suitable version of nixpkgs. | ||
Note that Jetbrains IDEs tend to manage their configuration and plugins statefully. For example, if you have previously attempted to install Copilot through the IDE's plugin manager, you may need to delete the IDE's state in as described in [https://www.jetbrains.com/help/clion/uninstall.html#standalone]. | Note that Jetbrains IDEs tend to manage their configuration and plugins statefully. For example, if you have previously attempted to install Copilot through the IDE's plugin manager, you may need to delete the IDE's state in as described in the [https://www.jetbrains.com/help/clion/uninstall.html#standalone JetBrains documentation]. |
Revision as of 23:15, 29 September 2023
Various JetBrains IDEs and tools are available from nixpkgs under the `jetbrains` namespace. For instance, CLion is available as the jetbrains.clion
package.
Plugins
Some Jetbrains IDE plugins such as Github Copilot need to be patched in order to work on NixOS.
At the time of writing, plugin support is not available in the latest stable version of Nixpkgs (23.05). To install a package from nixos-unstable, see the FAQ.
For example, a package of CLion with the Github Copilot plugin pre-installed can be obtained by adding the following line to your package list:
(pkgs.jetbrains.plugins.addPlugins pkgs.jetbrains.clion ["github-copilot"])
where pkgs is a suitable version of nixpkgs.
Note that Jetbrains IDEs tend to manage their configuration and plugins statefully. For example, if you have previously attempted to install Copilot through the IDE's plugin manager, you may need to delete the IDE's state in as described in the JetBrains documentation.