https://github.com/martinklepsch/atom-clojure-nrepl
https://github.com/martinklepsch/atom-clojure-nrepl
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/martinklepsch/atom-clojure-nrepl
- Owner: martinklepsch
- License: mit
- Created: 2014-05-06T16:54:14.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-05-06T19:59:42.000Z (about 11 years ago)
- Last Synced: 2025-01-29T13:46:45.405Z (4 months ago)
- Language: CoffeeScript
- Size: 152 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# atom-clojure-nrepl package
This is a work in progress to add nrepl integration for clojure development in atom.
The goal is to support only clojure and nrepl -- not be a general repl package.
Basic support is working for lein projects. If you start the repl (which creates the `.nrepl-port` file) and open atom with the project.clj as the base directory it can find the port to connect to the repl and evaluate expressions.
The keybinds are:
- `ctrl-enter` : evaluates the last expression (place your cursor after the closing paren)
- `shift-ctrl-enter` : evaluates the whole fileI want the keybinds to replace `ctrl` with `cmd` but I'm not sure how to make `cmd-enter` override the existing behavior and not ignore mine. Oh well!
Todos:
- figure out how to get one of those sweet animated gifs showing the plugin in action evaluating clojure omg
- update the nrepl-client I'm using to display print and error values, right now they don't come back and the result is just the expression evaluation value
- add error messaging ... there is none currently (lol)
- add the ability to evaluate the containing expression so that you can evaluate anywhere inside an expression and it will expand out to the largest containing expression
- add some UI niceties like the port number and expression evaluation feedback (green, red, spinner, etc)
- add a clear to the repl buffer or maybe limit it to X messages or somethingWe'll see if nay of this gets done, woop woop.