Fork me on GitHub
#cursive
<
2018-01-23
>
cfleming01:01:04

@holyjak Sadly, no, but I’m planning to work on that soon.

joshkh15:01:34

is it possible to find all references to a qualified keyword using Cursive?

joshkh15:01:11

literally right click, Find Usages. i need a coffee. 🙃

joshkh15:01:45

well since i'm here, are there any Cursive features to find dead code?

joelsanchez15:01:13

regarding the first question, CTRL-B works just like with any var

joelsanchez15:01:02

(`Navigate -> Declaration` just in case you have it remapped)

joshkh16:01:27

that's odd, Navigate -> Declaration on a keyword doesn't seem to do anything

manutter5118:01:20

Key words aren’t really declared, they just evaluate to themselves.

manutter5119:01:00

That seems odd to me — how can you navigate to the declaration of something that doesn’t have a declaration? But if it works, it works, eh? Only it doesn’t work in my (non-re-frame) code. I can select a keyword, and select Navigate -> Declaration from the menu, and nothing happens. Find Usages works, but not Navigate -> Declaration. Maybe it’s re-frame specific?

joelsanchez19:01:32

works also on non-re-frame code, maybe @cfleming can enlighten us on this

joelsanchez19:01:17

regarding the "how can it be", I think it simply navigates to the first appearance of the given qualified keyword in the target namespace

manutter5120:01:41

Yeah, I’m probably obsessing over semantics. Then again, I freak out about when you click on “All Unreads” in Slack, and it says, “All caught up, the world is your oyster” 🐙 and I’m yelling “That’s a picture of an octopus, not an oyster!”

bfabry23:01:39

mostly getting used to the new default keybindings. but I'm finding the k key is way overloaded now