5 ms·
Visual Studio Code 1.14 released
- dbattaglia 9y agoIf you happen to be using VS Code for Ruby, https://code.visualstudio.com/updates/v1_14#_auto-indent-on-type-move-lines-and-paste https://code.visualstudio.com/updates/v1_14#_auto-indent-on-... is a game changer. 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".
- jug 9y agoAlso a god send for Visual Basic developers doing their "End If", "End Function", not to mention "End Sub". :D
- dbattaglia 9y agoExactly... Life's already hard enough on them as it is. :)
- piaste 9y agoVB dev here: 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 :)
- dbattaglia 9y agoExactly, 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.
- rezistik 9y agoNo 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]
- tonerdo 9y agoAnyone have any idea what theme they use in the gif that demonstrates the ruby auto-indent feature?
- mattbierner 9y agoI believe it's One Dark Pro: https://marketplace.visualstudio.com/items?itemName=zhuangtongfa.Material-theme https://marketplace.visualstudio.com/items?itemName=zhuangto...
- dbattaglia 9y agoI've been using "Atom One Dark" which is also pretty similar https://marketplace.visualstudio.com/items?itemName=akamud.vscode-theme-onedark https://marketplace.visualstudio.com/items?itemName=akamud.v...
- jamesgeck0 9y agoI'd also like to know the name of the theme in the "Manage your .gitignore file" section. https://code.visualstudio.com/images/1_14_gitignore.gif https://code.visualstudio.com/images/1_14_gitignore.gif
- konart 9y agoAs 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.
- greaseball 9y agoI really like what they've done here with the update notifications. It's much less disruptive than the alert messages at the top they had before.
- LyalinDotCom 9y agoIf anyone is new to VS Code you can check out one of our most recent videos from the Build 2017 event: Visual Studio Code: Conquer the cloud with an editor and a CLI https://channel9.msdn.com/Events/Build/2017/B8094 https://channel9.msdn.com/Events/Build/2017/B8094
- WesleyLivesay 9y agoI am very glad that you can now rename Terminal sessions. I will often have several of the same type running.
- sashk 9y agoFinally: Multi Root Workspaces (insider build so far). Thank you.
- ramenmeal 9y agoDoes the built in git support multi root workspaces yet? thats the main feature I'm looking forward to.
- WorldMaker 9y agoGlad 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?)
- WorldMaker 9y agoThe new Tasks 2.0.0 powers are very good as well: better support for multiple task runners, discover then annotate over configure then run.
- ronjouch 9y agoNeat issue management / automation nugget in the "Engineering" section: https://code.visualstudio.com/updates/v1_14#_issue-management-automation https://code.visualstudio.com/updates/v1_14#_issue-managemen... , 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
- petre 9y agoDid the Twitter feedback icon go away or is there an option to hide it?
- jamesgeck0 9y agoDoesn't look like it.
- jazoom 9y agoYay, automatic code indentation. This was sorely needed, especially for CSS. This editor is great!
- aplc0r 9y agoI 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.