One of the things I’m working on is better data structure visualisations, and that will probably be tied into tap in some way.
Right, if you want to customise more than what is offered there let me know.
@kslvsunil, @cfleming thank you a lot, I will try this and let you know !
Ok it seems that it is the same that what I've found in the preferences. Two things that I would like to customize for example would be : • quoted symbols • argv bindings. Is it possible ?
I also noticed that clojure core symbols are highlighted even when contained in comments. I would like to fix that.
Is there some kind of tmLanguage.json file somewhere ?
I’d like to debug a process on a remote machine using breakpoints but can not get the debugger to connect properly to the remove JVM. I have a nrepl
remote REPL running successfully but connecting a debugger with IntelliJ IDEA “Remote JVM Debug” run stetting does not work. I have to tunnel the remote JVM socket using SSH port forwarding, maybe that is the problem?
@defa when you start a REPL (remote process) you should put to :jvm-opts parameter
"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"
and tell Idea to connect to debuger port 5005
Thanks, @mike1452, I already did that but it seems that the debugger takes a couple of minutes (!) to connect. Not sure what this is or was but not it is working. Kind of. Thanks.
Unfortunately I encountered a heisenbug… now that I’m able to debug the problem, it has gone away.
yeah, it can be incredibly slow when the Java debugger gets involved, from my experience. I recommend waiting until your process is fully warmed up, before the error state (or whatever you’re trying to debug), then connect the debugger
and disconnect/reconnect it liberally
Hello, my company moved to bazel builds for our Clojure/JVM-based projects. How do I configure Cursive / IntelliJ to recognize my classpath again?
I'll try to setup a project 🙂
there is a bazel plugin for intellij I think
how are you liking bazel? How is it set up to work with Clojure?
if you don’t mind me asking
yeah, there's a bazel plugin for IntelliJ but it does not loads the java classpath from the build
Right now the support for bazel on IntelliJ is very very bad, the company moved from deps.edn to bazel and it broke at lot of IntelliJ classpath loading stuff
😅
goto var definitions are impossible for some part of the code
😅
I can connect a REPL from IntelliJ but it doesn't detect modules on IntelliJ 😞
It seems that cursive doesn't like the latest tools.deps that come with Clojure (https://clojure.org/guides/getting_started#_installation_on_linux)... `clj -Sdescribe => {:version "1.10.3.855" ...};
If I switch it back on it says
And it definitely doesn’t work with those settings?
No, it won't starrt the REPL if I leave it on.
That’s really weird. I can’t reproduce that, and I don’t have a plausible theory for how it could happen. I’ll look at the code to see what debug logging might be there, otherwise I’ll have to add some.
Does your project have tools.deps on its classpath for some reason?
it is not on the classpath, it is in the project root. I have no idea what's wrong where but it is not a corrupted project file. I found a 6mo old untouched deps project that did the same. If you had some debug build I can try to run it here if it helps.
what cursive version are you on? I'm on 1.10.3-eap1-2021.1 with latest clojure and it's grand
The same EAP + 2021.1.2. I can make it work by "use deps directly" but it it worked with the older version (it broke when I updated the clj tooling)