tenzing icon indicating copy to clipboard operation
tenzing copied to clipboard

CIDER support

Open cjhowe-us opened this issue 8 years ago • 4 comments

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.

cjhowe-us avatar Jul 12 '17 14:07 cjhowe-us

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

martinklepsch avatar Jul 12 '17 15:07 martinklepsch

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'."

cjhowe-us avatar Jul 12 '17 15:07 cjhowe-us

Hey, so is this moving into the master soon?

This would really be like ideal dev for tenzing :)

abhi18av avatar Aug 18 '17 03:08 abhi18av

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.

cjhowe-us avatar Aug 18 '17 05:08 cjhowe-us