Fork me on GitHub
#cursive
<
2017-01-04
>
danielcompton03:01:16

Is there a way to treat a build.boot file as a Clojure one?

danielcompton03:01:24

So I can get syntax highlighting and paredit

cfleming04:01:07

@danielcompton Currently it’s a bit nasty - I think you have to map .boot files to Clojure, and then put build.boot inside a source root and symlink it to the root of the project.

danielcompton04:01:52

Cool, that's in Preferences > Editor > File Types for anyone else following along

cfleming04:01:29

FWIW boot support will probably be the next major functionality I add to Cursive

stijn08:01:42

@cfleming how can I renew my license? I looked it up and have purchased a commercial license on 2015-12-10 but didn't receive a request for renewal?

pseud09:01:12

If I try to create a run configuration for my frontend app, it fails unless I launch it as a regular JVM process. I tried configuring it as a leiningen project like so: Run -> Run... Clojure REPL -> Local Run nREPL with Leiningen Project: <myproject:0.1.0-SNAPSHOT Profile: base,dev Parameters: dev/repl.clj No environment variables set, working dir cannot be changed (but is set to the root of the source code directory). I get the following error out of that... http://paste.ubuntu.com/23738026/

cfleming09:01:52

@stijn You’ll be able to soon - I extended the current update period to 10 Jan for anyone whose licence period ended earlier than that: https://cursive-ide.com/archive/2217.html

cfleming09:01:10

Basically, for non-work reasons I didn’t have the renewal functionality done - I’m just finishing it off now.

cfleming09:01:06

@pseud That’s odd. cljsbuild is not on your classpath. I’m not sure it should be though - is it there if you do lein classpath?

cfleming09:01:47

Does your dev/repl.clj invoke it somehow, and pull in that dep using some lein mechanism?

pseud09:01:59

True enough, lein classpath |grep cljsb didn't return anything (had to grep as the regular input was a large, unreadable block of text

cfleming09:01:08

@stijn I’ll let you know when you can beta test 🙂

cfleming09:01:36

@pseud So the question is, why is the REPL trying to find it? I’m not sure about that. You could try debugging the process and breaking on FileNotFoundException, and looking up the stack frames to see which namespace it’s trying to load.

pseud09:01:23

Well, it works nicely enough if I configure the project to run as a regular JVM process. Ditto if I just issue lein repl. Is Cursive trying to be clever somehow ?

cfleming09:01:59

Well, there’s all sorts of cleverness there, but mostly to try to make the Cursive REPL do what lein repl does.