-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
Add command for copying jack-in command to clipboard #995
Conversation
@PEZ If you could test the jack-in env thing that would be helpful. I did slightly change the code for that but it should do the same thing. |
jackInEnv is still working, afaict: "calva.jackInEnv": {
"foo": 100
} Jack-in! (System/getenv "foo") => "100" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I renamed a function whose name confused me.
The only thing to consider is if we want it to copy out a complete command line, including the jackInEnv. Don't know how to do that on Windows, and it might bring us in to that quoting hell that is so fun. Maybe it can remain a TODO. =)
Adding a note here for myself to add back analytics that were removed, as per our convo outside of here. |
I don't think I fully understand what you mean, but as far as I can tell we currently are copying to clipboard everything that would be printed/run in the terminal at jack-in. Maybe leaving it as a todo would be good. |
Say we the user has a foo=bar clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version "0.8.3"} cider/cider-nrepl {:mvn/version "0.25.8"}}}' -A:reveal would. Anyway. I'm totally fine with merging as it is now. |
Merged as I am working at another jack-in thing and don't want to stitch it together later. 😄 |
You still want me to add back analytics that were removed? |
Maybe you can add that back in #1004? Since it refactors some of the jack-in further... |
I'll leave it as a todo (#1002) until the dust settles on all the current jack-in work. |
What has Changed?
@PEZ This will need a review and testing, of course.
Closes #992
My Calva PR Checklist
I have:
dev
branch. (Or have specific reasons to target some other branch.)published
. (Sorry for the nagging.)[Unreleased]
entry inCHANGELOG.md
, linking the issue(s) that the PR is addressing.ci/circleci: build
test. NB: There is a CircleCI bug that makes the Artifacts hard to find. Please see this issue for workarounds.The Calva Team PR Checklist:
Before merging we (at least one of us) have:
dev
branch (unless reasons).Ping @PEZ, @kstehn, @cfehse, @bpringe