swarm-game / swarm

Resource gathering + programming game
Other
834 stars 53 forks source link

Typing open bracket at the REPL should insert matching close bracket #1952

Closed byorgey closed 3 months ago

byorgey commented 3 months ago

It would be super handy if typing any kind of open bracket (paren, square bracket, curly brace) at the REPL caused a matching close bracket to be immediately inserted to the right of the cursor! I would love love love this feature. It would both (1) make it easier to end up with matching brackets and (2) keep the current input valid more of the time. I don't know why I never thought of this before.