top | item 41679365

(no title)

mg74 | 1 year ago

I dont think this is a problem anymore in todays world of LSPs and auto formatters. I almost never have to type "end" in Elixir for instance, it is always autocompleted for me.

discuss

order

stavros|1 year ago

How does it know when to end a block?

tredre3|1 year ago

The autoformatter does it based on indentation, but when writing code the editor just inserts it when you open a block (after your cursor), same way } is added when you type { in other languages.