Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new command cider-copy-jack-in #3519

Open
behrica opened this issue Oct 13, 2023 · 1 comment
Open

new command cider-copy-jack-in #3519

behrica opened this issue Oct 13, 2023 · 1 comment

Comments

@behrica
Copy link
Contributor

behrica commented Oct 13, 2023

Is your feature request related to a problem? Please describe.
Using CIDER on a remote machine would be eased in complex remote scenarious by:

  • open a shell in Emacs and "go ito the final remote server"
  • generate teh "jack-in-command' and "copy" it
  • paste it into remote shell

Describe the solution you'd like
A Cider build in commnad such as:

(defun cider-copy-jack-in (params)
  "docstring"
  (interactive "P")
  (let ((params (thread-first params
                  (cider--update-project-dir)
                  (cider--update-jack-in-cmd))))
    (kill-new (plist-get params :jack-in-cmd))))

but full-featured, in case tghis command does not a consider all cases

Describe alternatives you've considered
cider-connect and picking a remote host. This does only work for 2simple" ssh connection, but not for "complex" connections (such as multihop, or remote+docker)

Additional context
There was a discussion here:
https://clojurians.slack.com/archives/C0617A8PQ/p1688529209320339

@dpsutton
Copy link
Contributor

some design considerations:
should allow for the cljs form, you might also need the cljs startup forms (shadow/select :app , etc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants