A CIDER extension that provides powerful commands for refactoring Clojure code. clj-refactor provides powerful refactoring functionality for Clojure projects. It complements the refactoring functionality you'd find in clojure-mode and CIDER. The more advanced refactorings require our nREPL middleware refactor-nrepl. From version 2.2.0 onwards if cider-jack-in is used it is injected automatically. profiles.clj or profile.boot don't need to be modified anymore for the above usecase! On the other hand if a standalone REPL or an embedded nREPL server is used you will need to manually add this dependency. The analyzer refactor-nrepl uses needs to eval the code too in order to be able to build the AST we can work with. If that causes side effects like writing files, opening connections to servers, modifying databases, etc. performing certain refactoring functions on your code will do that, too.

Features

  • It's available on MELPA and MELPA Stable
  • All functions in clj-refactor have a two-letter mnemonic shortcut
  • clj-refactor provides powerful refactoring functionality for Clojure projects
  • It complements the refactoring functionality you'd find in clojure-mode and CIDER
  • The more advanced refactorings require our nREPL middleware refactor-nrepl
  • clj-refactor has quite a few settings you can tweak to change the behavior of various commands

Project Samples

Project Activity

See All Activity >

Categories

Text Editors

License

GNU General Public License version 3.0 (GPLv3)

Follow clj-refactor.el

clj-refactor.el Web Site

Other Useful Business Software
Fully Managed MySQL, PostgreSQL, and SQL Server Icon
Fully Managed MySQL, PostgreSQL, and SQL Server

Automatic backups, patching, replication, and failover. Focus on your app, not your database.

Cloud SQL handles your database ops end to end, so you can focus on your app.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of clj-refactor.el!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Emacs-Lisp

Related Categories

Emacs-Lisp Text Editors

Registered

2022-10-12