clojure-repl-intellij
clojure-repl-intellij copied to clipboard
Free OpenSource IntelliJ plugin for Clojure REPL development.
clojure-repl-intellij
Free OpenSource IntelliJ plugin for Clojure REPL development.
Checkout all available features

Getting Started
After installing the plugin in IntelliJ, you can add a REPL to your Run configurations.
Local: Start a nREPL server from IntelliJ
- Go to
Run>Edit Configurations - If you don't have any existing configurations, click
Add new...orAdd new run configuration. Otherwise, click the+("Add New Configuration"). - Select
Clojure REPL>Local - Optional: Name your Configuration (e.g. "Local REPL")
- Click
OK
Remote: Connecting to an existing nREPL process
- Ensure you have an existing nREPL process running outside IntelliJ
- Within Intellij, go to
Run>Edit Configurations - If you don't have any existing configurations, click
Add new...orAdd new run configuration. Otherwise, click the+("Add New Configuration"). - Select
Clojure REPL>Remote - In the boxes for
HostandPortcopy and paste the values from your existing nREPL process - Optional: Name your Configuration (e.g. "Remote REPL")
- Click
OK
Features
- Start a nREPL server from IntelliJ
- Connect to an existing nREPL process
- Load file to REPL (
alt + shift + l/opt + shift + l) - Eval code at point (
alt + shift + e/opt + shift + e) - Eval defun at point (
alt + shift + d/opt + shift + d) - Switch to file namespace (
alt + shift + n/opt + shift + n) - Run ns tests (
alt + shift + talt + shift + n/opt + shift + topt + shift + n) - Run test at cursor (
alt + shift + talt + shift + t/opt + shift + topt + shift + t) - Entry history navigation in REPL (
ctrl + PAGE_UPorctrl + PAGE_DOWN)
Soon
- Customize REPL UI
Contributing
Contributions are very welcome, check the issues page for more information about what are good first issues or open an issue describing the desired support.
Developing
bb run-ide to spawn a new IntelliJ session with the plugin.
or
bb build-plugin to build the plugin, then install it from disk in IntelliJ, the zip should be on ./build/distributions/*.zip.
Release
bb tag x.y.zto tag and push the new tagbb publish-pluginto publish to Jetbrains Marketplace (requires JETBRAINS_TOKEN on env).