3 ms·
No editor seems to handle ruby very well, why do I get an automatic closing bracket but no automatic end? I don't have to write a 1 char closing bracket why do
by rezistik 9y ago
No editor seems to handle ruby very well, why do I get an automatic closing bracket but no automatic end? I don't have to write a 1 char closing bracket why do I need to write a 3 char end?
- kwood 9y agoYou don't have to type "end". Shameless self plug: I wrote an extension that closes everything automatically, inspired by a plugin for vim with the same name: endwise[1] It's not 100% done yet, support for other languages is still missing. But it works. [1]: https://marketplace.visualstudio.com/items?itemName=kaiwood.endwise https://marketplace.visualstudio.com/items?itemName=kaiwood....
- dbattaglia 9y agoThis is great! Really helps fill one of the most annoying gaps in writing Ruby compared to, say, C# in full Visual Studio.
- papa-whisky 9y agoSuper handy, thanks for this!
- rezistik 9y agoThank you!
- lazarus101 9y agohttps://github.com/tpope/vim-endwise https://github.com/tpope/vim-endwise
- deleted 9y ago[deleted]