Basically, when you type "end" it will automatically indent it for you, the same way it does for curly braces on C style languages. Seems like a small thing but it's fairly maddening after a while having to press shift+tab or return after typing "end".
Exactly, regular Visual Studio has done this forever, but Visual Studio Code acted poorly on any language that uses words as block delimiters.
As someone who's done C# and VB for well over 10 years before Ruby I definitely miss a lot about regular Visual Studio. It's nice to see VS Code evolving into a solid alternative for non Windows users while staying light and lean at the same time.
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?
You 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.
As a Sublime user - I was quite suprised when I tried VS Code and learned it couldn't do this.
Now, if only they improve highlighting. In sublime if you select variable - only variables with same name will be hightlighted. VS Code highlights all occurances of the said string. So if you have variable r for IO.Reader or something - al occurances of r will be highlighted.
Glad to see Tasks promoted to editor chrome, but I think I'd really love to see it promoted further from a menu to a full Explorer pane or maybe even a co-tab with Debugger.
(Especially because I have the menu off by default and have to accelerator key for it.)
(Aside to the aside: why in every Electron auto-hidden menu does Alt+Key work, but not Alt,Key? Is that a Chromium bug/oddity?)
The Probot we deployed to assist in our issue management now uses a machine learning algorithm to guess the feature area of new issues. When the algorithm estimates a sufficiently high probability of being correct, the bot adds the area label and (in some cases) directly assigns the issue to a developer on the team
For a few days after a new release, the bot labels new issues filed for that release with the new release label. This helps us quickly spot regressions introduced in the release. We remove the label after a few days
I really appreciate that they take the time to add screenshots and animations to these posts. It combines a change log and demo in a very efficient way. A lot of software can learn from this.
29 comments
[ 4.4 ms ] story [ 69.8 ms ] threadBasically, when you type "end" it will automatically indent it for you, the same way it does for curly braces on C style languages. Seems like a small thing but it's fairly maddening after a while having to press shift+tab or return after typing "end".
We don't actually type those, Visual Studio adds them automatically when we hit enter.
But we appreciate the thought, and we're happy that Ruby is halfway there now :)
As someone who's done C# and VB for well over 10 years before Ruby I definitely miss a lot about regular Visual Studio. It's nice to see VS Code evolving into a solid alternative for non Windows users while staying light and lean at the same time.
It's not 100% done yet, support for other languages is still missing. But it works.
[1]: https://marketplace.visualstudio.com/items?itemName=kaiwood....
https://marketplace.visualstudio.com/items?itemName=akamud.v...
https://code.visualstudio.com/images/1_14_gitignore.gif
Now, if only they improve highlighting. In sublime if you select variable - only variables with same name will be hightlighted. VS Code highlights all occurances of the said string. So if you have variable r for IO.Reader or something - al occurances of r will be highlighted.
Visual Studio Code: Conquer the cloud with an editor and a CLI https://channel9.msdn.com/Events/Build/2017/B8094
(Especially because I have the menu off by default and have to accelerator key for it.)
(Aside to the aside: why in every Electron auto-hidden menu does Alt+Key work, but not Alt,Key? Is that a Chromium bug/oddity?)
The Probot we deployed to assist in our issue management now uses a machine learning algorithm to guess the feature area of new issues. When the algorithm estimates a sufficiently high probability of being correct, the bot adds the area label and (in some cases) directly assigns the issue to a developer on the team
For a few days after a new release, the bot labels new issues filed for that release with the new release label. This helps us quickly spot regressions introduced in the release. We remove the label after a few days
This editor is great!