Fork me on GitHub
#cursive
<
2017-10-16
>
Mudge05:10:53

How come I can't connect to a remote repl when it is created like this: boot repl -s which creates a remote repl

Mudge05:10:05

but when I do boot repl I am able to connect to it in Cursive

moizsj06:10:42

@cfleming i can reproduce https://github.com/cursive-ide/cursive/issues/1745 on the latest stable 1.6.1-2017.2

cfleming06:10:03

@nick319 I’m not sure, I don’t know what the -s flag does.

cfleming06:10:45

@moizsj Ok, I’ll take a look tomorrow.

cfleming06:10:33

@moizsj Actually, I just tried this and it works for me. Can you share a screenshot of where you’re trying to copy the reference from?

moizsj06:10:55

@cfleming an example - (defn send-message ...

moizsj06:10:28

when used here ^, it copies line number

moizsj06:10:36

instead of fully qualified name

cfleming06:10:02

That’s weird, it works for me. Do you have anything weird going on such as it not being able to resolve defn?

moizsj06:10:00

copying on new-fn yieldds - learn_clj/core.clj:9

cfleming06:10:03

Does foo work?

moizsj07:10:37

nope - learn_clj/core.clj:3

cfleming07:10:27

That’s really weird

cfleming07:10:39

In that case I will have to look at it tomorrow - I’m not sure what could be happening there.

moizsj07:10:26

@cfleming also are you aware of any issue that causes unused symbol highlighting (and unused alias) to stop working?

moizsj07:10:32

it seems flaky

moizsj07:10:07

works in the screenshot above, but does not work in a much larger (proprietary) project

cfleming09:10:22

There’s something weird going on with that severity setting, that I haven’t managed to track down yet.

cfleming09:10:06

I can’t figure out if it’s being reset somehow, or if IntelliJ for some reason suddenly requires a higher severity setting to work correctly. I need to investigate and ask JetBrains.

moizsj10:10:55

@cfleming that was it. its now started reporting unused requires and unused locals, but still not reporting unused fn declarations

cfleming10:10:56

@moizsj They’re not reported 100% of the time, it depends on the name for performance reasons.

moizsj10:10:16

ah ok..whats the naming rule?

cfleming10:10:56

If the name is sufficiently unique (IIRC it only appears in < 10 files) then it’ll run the inspection to see if it’s used or not. Otherwise it’ll skip it because it would take too long.

moizsj10:10:59

i see that test* is ignored

moizsj10:10:11

i tried other name combos and it works!

cfleming10:10:30

So you should never get a false positive, but it won’t catch all unused things.

moizsj10:10:43

gotcha. thanks so much

moizsj10:10:15

is there some other setting I should verify? for the copy reference not working

cfleming10:10:36

No, I don’t think so - that one should just work.

mseddon13:10:28

I have a macro that is a dsl, so when I use it there will be lots of symbols that won't resolve, is there a way I can hint to cursive that it shouldn't complain about these within a use of my macro? it's highlighting nearly all the symbols as "cannot be resolved" and rather destracting

markaddleman23:10:31

does anyone have a pointer to a recipe for a good repl experience using cursive and nodejs? i came across something on the web a few weeks ago but i can't find it anymore