Fork me on GitHub
#cursive
<
2022-06-01
>
thheller06:06:08

hmm did something change in cursive formatting or is this related to my idea upgrade? suddenly it indents #_ comments even stranger than before as seen in this commit https://github.com/thheller/shadow-cljs/commit/c2c1804edd5dcdc0e188115dd95e693df48201ac#diff-627331f67433ba87fbab3a5eccd603010cfc7818f4fc1e7f8ac698214c2d7285R268-R271

cfleming21:06:21

I don't think anything has changed in that code for ages, I'll take a look

thheller06:06:39

basically I only pressed reformat code on the file which has a bunch of #_#_ comments and indented all of them differently than before

thheller06:06:18

appears to be consistent between all of them though

Rachel Westmacott10:06:08

I think this one has seemed odd to me for a while, but I'm mentioning it now. I use 'Extend|Shrink Selection' a lot and it seems odd after a string in the last position of a form. F.e. assuming | is the cursor position before and < / > defines the selection after I press Ctrl+W (Extend Selection) then I would expect to go from (foo "bar"|) to (foo <"bar">) but instead I seem to end up at <(foo "bar")> which seems inconsistent with other behaviour (i.e. if "bar" isn't a String) and also wasteful as I can get there from (foo "bar")| with Ctrl+W. Perhaps there's a good reason for it I've overlooked?

cfleming21:06:38

I'll check this, thanks.

Rachel Westmacott08:06:26

Also does something odd with #-style anonymous functions: Again if | is the cursor and I extend selection in (juxt #(subs % 0 4)|) then current behaviour definitely violates POLA for me.

Rachel Westmacott13:06:53

Also worth checking symbols that end in a question mark. f.e. (foo pred?|)

Rachel Westmacott13:06:01

or a ! or - - they also seem to break it. (though who in their right mind ends a symbol with a hyphen?)

Rachel Westmacott17:11:40

Still getting inconsistencies like [foo bar|] vs. [foo bar?|] . It breaks my flow when I hit things like this but I guess this isn't a high priority.

dvingo14:06:51

I am on Cursive 1.12.3-2021.3 and getting the cyclic dependency error in a clojurescript repl: https://github.com/cursive-ide/cursive/issues/2690 was this only fixed for clojure?

cfleming21:06:42

Ugh, I hope not, I'll check.

dvingo22:06:46

tried restarting intellij to see if that would help - still getting the error. this is the intellij version and cursive

dvingo22:06:31

there is an intelij update - do i need to use the 2022.1.2 ?

cfleming05:06:41

Ah, no, the problem is that that bug is fixed in the current EAP series, not in 1.12.3. You can upgrade to the EAP, see here: https://cursive-ide.com/userguide/#choosing-to-receive-eap-beta-builds. Otherwise, I'm hoping to get a new stable build out tomorrow.

dvingo15:06:45

ok sweet - sorry for the noise, I just clicked the "view full release notes" in the UI and it listed that fix.

dvingo15:06:42

I see now, the fix is listed under the EAP build