Fork me on GitHub
#emacs
<
2020-12-03
>
zane01:12:23

Created #doom-emacs for discussing the https://github.com/hlissner/doom-emacs.

Ian Fernandez11:12:17

just asking, anyone knows how I can define more than 1 repl profile on .dir-locals.el ?

Ian Fernandez11:12:54

((clojure-mode
  (cider-clojure-cli-global-options . "-A:cljs:dev:test")
  (cider-default-cljs-repl . shadow)
  (cider-shadow-cljs-global-options . "-A:cljs:dev:test")))
Like, most part of my company/side projects I do something like this

Ian Fernandez11:12:50

but I've seen some projects that people does in IntelliJ that requires more than 1 repl (remote-repl, dev repl, sandbox repl) that contains some other mix of aliases

Ian Fernandez11:12:32

anyone knows here how to make some other "cider-jack-in profiles" like Repl profiling on IntelliJ?

futuro22:12:38

In the event no one else has a cleaner solution, you could make a small function which opens each of the repls you want, then bind it to a key with .dir-locals

Ian Fernandez01:12:48

ok, thanks 😃

👍 3