/nix-idea

Nix plugin for the IntelliJ IDEA IDE

Primary LanguageJavaApache License 2.0Apache-2.0

NixIDEA - A Nix language plugin for Intellij IDEA.

Build Status

This plugin has the goal of being generally useful when working with nixpkgs/NixOS/nixops, it aims to provide the following:

  • Syntax Highlighting
  • Linting
  • Profile management
  • Suggestions for:
    • Attributes
    • Builtins
    • Filesystem paths
  • Templates for common usage patterns

Install

Manually from local sources

Build it

Using the gradle wrapper is easy:

./gradlew build

You should then find the plugin in build/distributions/NixIDEA-<version>.zip.

Import it

In Settings -> Plugin -> <little wheel icon> -> from local disk...

From a packaged release

Jetbrains marketplace

The plugin can be found at the Jetbrains plugin repository as NixIDEA.

Prebuild release

Same process as locally to import it, just skip the build part of it.