cursive

thheller 2025-05-27T07:24:05.812249Z

ok so who do I have to bribe to get an option to turn this automatic extension of comments completely off? you know press enter in a line with a comment and it starts a new line as a comment. something in the behavior has changed and I'm now stuck in permanent comment hell. maybe it was a Cursive update or IdeaVIM update, I can't really tell. LLMs are no help, they just imagine config options that don't exist. This is driving me crazy. I just want to write code, not comments all the time. I'm tempted to remove all comments just to stop this madness. I don't want to press enter, backspace, backspace all the time.

onetom 2025-05-27T08:32:43.882289Z

if u r using vim-style editing, wouldn't lower or upper-case O provide u a new, non-commented line?

thheller 2025-05-27T08:37:08.295369Z

it used to, no longer does

raspasov 2025-05-27T08:37:58.721789Z

It’s not a “solution” but you can probably use down-arrow…

thheller 2025-05-27T08:38:39.144589Z

then I have down-arrow, enter, up-arrow. also bad.

raspasov 2025-05-27T08:39:00.252939Z

As in, it’s not inserting a new line, but you get out of “comment” mode

raspasov 2025-05-27T08:39:45.383349Z

Sure, yeah … I think I noticed this but it didn’t cause me too much trouble… perhaps I need to write more comments 😅

raspasov 2025-05-27T08:40:20.901419Z

Sometimes once you’re in “comment” mode it can be nice to stay in comment mode, for a multi-line one…

thheller 2025-05-27T08:40:59.723579Z

I'd rather opt out of this and manually extend a comment. I know why this feature exists and it can be nice, right now its the most annoying thing ever

thheller 2025-05-27T08:41:24.769669Z

maybe it was the IdeaVIM or just IntelliJ update. I really can't tell

thheller 2025-05-27T08:41:38.393449Z

can't use vim o or O without going insane

raspasov 2025-05-27T08:41:44.965249Z

I don’t think I use IdeaVIM, so possibly not that

raspasov 2025-05-27T08:43:22.101439Z

There is one quite “hacky” way to go around this (that I can think of right now, at least), not sure how smooth sailing it would be but you can give it a try: recording an IntelliJ macro of a few steps… And then assigning that to the regular Enter key

onetom 2025-05-27T08:43:31.358559Z

my bet would be on IdeaVIM being the problem, since it's quite hacky

raspasov 2025-05-27T08:43:34.383719Z

It’s always a bit sketchy but it can work for some cases

raspasov 2025-05-27T08:44:09.628259Z

Not sure if it was easy to control the timing of that stuff, I don’t recall

raspasov 2025-05-27T08:45:07.440579Z

Alternatively, if you’re on MacOS there’s this tool called BetterTouch tool that allows you do pretty custom stuff with keyboard output (outside of IntelliJ)… I bet Linux has something similar; Windows no idea

thheller 2025-05-27T08:46:21.119379Z

thats taking things a little far

raspasov 2025-05-27T08:47:03.567239Z

hah, yeah… just brainstorming out all the options

raspasov 2025-05-27T08:47:20.721669Z

I don’t recall what I was doing there but it’s possible 😅

raspasov 2025-05-27T08:48:16.860829Z

It’s gotta be peek annoyance to get there; typically not much value

thheller 2025-05-27T08:48:19.948999Z

lets see if an LLM can find a relevant change in the IdeaVIM github commits 😛

raspasov 2025-05-27T08:48:43.280689Z

again, I don’t think I have IdeaVIM - is that a standard part of Idea?

thheller 2025-05-27T08:49:54.677089Z

I'm mostly annoyed by o and O not working as they used to. enter extending the comment is fine most of the time

raspasov 2025-05-27T08:50:25.801629Z

ah, I see… I don’t know about those specifically

onetom 2025-05-27T08:55:58.395119Z

i would try to downgrade ideavim manually to some earlier version from this page: https://plugins.jetbrains.com/plugin/164-ideavim/versions because it's easier and faster to do, then downgrading intellij itself.

thheller 2025-05-27T08:58:29.017659Z

hmm but now do I select which version to install?

thheller 2025-05-27T08:59:07.609929Z

ah nvm tells you when you click download

thheller 2025-05-27T09:03:24.165429Z

hmm can't go back too far or it fails because of some intellj api breakage I guess ... I swear I'm never changing my editor versions again ...

thheller 2025-05-27T09:19:14.757699Z

oh wow. nice find thx.

thheller 2025-05-27T09:21:03.220869Z

too quick to blame ideavim I guess. just tried in .java and it actually works as expected

👍 1