Skip to content
This repository has been archived by the owner on Apr 27, 2024. It is now read-only.
/ amethyst Public archive

Jetbrains plugin for cleaning Clojure namespace styles

License

Notifications You must be signed in to change notification settings

illyasviel/amethyst

Repository files navigation

Amethyst

Build Status License Version Downloads

Clean Clojure Namespace Declarations With An Opinionated Style Guide.

Feature

This plugin is a port of the refactor-nrepl's clean-ns operation.

  • Eliminate :use clauses in favor of refer :all.
  • Sort required libraries, imports and vectors of referred symbols.
  • Remove any duplication in the :require and :import form.

Install

Preferences(Settings) -> Plugins -> Marketplace -> Search "Amethyst" -> Install Plugin

Usage

  • Right click mouse -> clean ns

editor-right-click

  • Ctrl + Shift + A -> clean ns

search-action