Fork me on GitHub
#cider
<
2019-05-27
>
yuhan02:05:22

@bozhidar nope, there's an explicit call to cider--kw-to-symbol in both those functions which does the coercion, thing-at-point recognizes them as different entities.

bozhidar04:05:17

Well, I guess we had some reason do so then. 😄

bozhidar04:05:20

You’ll have to go through the history to see what triggered the addition of this conversion.

yuhan15:05:31

I traced it back to this issue from 2015: https://github.com/clojure-emacs/cider/issues/1220

yuhan15:05:20

Didn't realise that there were libraries out there that used keywords to refer to similarly named vars/functions - I wonder how common of a practice this is (as mentioned in the issue discussion too)

vigilancetech08:05:35

when I'm working in a cljs project, say I want to view a value (created from a def), why does it give me WARNING: Use of undeclared Var but then it prints the value to the REPL and how do I make the warning go away?

felipebarros14:05:27

Is there a special reason why the README specifically mentions lein and boot but not the CLI tools or is it just missing a PR?

bozhidar16:05:16

@anantpaatra Just an oversight.

bozhidar16:05:29

The README was written before the CLI tools existed. 🙂

bozhidar16:05:55

They are properly documented in the manual, though. See https://cider.mx/cider/basics/up_and_running.html

👍 1
lvh23:05:27

CIDER appears to be mostly working fine but is no longer automatically creating ns forms when I create a new source file. I can't tell because they're in an unusual directory structure (`server/test/project/xyz.clj` and server/src/project/abc.clj) -- how do I start debugging that?

dpsutton23:05:11

That was a clj refactor feature I think. Although clojuremode has an insert-namespace-form I think