cursive

Issues at: https://git.io/cursive-issues
onetom 2020-10-19T03:50:46.112500Z

im trying to use net.sf.jtidy/jtidy {:mvn/version "r938"}, but in (:import (org.w3c.tidy Tidy)) it's marked as unresolved. is it possible that it's caused by the :mvn/version starting with a letter instead of a number?

Oliver George 2020-10-19T03:50:46.112600Z

What's the intellij repl command to find something in the repl history. E.g. "<ctrl-r>(def db @re<tab>" to find the last full command with that string in it.

onetom 2020-10-19T04:10:18.112700Z

Cmd-Opt-E on macOS action name is Search REPL History

Oliver George 2020-10-19T04:18:42.112900Z

Thanks!

Oliver George 2020-10-19T04:20:17.113100Z

Was hoping for something more like bash command completion but greatly appreciated anway

onetom 2020-10-19T04:21:06.113400Z

u can still type anything in that dialog and that filters the list by fuzzy searching whatever u typed

onetom 2020-10-19T04:21:26.113600Z

just like in most intellij tool windows or dialog boxes or popups

cfleming 2020-10-19T04:27:48.113900Z

Shouldn’t be, I don’t think. Check in File-&gt;Project Structure to see if a library was created, and if it’s attached to your module correctly.

1👍
cfleming 2020-10-19T04:28:58.114200Z

RIght, that view should narrow down on typing, if it doesn’t (or doesn’t do what you expect) let me know.

Oliver George 2020-10-19T04:34:05.114400Z

Will do. It's sluggish but I've been playing with a large chunk data. I suspect I'll need a fresh history to see it working well.

Oliver George 2020-10-19T04:34:32.114600Z

@cfleming do you think IntelliJ will ever have a repl comprable to the chrome console (richer ways to drill into data...)

cfleming 2020-10-19T04:35:45.114800Z

Yep, I’ve been working on a data browser, and that should be available at some point soon for inline evaluation in the editor, as well as possibly in the REPL output too.

Oliver George 2020-10-19T04:36:13.115100Z

That sounds quite exciting

cfleming 2020-10-19T04:36:38.115300Z

I’m quite excited 🙂

cfleming 2020-10-19T04:37:01.115500Z

I have a bunch of different changes on the go, they should all be in there over the coming months.

Oliver George 2020-10-19T04:37:17.115800Z

Fantastic

AJ Jaro 2020-10-19T13:18:36.119300Z

I have a CLJC namespace that I want to “Find Usages” for. When I command click or use the context menu, it does not display any references for CLJS usages of that namespace. However, when I “Find Usages” for any functions in that namespace it works as expected. Cursive version: 1.9.4-eap6-2019.3

AJ Jaro 2020-10-19T13:22:25.119400Z

The same situation occurs with this version: 1.9.4-eap6-2020.2

octahedrion 2020-10-19T14:41:30.123Z

a weird thing happened the other day, I don't know what I did but suddenly "send top form to REPL" changed its behaviour, normally I can be anywhere in a form that's inside a comment form and go send-top-form-to-REPL and it will send the top form but not the parent comment form to the REPL, but now it changed to send (comment (my-top-form...)) to the REPL. Restarting IntelliJ fixed it but I don't know why it did it

octahedrion 2020-10-20T09:38:34.137900Z

uh indexing I wish IntelliJ wouldn't be quite so keen to index all the time

2020-10-19T19:02:08.124500Z

what setting controls soft-wrap in the repl? i want it completely disabled and from what i can see it is, but it always auto-enables when an output line is long enough

2020-10-22T05:06:25.149400Z

hi @cfleming, to easily reproduce this it seems once an output line is over 100000 chars it turns on soft-wrap automatically , i.e (println (repeat 50000 "x")) , do you know of any intellij internals that might be setting this limit? can’t see any settings anywhere

cfleming 2020-10-22T05:10:14.149600Z

@d5p Looks like https://youtrack.jetbrains.com/issue/IDEA-138523, there’s a property you can set using Help-&gt;Edit Custom Properties…

cfleming 2020-10-22T05:10:17.149800Z

> You can disable it by setting editor.soft.wrap.force.limit to a very large value (longer than any lines you work with), but you’ll most probably get a worse performance, so it’s a tradeoff for now.

2020-10-22T05:11:07.150Z

ahh thanks!

2020-10-19T19:07:12.125200Z

Looks like there’s a *print-right-margin* var you might be bumping into?

2020-10-19T19:07:51.125700Z

That would be a Clojure thing not a cursive thing, so cursive setting won’t affect it.

katox 2020-10-21T08:59:18.147500Z

It would be really cool if cursive REPL could change this setting so the pprint would respect the REPL window width automatically.

lread 2020-10-19T19:53:50.127900Z

Even though my fingers have gotten used to spacemacs, I am finding Cursive is the bomb when doing Java interop. So nice to be able to dig deep into those Java objects! Thanks for Cursive @cfleming!

6➕
j 2020-10-19T23:50:38.129300Z

I'm getting a "Run Configuration Error: No modules containing clojure.main found" when I try to add a run configuration. Can someone help?