Is it worth down playing the documentation for file watchers in intellji? It's such a hacky experience in comparison to the LSP approach - I can't think of any reason why you would want to use the file watchers over LSP, but the docs look more imposing for beginners with it in
I don't use IntelliJ myself so whatever the community thinks is good, I'll take it
@sfyire so feel free to PR a doc change
I'm getting a warning
> unresolved symbol the-ns
but why though?
Without more context, I can't reproduce the problem.
My guess is that you're in .cljc
and you're not using the code in a :clj
branch
ha! yes
so that is not in CLJS?
nope
goddam ... TIL
clj-kondo tells me off if I use :some-other-keyword
rather than :else
as the last thing in a cond
expression. Can I add a config to say just detect a keyword, rather than a specific :else
keyword. Or should I just follow the clojure style guide and not be quirky 🙂
@jr0cket That rule comes straight from the community clojure style guide, and you can turn that rule off
@jr0cket https://github.com/borkdude/clj-kondo/blob/5a4e3a139012586ddb788910010cdb1fa97383b5/src/clj_kondo/impl/config.clj#L21
What a strange choice instead of :else... 😉