other-languages

here be heresies and things we have to use for work
bbqbaron 2021-05-11T19:47:42.122100Z

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

raspasov 2021-05-14T13:15:59.126100Z

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.

raspasov 2021-05-14T13:17:21.126400Z

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.

bbqbaron 2021-05-11T19:48:12.122700Z

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