Fork me on GitHub
#cursive
<
2017-02-24
>
bfabry00:02:30

how do I make cursive/intellij "know" about all of the classes provided by a new dependency

bfabry00:02:51

I've updated a dependency and a huge number of the classes have changed packages, and I'd like to get as much automatic fixing as possible

zylox00:02:45

are you using leiningen?

zylox00:02:54

because refresh maybe?

zylox00:02:22

though im pretty new to it too so shrug

zylox00:02:43

https://cursive-ide.com/userguide/leiningen.html "Refreshing Leiningen dependencies" section

zylox00:02:02

unless you mean auto changing imports....i got nothing there

bfabry00:02:03

restarting intellij seemed to be the answer

superstructor01:02:37

is there any way in Cursive to get sensible highlighting and symbol resolution for defmethod ?

serioga09:02:00

> is there any way in Cursive to get sensible highlighting and symbol resolution for defmethod ? @superstructor https://cursive-ide.com/userguide/macros.html See “Customising symbol resolution”.

superstructor09:02:44

@serioga thanks, resolving defmethod as defn thanks only works when methods don’t have a name which is good for stack traces e.g. (defmethod country “nz” [args] “was nz”) works but (defmethod country “nz” country-nz [args] “was nz”) does not work.

ckarlsen10:02:15

Suddenly selected text/code is ‘moveable’. I’m on 2017.1EAP and snapshot from 16.02. To reproduce: Just select any code/text, hold cmd and move mouse around. Same thing happens on my linux workstation (with left click)

ckarlsen10:02:05

disabled ‘enable drag and drop functionality in editor’ and problem fixed

ckarlsen10:02:52

but i’ve never enabled that flag, so I blame one of the recent intellij EAPs

isak15:02:05

anyone know why cursive says "js/window.addEventListener cannot be resolved"? does cursive know about anything js specific?

isak16:02:04

@manutter51 well it is able to resolve many symbols, but it seems like 0 javascript symbols, even stuff that would be in the base set of externs

isak16:02:14

i tried restart/invalidate, but i'm in the same state

isak16:02:17

oh wait, if I change it to js/addEventListener, then it works