This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-08-30
Channels
- # admin-announcements (10)
- # beginners (7)
- # boot (216)
- # cider (10)
- # cljs-dev (3)
- # clojure (71)
- # clojure-denmark (2)
- # clojure-italy (3)
- # clojure-seattle (1)
- # clojurescript (124)
- # cloxp (1)
- # code-reviews (5)
- # core-matrix (2)
- # cursive (34)
- # datomic (3)
- # editors (1)
- # hoplon (201)
- # immutant (2)
- # jobs (3)
- # ldnclj (7)
- # off-topic (3)
- # re-frame (19)
- # reagent (76)
I tried to start a repl on Clojure project but I got this error
Exception in thread "main" java.io.FileNotFoundException: Could not locate cljsbuild/compiler__init.class or cljsbuild/compiler.clj on classpath., compiling:(/Users/tap/Library/Caches/IdeaIC14/tmp/form-init7188868106629976839.clj:1:107)
at clojure.lang.Compiler.load(Compiler.java:7239)
at clojure.lang.Compiler.loadFile(Compiler.java:7165)
at clojure.main$load_script.invoke(main.clj:275)
at clojure.main$init_opt.invoke(main.clj:280)
at clojure.main$initialize.invoke(main.clj:308)
at clojure.main$null_opt.invoke(main.clj:343)
at clojure.main$main.doInvoke(main.clj:421)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at clojure.lang.Var.invoke(Var.java:383)
at clojure.lang.AFn.applyToHelper(AFn.java:156)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.main.main(main.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
Caused by: java.io.FileNotFoundException: Could not locate cljsbuild/compiler__init.class or cljsbuild/compiler.clj on classpath.
at clojure.lang.RT.load(RT.java:449)
at clojure.lang.RT.load(RT.java:412)
at clojure.core$load$fn__5448.invoke(core.clj:5866)
at clojure.core$load.doInvoke(core.clj:5865)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invoke(core.clj:5671)
at clojure.core$load_lib$fn__5397.invoke(core.clj:5711)
at clojure.core$load_lib.doInvoke(core.clj:5710)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply.invoke(core.clj:632)
at clojure.core$load_libs.doInvoke(core.clj:5749)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invoke(core.clj:632)
at clojure.core$require.doInvoke(core.clj:5832)
at clojure.lang.RestFn.invoke(RestFn.java:436)
at user$eval7.invoke(form-init7188868106629976839.clj:1)
at clojure.lang.Compiler.eval(Compiler.java:6782)
at clojure.lang.Compiler.eval(Compiler.java:6771)
at clojure.lang.Compiler.load(Compiler.java:7227)
... 16 more
Process finished with exit code 1
Exception starting REPL: java.lang.InterruptedException
This project doesn’t related to ClojureScript at all, but the previous project I was working on is a ClojureScript project. Any idea what have I done wrongly?
Note: $ lein repl
in command line starts the repl fineis there a way to manually invoke the indentation options intellij helper menu?
I want to tell cursive to indent a “defsomething” a certain way, but clicking on the defsomething doesn’t show me the light bulb.
@solussd: Not right now, sorry, I need to make the indentation options editable in the settings pane.
any file I can edit?
The lightbulb is usually reliable though, does your defsomething resolve? Can you navigate to it?
I also have it suggesting (in a blue popup) to import something
maybe that is preventing the lightbulb?
something else
is there a way to tell it to stop suggesting the import?
the things it is suggesting to import are declared with my defsomething, so cursive doesn’t see them as defs
You can exclude the package of the thing it’s trying to import, but that may not be what you want.
it’s not “Project"
running eap 15, if that matters
You’ll see a block that looks like this:
<ClojureCodeStyleSettings>{
:compojure.core/defroutes :only-indent
:eway-test.store/with-transaction 1
:hiccup.core/html :only-indent
:xodus-test.core/with-transaction 1
}</ClojureCodeStyleSettings>
thank you!!