This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-07
Channels
- # announcements (2)
- # beginners (25)
- # calva (16)
- # cljdoc (37)
- # cljsrn (24)
- # clojure (204)
- # clojure-nl (4)
- # clojure-spec (34)
- # clojure-uk (3)
- # clojurescript (13)
- # cursive (8)
- # data-science (3)
- # dirac (21)
- # figwheel-main (1)
- # luminus (3)
- # off-topic (45)
- # pedestal (3)
- # planck (2)
- # re-frame (5)
- # shadow-cljs (270)
- # spacemacs (5)
To people testing the jack-in, I now notice that the Java processes started by it are left behind even after closing the project window in vscode. We will look into that, but meanwhile, be aware of this.
a non-so-uncommon workflow is that jack-in needs to be done multiple times as errors are repaired. so that needs to be a thing. A straightforward 'stop' and 'restart' would be more helpful than the emacs "find and kill the buffers" approach to that need
@pez There are some notes. lein command gives this warning
nREPL server started on port 60946 on host 127.0.0.1 -
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by cider.nrepl.inlined_deps.dynapath.v0v2v5.dynapath.defaults$eval3496$fn__3497 to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of cider.nrepl.inlined_deps.dynapath.v0v2v5.dynapath.defaults$eval3496$fn__3497
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
OK. So my Sunday was a bit more busy with other things than I had expected. (You try to have predictable Sundays with four kids in the house.) But I managed to get some Calva time in and used it to fix a thing with jack-in that I need for using it for my work project. This version of Calva should present a profiles picker for your leiningen projects, so that it can populate the --with-profiles
options when starting the repl, in projects that need that. Please give it a spin and return with feedback on how it works out for you.
The credit for the profiles picker should go to @mseddon , btw. I merely made it a bit more probable that it would work in the wild. š
@pez hi, Iām trying to setup an app with clojurescript on frontend and I have it in frontend
dir at the root. Iāve set āproject root dirā in calva config to be āfrontendā accordingly, but seems itās not considered when new terminals are created (for shadow-cljs at least, but I did a quick search over the extension code and seems the config value is not used anywhere to change dir, so it might be as well related to anything that creates terminals that should be created in the clj(s) root). Are my guesses correct? Is that something easy to fix? š
Hacky, but fixed things for me: before sending command to terminal (https://github.com/BetterThanTomorrow/calva/blob/master/calva/terminal.ts#L37) just added a cd
:
connectCommand = "cd " + util.getProjectDir() + " && " + connectCommand;