jasongilman / proto-repl

A Clojure Development Environment package for the Atom editor
https://atom.io/packages/proto-repl
MIT License
563 stars 50 forks source link

Add remote nrepl hook #306

Closed mdonnalley closed 7 months ago

mdonnalley commented 6 years ago

This PR adds a hook for starting a new remote nrepl connection with the given host and port. This allows users to define commands in their init script for quickly starting frequently used connections. For example:

atom.commands.add 'atom-text-editor', 'custom:example-repl', ->
  protoRepl.remoteNReplHook({
    host: "example.clojure-project.com",
    port: 9656
  })