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?
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.
Cmd-Opt-E
on macOS
action name is Search REPL History
Thanks!
Was hoping for something more like bash command completion but greatly appreciated anway
u can still type anything in that dialog and that filters the list by fuzzy searching whatever u typed
just like in most intellij tool windows or dialog boxes or popups
Shouldn’t be, I don’t think. Check in File->Project Structure to see if a library was created, and if it’s attached to your module correctly.
RIght, that view should narrow down on typing, if it doesn’t (or doesn’t do what you expect) let me know.
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.
@cfleming do you think IntelliJ will ever have a repl comprable to the chrome console (richer ways to drill into data...)
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.
That sounds quite exciting
I’m quite excited 🙂
I have a bunch of different changes on the go, they should all be in there over the coming months.
Fantastic
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
The same situation occurs with this version: 1.9.4-eap6-2020.2
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
uh indexing I wish IntelliJ wouldn't be quite so keen to index all the time
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
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
@d5p Looks like https://youtrack.jetbrains.com/issue/IDEA-138523, there’s a property you can set using Help->Edit Custom Properties…
> 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.
ahh thanks!
Looks like there’s a *print-right-margin*
var you might be bumping into?
That would be a Clojure thing not a cursive thing, so cursive setting won’t affect it.
It would be really cool if cursive REPL could change this setting so the pprint
would respect the REPL window width automatically.
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!
I'm getting a "Run Configuration Error: No modules containing clojure.main found" when I try to add a run configuration. Can someone help?