Fork me on GitHub
#cursive
<
2021-06-06
>
indy08:06:09

Cursive is amazing, thank you. I have this feature request, though not sure how feasible it is. The ability to tap a variable (using say some shortcut) and after I run the code, I should be able to see information about the tapped variable (in maybe a modal or tooltip) eg. the value itself, its type, the changed versions of the variable if any (and maybe diff the versions), be able to def the variable and so on. I know I can use the debugger or something like https://github.com/vvvvalvalval/scope-capture or simply add-taps and tap> or just def the variable. But I thought it would be really convenient if the IDE gave me this ability out of the box. I understand the runtime of the plugin will be different from that of the code, so not sure how this might work, but maybe it could hook into the REPL for this. I’m also aware of tools like REBL, Reveal and Portal but they require me to switch to it which I rarely do when using IntelliJ + Cursive because everything I want can be done inside the IDE. Don’t really want visualisations (or navigating a web page), just an IDE super tap would be really cool. Would love to help in any way if this is possible.

indy19:06:48

I think I can emulate something close to this with REPL commands and IntelliJ macros for now

cfleming03:06:56

One of the things I’m working on is better data structure visualisations, and that will probably be tied into tap in some way.

👍 2
pbaille17:06:20

Hello, I would like to tweak clojure's syntax highlighting a bit, is it possible with cursive ?

indy19:06:51

Jump to Colors and Fonts action

👍 3
indy19:06:13

While the caret is on whatever you want to customize

cfleming03:06:19

Right, if you want to customise more than what is offered there let me know.

pbaille06:06:35

@UMPJRJU9E, @U0567Q30W thank you a lot, I will try this and let you know !

pbaille06:06:31

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 ?

pbaille06:06:20

I also noticed that clojure core symbols are highlighted even when contained in comments. I would like to fix that.

pbaille06:06:44

Is there some kind of tmLanguage.json file somewhere ?

cfleming03:06:47

No, there isn’t, unless there’s an IntelliJ plugin which could colour things on top of what Cursive does.