Fork me on GitHub
#cursive
<
2018-04-24
>
miikka08:04:50

In my ClojureScript files, requires for [clojure.spec.alpha :as spec] have spec highlighted "Unused alias" even though I do have (spec/def ..) usage in the file.

miikka08:04:10

If I change the require to [cljs.spec.alpha :as spec], then the "Unused alias" indication disappears

miikka08:04:45

Or if I do use else than (spec/def) such as (spec/assert), that also makes it disappear.

mfikes11:04:11

Perhaps Cursive doesn’t yet have logic for clojure namespace aliasing https://clojurescript.org/guides/ns-forms#__code_clojure_code_namespace_aliasing

sandbags13:04:58

I just did a rename package refactoring and i'm noticing that it didn't seem to fix any of the requires across the project. Is that an expected outcome?

sandbags13:04:32

it renamed the reference in :figwheel/`:onload` but not defproject although I guess it might be a bit much to expect it to do that (in this case it was the top-level package that got renamed)

dabrazhe19:04:02

Hi. Does anyone have experience in setting up Cursive with Boot-clj or cljs?