This Counterclockwise plugin demonstrates how to write user plugins interacting with repls.
This plugin's state is work in progress.
~/.ccw/ folder is where Counterclockwise searches for User Plugins.
It is recommended to layout User Plugins inside this folder by mirroring Github's namespacing. So if you clone ccw-ide/ccw-plugin-repl, you should do the following:
Create a folder named
Clone this project from
mkdir -p ~/.ccw/ccw-ide cd ~/.ccw/ccw-ide git clone https://github.com/ccw-ide/ccw-plugin-repl.git
If you have already installed ccw-plugin-manager (https://github.com/ccw-ide/ccw-plugin-manager.git), then type
Alt+U Sto re[S]tart User Plugins (and thus ccw-plugin-repl will be found and loaded)
If you have not already installed ccw-plugin-manager, restart your Eclipse / Counterclockwise/Standalone instance.
Demonstrates how to react to repl results sent back to ccw by subscribing to the :ccw.repl.response event topic.
Adds two listeners to nrepl server launched events.
spit-globallyspits the nrepl port to ~/.nrepl file
spit-per-projectspits the nrepl port to the corresponding project's folder in an .nrepl file
Reacts to file saves by sending some command via the active REPL.
Command(s) for working with the REPL
reset-components: Reset Components System by calling (user/reset) via the REPL. Keybinding:
Copyright © 2009-2015 Laurent Petit
Distributed under the Eclipse Public License, the same as Clojure.