martinklepsch / tenzing

⚡️ Clojurescript application template using Boot
Eclipse Public License 1.0
403 stars 39 forks source link

CIDER support #85

Open cjhowedev opened 7 years ago

cjhowedev commented 7 years ago

I think all that needs to be done for this is to have a .dir-locals.el file with the following content:

((nil . ((cider-boot-parameters . "dev"))))

This will make it start up the boot dev task to create a development REPL with cider-jack-in. I guess this should just be a template flag.

martinklepsch commented 7 years ago

Hey @cjhowe7 that sounds like a good suggestion - do you know if the value of cider-boot-parameters has any effect on what is being ran when you execute cider-connect?

Cheers

cjhowedev commented 7 years ago

No, I don't think so. Here's the doc string for cider-boot-parameters: "Params passed to boot to start an nREPL server via `cider-jack-in'."

abhi18av commented 7 years ago

Hey, so is this moving into the master soon?

This would really be like ideal dev for tenzing :)

cjhowedev commented 7 years ago

I think this makes it slightly harder to transition a Tenzing project to have a backend. I know the intent is to start with frontend-only first, but once a backend is desired, this config is better replaced with cljs-repl-env from boot-cljs-repl. Not sure how this impacts the decision here, though.