by lukehoban on 4/14/16, 4:23 PM with 461 comments
by neves on 4/14/16, 6:38 PM
Sure, you all have root password in your computer. Unfortunately, I belong to a lower race: the corporate developer. I work in a Windows 7 machine, don't have root password and there's a big wall called proxy around me.
I didn't know about VSCode before this HN post, but I was trying to use a new editor instead of Notepad++. In my 5 minutes comparison match between Atom and VSCode, Atom was knocked out in the first minute. To quickly test a new general code editor I just want 3 "simple" things: column selection, regexp search and replace, and a python mode.
Atom: got the regex, must install a column mode extension, need to install a ntlm proxy authentication downloaded from (argh!) Sourceforge, configured it after some google searches, failed to install the extension because it needs a compiler. Ops, just spent 30 min for my 5 min test. Can't spend more time playing with a code editor, must go back to work.
VSCode: Download the portable version https://code.visualstudio.com/docs?dv=winzip and unpack it. Just works.
You've got a new fan VSCode!
by thewhitetulip on 4/14/16, 5:05 PM
I love linux/unix, but the problem always was with the lack of an awesome text editor cum IDE, yep there is eclipse but it is too clunky, I do not like sublime as it isn't FOSS (call me crazy), gedit took way too much memory, geany is fast and mean but the UI sucks plus functionality isn't that great.
Enter VSCode, code writing feels amazing again, not the functional part, but the actual manual part.
I do not like vi because I primarily was learning web dev and I didn't really get my head around using vi effectively and still learn the web dev, so I am not a emacs/vi superstar as I have heard that both of them are fine text editors.
but for the people like me who don't or can't use terminal based editors, VSCode is quite literally the best.
The new Che project of Eclipse does seem promising, but the last time I tried installing it, it took around an hour, consumed GBs of my bandwidth and still nothing.
I am still Waiting for the day I'll be able to program in its entirety on my android device.
I used Atom but it is too slow, it is surprising that VScode and atom share the same ancestor but one is blazingly fast and Atom is so damn slow.
Edit: yep vscode didn't transform coding on unix, it merely changed it to some extent, and why the downvoting? point out where I am wrong, I'll get to learn!
by russell_h on 4/14/16, 5:36 PM
The patterns of use take a little getting used to coming from Atom or Sublime, but VSCode gives me real static-language IDE features that "just work" simply by installing the Go plugin. Comparable functionality in Atom requires multiple plugins and I never managed to make a few of them work at all. The control+tab file switching quickly became second nature.
I never had the performance issues some people have with Atom (on a 5 year old laptop), but VSCode feels a little quicker at some things. Nothing to write home about.
I love Atom's direction (plugability, a well-cultivated ecosystem, discoverable configuration), but for sheer usability I'm sticking with VSCode for now.
by evmar on 4/14/16, 5:35 PM
I have actually been really impressed. It's fast and responsive, even on Linux, and the TypeScript tooling is fantastic. I think with a bit more UI work (like vi keybindings) it could potentially become my preferred editor.
by oblio on 4/14/16, 5:00 PM
Visual Studio Code would be the editor, Omnisharp the Intellisense platform, I think they were also developing some sort of common debugging interface, etc.
It would be a lot nicer than the current Visual Studio setup, where the installation drags in 6GB of cruft.
Of course, this would involve an internal power struggle between Visual Studio Code and Visual Studio proper, and I hope VS Code wins :)
by atonse on 4/14/16, 4:46 PM
by andwaal on 4/14/16, 6:29 PM
by agentgt on 4/14/16, 6:30 PM
I wish I could stick to one editor but there is always some editor that does a way better job at a particular task. Each editor has its killer feature. I have tried turning emulation of emacs/vim on many editors to provide consistency and its never been really good. Thus I have several "default" keybindings in my head.
Because of this I try not to rely on too much magic or customization that any editor provides and instead write lots of shell scripts (Bash, Groovy and Python) to do code generation and to find things.
But I'm always wondering ... could I be more efficient by sticking to one.
VSCode will probably just become another editor I have lying around. Probably for Typescript.
by nickjj on 4/14/16, 9:38 PM
It's noticeably slower than Sublime on a good workstation and it has a bunch of very minor annoyances that Sublime simply doesn't have.
When you encounter these annoyances dozens of times a day, it really turns you off from using it because a good editor should make you happy, not infuriate you.
For example, the way VSCode deals with multiple buffers and the sidebar is really poor. It tries to be cute and keep the sidebar's state in each buffer, but it's done really poorly and constantly disrupts you.
by recursive on 4/14/16, 4:45 PM
Is this a jab at Atom? I like this.
by simple10 on 4/14/16, 11:24 PM
However, even after setting wrappingColumn to an arbitrarily large number, VS Code greatly outperforms Atom. The click accuracy within a long line is off by several characters in my quick test, but good enough.
I was never comfortable using Atom because it would grind to a halt whenever I accidentally opened any files with long lines. VS Code just may be the first MS product that I'll use on my Mac on a daily basis. Looking forward to testing it out on a couple projects.
by yisheng on 4/14/16, 4:59 PM
I would like to know what potential gains could come from using a GUI text editor.
by Corrado on 4/15/16, 8:17 AM
It's also, just very slightly, too slow. By too slow I mean that everything I do just lags a tiny bit; I can type characters faster than it can put them on the screen, clicking in the file browser is not instantaneous, etc. It's a small thing but it really bugs me. I guess I'm just spoiled by ST3. :/
by chucksmash on 4/14/16, 11:24 PM
Microsoft is doing some very cool stuff these days so props to them. "VSCode has done the thing that nobody expected MS to do, change the way code was written in Unix/Linux" though? I believe the term irrational exuberance applies. Let's not get carried away here.
by fibo on 4/14/16, 4:47 PM
by forgotmypassw on 4/14/16, 7:20 PM
by sntran on 4/14/16, 6:27 PM
by beefsack on 4/15/16, 12:09 AM
This post prompted me to try VS Code and I must say, I'm really impressed. There are still a few rough edges but I do understand it's still young.
As soon as the Vim extension becomes usable I'll be on board I think; things like visual selection don't appear to work correctly at the moment.
by krat0sprakhar on 4/14/16, 5:38 PM
by thom on 4/14/16, 5:55 PM
That said, the available extensions seem pretty bare. I don't see many mentions of REPL interaction, and there are no extensions for many languages. I'm glad it's getting attention, but I suspect it'll take a decade of loving care to bring up to the level of most people's emacs configuration. I see no reason that couldn't happen more quickly, though.
by kensai on 4/14/16, 8:26 PM
I have been using it a lot lately to write snippets of code in C or HTML.
by tzaman on 4/14/16, 4:50 PM
by zokier on 4/14/16, 5:27 PM
by deprave on 4/15/16, 1:11 PM
When I have an idea or want to use a new editor tab as scratch space, it's really important to me that whatever I put there isn't lost if I exit the editor. When I close the tab, sure, ask me if I want to save it somewhere. But when I close the editor itself, I want it to reopen and restore everything exactly as I left it.
The last thing I want to deal with is coming up with a path and filename when the editor can easily create a temporary file and map some unique id to it for later use until I tell it explicitly to save or discard it.
by timeu on 4/14/16, 7:43 PM
by sunnyps on 4/15/16, 5:13 AM
I would also like to see the C++ intellisense plugin that's under development improved further. I've found it to be a lot slower than QtCreator at indexing symbols.
by johne20 on 4/14/16, 7:53 PM
by GordonS on 4/15/16, 7:30 AM
[1] https://github.com/Microsoft/vscode/blob/5b9ec15ce526decc5dd...
by pcarvalho on 4/21/16, 4:08 AM
emacs on the console at the servers is unbeatable. the daemon just sits there, and I can fiddle with bash, config files, php, css with ease.
As a full IDE, eclipse is still the best for PHP development. Has a myriad of plugins that make it so powerful: pdt, phpunit, code/lib/docs integration, per project configuration, etc. its amazing!
Now, for js and scss, its a bit more complicated. and this is where vscode is shining for me. I had to learn a few command bindings and a few things are weird for me still: ctrl+x yanks the line, on linux middle click isn't default, "folders"...
One of the things I like the most tho, it is written in a language I can understand. Aptana used to be a favourite of mine, but because I couldn't write any code for it, I was limited to bug reporting and waiting. This being in typescript, I feel I can look into the source code and write a PR.
I yet to explore it deeply, but i'm sure it will just get better and better.
have a nice day!
by spriggan3 on 4/14/16, 4:48 PM
by bsharitt on 4/14/16, 6:35 PM
by ZoeZoeBee on 4/14/16, 7:33 PM
Getting used to things, takes a little bit.
by wildpeaks on 4/14/16, 6:13 PM
Is there such a feature now?
by bobwaycott on 4/15/16, 3:32 PM
Overall, fairly impressed with 30 minutes of play.
by wmccullough on 4/14/16, 7:31 PM
It's to the point now where the conversations are becoming like this:
"I really like this new tool from Microsoft"
Samples Response:
"But Linux is just as good if you install X, Y, Z and are willing to spend hours learning the intricacies of the kernel"
"Embrace, Extend, Extinguish"
As developers, can we all be happy that Windows users are finally getting a nice range of really wonderful tools to use?
Not everything in computing needs to be a great ideological battle, especially when the majority of us are writing simple line of business apps in our day to day careers.
by jagermo on 4/14/16, 8:45 PM
Original Post:
I like working with VS Code, although I'm just starting out.
But one thing bugs me: Is there a way to get VS Code to automatically complete the tags and add the closing tags?
I know about intellisense, but I fail to activate something like autocomplete. I know about Intellisense, but I'd like something that, for example, just fills in <div></div> when I am writing <di + ENTER.
I know some other editors have that feature and I know it got disabled in VS Code because of problems - can anyone elaborate and explain why?
by earthnail on 4/15/16, 12:03 PM
I know it seems like such a minor thing, but I can't have that attention seeker on my screen. Which is a bummer, because I think IntelliSense and its Git integration are clear benefits over Sublime Text. And apart from this issue, I really, really like the UI.
by avolcano on 4/14/16, 6:25 PM
Now I'm on Atom, which has the best VIM support I've ever seen (haven't tried evil-mode, though) and seems to support a similar feature set. They felt about the same speed, too, on this 2013 Macbook Air.
Regardless, other than that quirk, I did really like VS Code, and I'm glad there's more competition in the free editor space :)
by fcoury on 4/15/16, 12:44 AM
by bobwaycott on 4/15/16, 3:02 AM
by annjose on 4/14/16, 9:15 PM
by messel on 4/14/16, 8:10 PM
Anyone have any luck creating an extension with mac classic? Tried manually adding the theme (following their doc) and no luck. Then created a msft account to try and create a package to install it as an extension and couldn't get past 401 on create-publisher.
Back to sublime for now, but I'll keep an eye on this one.
by ashwinaj on 4/14/16, 11:45 PM
https://github.com/Microsoft/vscode/issues/5282
I'm really hoping they look into this. I miss the intellisense from VS ever since I moved full time to Linux development.
by cdnsteve on 4/14/16, 4:56 PM
by kennell on 4/14/16, 5:55 PM
by doodpants on 4/14/16, 6:57 PM
by astannard on 4/15/16, 9:13 AM
by zdam on 4/15/16, 8:11 AM
The editor experience was smooth and fast, with fast intellisense.
I had NodeJS debugging working after 5 minutes reading a VSCode NodeJS page on the VSCode site and clicking a couple of buttons in the editor.
I had a very good initial experience and will use again.
by 0xmohit on 4/14/16, 8:20 PM
by dopeboy on 4/14/16, 6:09 PM
by santaclaus on 4/14/16, 9:23 PM
by piyush_soni on 4/15/16, 10:31 AM
by aksx on 4/14/16, 6:49 PM
by eiopa on 4/14/16, 6:38 PM
I do wish it had a global symbol search, similar to Sublime's (cmd+shift+r). It's indispensable for code navigation.
by rcheu on 4/14/16, 7:09 PM
by paulfitz on 4/15/16, 2:17 AM
by jessegreathouse on 4/14/16, 8:22 PM
by thejaredhooper on 4/15/16, 2:26 AM
by vbit on 4/14/16, 10:38 PM
I would use it at work if I could turn off the phone home feature.
by intrasight on 4/14/16, 5:44 PM
by sashmaaan on 4/14/16, 7:39 PM
by dethswatch on 4/14/16, 4:56 PM
by sureshn on 4/14/16, 7:36 PM
by kahwooi on 4/15/16, 6:50 AM
by ssutch3 on 4/14/16, 5:36 PM
by itomato on 4/14/16, 8:33 PM
by Yuioup on 4/14/16, 7:29 PM
by drudru11 on 4/14/16, 5:44 PM
by maxxxxx on 4/14/16, 5:47 PM
by accbcc on 4/15/16, 9:54 AM
by codecamper on 4/14/16, 7:03 PM
by bbcbasic on 4/14/16, 10:20 PM
5. SCOPE OF LICENSE. The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not * work around any technical limitations in the software; * reverse engineer, decompile or disassemble the software, or otherwise attempt to derive the source code for the software except, and solely to the extent: (i) permitted by applicable law, despite this limitation; or (ii) required to debug changes to any libraries licensed under the GNU Lesser General Public License which are included with and linked to by the software; * remove, minimize, block or modify any notices of Microsoft or its suppliers in the software; * use the software in any way that is against the law; or * share, publish, or lend the software, or provide the software as a hosted solution for others to use, or transfer the software or this agreement to any third party
But:
https://github.com/Microsoft/vscode
So with the msi installer a different license?
by frik on 4/14/16, 5:41 PM
by serge2k on 4/14/16, 11:27 PM
by PlzSnow on 4/14/16, 10:24 PM
by zxcvcxz on 4/14/16, 4:46 PM
It's just too clunky for my taste.
It's also hilarious that Atom gets shat on for data collection when no one cares that VS does it too. Microsoft can do no wrong, only OSS projects have standards to live up to.
by awinter-py on 4/14/16, 5:37 PM
by miguelrochefort on 4/14/16, 8:26 PM
As someone who uses Visual Studio for everything, I have a hard time understanding how people can get anything done in Atom/Sublime/Notepad++/etc.
by joeld42 on 4/14/16, 5:20 PM
https://pavelfatin.com/typing-with-pleasure/
I'm eagerly awaiting a mac version of 4coder (http://www.4coder.net/).