Fork me on GitHub
#other-languages
<
2021-05-11
>
bbqbaron19:05:42

hey friends — i find editing non-lisps difficult due to the lack of structural editing (and it gives me worse ergonomics issues). i don’t want to have to avoid them. i’ve seen a few attempts at experimenting with some vaguely paredit-ish IDE options for non-sexp syntaxes (!), but does anyone have any favorites? really promising options? i’m open to any MO; it doesn’t have to be “we found how to make slurp somehow always work for C syntax” — just anything that relieves the work of manipulating syntax

raspasov13:05:59

JetBrains editors have “Extend Selection” + cut/copy/paste and it is a reasonable compromise. It’s not real structural editing, but you get perhaps ~50% of the same effect.

raspasov13:05:21

I had to write a bit of Swift and Xcode does not have “Extend Selection” or anything similar. I used JetBrains AppCode, which does. I recommend it for Swift/Objective-C.

bbqbaron19:05:12

obvz snippets mitigate the problem a bit when first authoring, but after that it seems like you need highly specialized commands specific to each syntax kind