31 ms·
Visual Studio Code 1.7.1
- jagermo 10y agoCan I say that I really like the speed of these updates? The team Microsoft really seems to be invested in this free code editor. And a lot of the features are cool, however I really like: | Help > Keyboard Shortcuts Reference brings up a printable PDF reference sheet of VS Code command keyboard shortcuts. Keep this reference handy and you'll be a VS Code power user in no time.
- pavlov 10y agoThe team Microsoft really seems to be invested in this free code editor. It's great strategic marketing. Making Visual Studio Code costs a fraction of what Microsoft spent on the Surface RT marketing campaign (as an example), and the benefits to their image are much more powerful and long-lasting. The Microsoft brand has been completely reborn in the eyes of developers over the past few years. The lows of 2007-2010 seem a distant memory.
- laurentdc 10y ago> It's great strategic marketing. Yeah, it's clear they're trying to "save face" in front of the open source community and become more developer-friendly (Bash on Windows too). But I must say, ten years ago when I had to choose between Java and C# for a SCADA project I picked the latter because of the Visual Studio IDE which was already well above the competition (think Eclipse/NetBeans back then). I'm glad they've brought it back for all open source software.
- mmgutz 10y agoI don't think it's so much "sav[ing] face" as much as it is getting the message out they fully support open source. The long term play is azure which is their big money maker. 1/3 of deploys on azure (IIRC) use linux images. Our startup got a huge credit to host on azure and we don't use .NET nor Windows. Competition is good.
- sremani 10y agoThey are doing it the hardway, every one is entitled to earn their accolades including Microsoft, Google or Apple. Is it marketing, change of culture or otherwise, given the increase of footprint of their editor they are providing real value to developers on non-windows platform in spades.
- jeresuikkila 10y agoI wish more companies understood the value of great products that people love to use as marketing instead of spending money on advertising.
- slackstation 10y ago> I wish more companies understood the value of great products that people love to use as marketing instead of spending money on advertising. Companies understand. It's just that making something that people truely like is expensive, takes a long time and is risky. Marketing (in many instances) is cheaper, faster and less risky. Also, it's something you can do with 3rd party providers who do this for many companies. In other words, it's a business problem that can be solved by basically throwing money at it. Building something usually takes insight into the customer, knowledge on how to build the thing that people want and ongoing work at maintaining that thing that makes people so happy. All of this takes a great amount of internal talent, skill and leadership. If the wrong few key people leave, if the corporate culture changes, if the winds of the stock market and profits shift, this can go away. It's much, much easier to just rebrand your way into people's good graces.
- mattmanser 10y agoI don't get the end game though, what is the strategy? Ultimately, if you end up using Linux .net core + typescript, they seem to be killing off visual studio, IIS, Windows Server, etc. For what? Azure, glorified hosting that might end up a race to the bottom vs AWS & GCE? Selling SQL server licences? I just don't get the strategy. I'm genuinely asking, where is this actually taking them apart from burning a bunch of money making free tools? Why are they making .Net core?
- pavlov 10y agoMaybe the end game is the same as it always was: find the next profitable thing and leap on it? Microsoft is opportunistic. They were a major UNIX vendor in the '80s (Xenix); then they were married to IBM with OS/2; until one day they weren't. Microsoft has traditionally been the one to get the hate for this because their moves were so brash in the '90s... But the other big tech companies aren't any better. Apple is a friend of open source and standards only when it happens to suit them. Google does lots of open source but they want to be the ones holding the reins at all tiems (Blink, Android, etc.) Facebook spends a lot of money on looking smart and friendly to developers so that we'd ignore the Orwellian pile of information they hold on most people. Etc.
- orionblastar 10y agoMicrosoft in the 1990s, had tried to find a replacement for DOS partnering up with IBM. Commodore had the Amiga, Atari had the Atari ST, and Apple had the Macintosh and their operating systems were better than DOS. So out of an advanced DOS project came OS/2 and then the GUI for OS/2. IBM had their own OS/2 and Microsoft had their own OS/2 as well. Microsoft was working on Microsoft OS/2 NT 3.0 when they broke off from IBM, and then renamed it Microsoft Windows NT 3.1 using the Windows 3.X GUI. Microsoft also pushed Windows 3.0 and 3.1 that loaded on top of DOS. IBM had OS/2 2.0 that had WIN-OS2 to run 16 bit Windows apps. Then companies quit making OS/2 native apps and made 16 bit Windows apps instead because OS/2 could run them as did Windows. The big blow to IBM was Microsoft's Windows Tax to OEMs, that is based on how many computers they made, even if Windows was not installed on the new PCs. So if someone wanted to install IBM's OS/2 or Next's Nextstep for Intel chips, or BeOS for Intel, they still had to pay Microsoft the Windows tax. This forced OEMs to preinstall Windows, because they already paid for it with the Windows tax. So it was a combination of OS/2 running 16 bit Windows programs and companies not wanting to make an OS/2 native version, and Microsoft marketing Windows to be used instead of OS/2 by bundling it with every OEM PC sold, that stabbed IBM in the back over OS/2. Yes, Microsoft in the 1990s were ruthless and even bundled Internet Explorer with Windows 95 OSR and Windows 98 that got them investigated by the DOJ for antitrust issues.
- blitzd 10y ago> The Microsoft brand has been completely reborn in the eyes of developers over the past few years. The lows of 2007-2010 seem a distant memory. Maybe in the eyes of some developers - for many of us who are still dependent on MS products that haven't been getting much attention (SQL Server and it's related BI tools), the lows are still getting lower. Sure, there's improvements in the overall functionality (with SQL 2016) - but trying to get bugs fixed (or even acknowledged) for anyone but a fortune 500 company is still an exercise in futility. Trying to get support via MSDN forums (as is a purported benefit of our multiple MSDN developer licenses) is a joke. We're dropping any MS related tech that we can, because frankly it feels like we're throwing money away when we could be getting the same (or, most likely better) support using open source technologies instead. I have connect issues that have been open and unacknowledged for going on 4 years now. Meanwhile, I have posted bug reports to open source projects on github and received responses back with 5 minutes of hitting submit. VS Code is great, don't get me wrong - but the experience with that project is a far cry from the products we've PAID MS to use and develop with.
- blahi 10y agoWhat exactly open source technologies will give you feature parity and better support than microsoft's BI stack?
- JohnnyConatus 10y agoWould love an answer on this one. I implemented the MSFT BI stack into a product for no other reason than we were already using MSFT. However, each time I look at OSS BI stacks I feel like I'm losing out on something.
- blitzd 10y agoThere's nothing that's really comparable at the moment, so far as I know. It's not one of the pieces we've been able to replace.
- johnnyb9 10y agoReminds me of the 5 year old bug to fix Intellisense completion mode in SSMS, finally fixed in 2016.
- skilic 10y agoI wonder what I'd get from my Surface RT that I paid more than a pretty penny for a few years back. Would be nice to "trade-in" for a decent discount on a Surface Pro 3/4.
- insightful 10y agoThey update quickly because they know every trivial update will be a front-page on Reddit as a bunch of Microsoft boosters try to shout "SEE WE'RE HERE TOO!" It's pretty lame.
- Gurrewe 10y agoI'm impressed by the speed of the releases here. 1.7 to 1.6 to 1.7.1 within a single day.
- sdegutis 10y agoI wonder how many people at MS had to pull an all-nighter to make that happen.
- jongalloway2 10y agoIt does help that Erich Gamma & team are in Zurich...
- neculaiandrei 10y ago5 people. Microsoft employee here. NOT.
- deleted 10y ago[deleted]
- colemickens 10y agoI get the distinct impression that they invested in good tooling, CI and CD, which probably enables all sorts of product engineering greatness. Hopefully it's a trend.
- Pigo 10y agoElectron is a great framework. I've used the same applications on several OS's, each seemed stable and fully functional.
- timdorr 10y agoI'm curious why Atom gets so much crap for being an Electron app, whereas VS Code is generally praised for it's speed. Are they doing something significantly different from each other?
- Touche 10y agoYeah, their JavaScript is better. Electron has nothing to do with the speed.
- Zyst 10y agoThis, my start time on Atom -- using an SSD -- on Windows is several times longer than VS Code, it just feels jarring. On OS X the start times for Atom are a lot better though, in my experience.
- ovao 10y agoI suspect there's some bandwagonism at play in some of it, but I think the VS Code team has generally applied lessons learned from some of Atom's more obvious performance shortfalls (large file handling, for example, for which support was added very incrementally). In my day-to-day usage I'm not seeing any significant performance differences between Atom and Code, but that may just be a function of my particular use cases, or it may well be that newer versions of Atom have, at least somewhat, caught up to VS Code.
- arkitaip 10y agoThe performance difference between Atom and VS Code is very noticeable on low and mid range PCs. Most of us here on HN are very fortunate that we can afford high end PCs that minimizes performances bottlenecks but we should keep in mind that most of the world isn't so fortunate and that good performance still matters.
- Philipp__ 10y agoWelp, looks like last night was sleepless for some people.
- fahrradflucht 10y agoIn Swiss the day just ended. (The vscode team is partly located there)
- Philipp__ 10y agoI know I am from Europe too, but 1.7 was released and pulled back yesterday (evening), and this noon 1.7.1 was released. :)
- sctb 10y agoFrom yesterday, the 1.7 release: https://news.ycombinator.com/item?id=12859347 https://news.ycombinator.com/item?id=12859347 and subsequent reversion: https://news.ycombinator.com/item?id=12860806 https://news.ycombinator.com/item?id=12860806.
- egeozcan 10y agoI wish they left a flag for the people running their own npm mirror. Other than that, it's hard not to be impressed by how quickly they made another release. Congratulations!
- kej 10y agoIt looks like setting an environment variable CH_ATA_ENABLE will turn it back on: https://github.com/Microsoft/vscode/commit/b3c10273d7ba340865fd2549603e436e0c062c05 https://github.com/Microsoft/vscode/commit/b3c10273d7ba34086...
- jtokoph 10y agoI suppose you could rebuild with the feature enabled since it's open source.
- octref 10y agoIf you are interested in getting the latest features, try VSCode Insider version[0]. [0]: https://code.visualstudio.com/insiders https://code.visualstudio.com/insiders
- KayL 10y agoOh. never known it. how stable is it?
- pixelcloud 10y agoIts an insider preview, it will be hit or miss depending on the release. VSCode release updates often and they have broken things in the past, which usually get patched within a few days. Don't do Insider if you need a guarantee of stability.
- wlk 10y agoIs there a Debian/Ubuntu repository somewhere? They provide deb packages but I couldn't find the repo anywhere.
- jhasse 10y agoNot yet. Issues: deb: https://github.com/Microsoft/vscode/issues/2973 https://github.com/Microsoft/vscode/issues/2973 rpm: https://github.com/Microsoft/vscode/issues/229 https://github.com/Microsoft/vscode/issues/229
- beagle3 10y agoUbuntu has 'umake ide' that installs or upgrades it directly from the MS download; no .deb yet AFAIK, though.
- Noseshine 10y agoI have a question. I'm using WebStorm mostly but I'm not "married" to any particular IDE, I've used others and I switch around relatively easily. I'm doing a slightly different programming style when it comes to types: I don't use "no types" or TypeScript or Flow, but I do use "types", sort of. What I've done is JSDoc the hell out of my code. There is not a variable without a JSDoc or Closure compiler type annotation. Those are all just comments, so I don't need to "Babel" my code. Since I'm using the latest node.js and only those ES 2015+ features that it happens to support that is enough. It works because the IDE (WebStorm) uses the JSDoc comments to infer types, and the IDE itself provides the equivalent of what something like Flow or TypeScript wold do. Well - to a point. I'm not really satisfied. I always keep submitting tickets for WebStorm, and while they have solved a lot there still are too many fundamental issues with how they infer types. For example, I get offered object properties from files I don't even include in the file I'm in, not even indirectly! For example, "mocha" might have an internal (!) variable somewhere that has a property "data". Since I have a property "data" too I get the definition inferred from that mocha file, which makes no sense, since a) I'm not even in a test file that includes mocha, and b) even if I was, that is an internal variable that's not exported. They don't seem to be able to solve this issue, and with new EAPs I often get two steps back for very hard-fought step forward. To be honest, I believe their code for inferring types in Javascript is just too messy, it seems each time they plug a hole it doesn't last long and two new ones appear. However, when I try VStudio it seems that I only get type inference if I use TypeScript? I would be open to using "Flow", but I really, really don't want to have a different language. I just want types and standard Javascript! Yes I know TypeScript appears pretty much the same as ES 2015, but it still rewrites my code. I would not mind, except that there really is no reason at all since ES 2015 has everything I need (I don't use classes or even prototypical inheritance, no inheritance at all, only composition and functions). From my limited research the best albeit not quite satisfactory solution for my case still remains only WebStorm? I mean, if they fix the problems introduced with the EAP version a few weeks ago when all JSDoc based type suggestions stopped working I can live with that state. It would be nice though if I could have a "comment based type system" (JSdoc/Closure compiler) or Flow. How would VStudio do in this scenario?
- svieira 10y agoTypescript can actually use the types you provide in JSDoc[1] so you will see benefits simply by using VS Code in most cases. [1]: https://github.com/Microsoft/TypeScript/wiki/JSDoc-support-in-JavaScript https://github.com/Microsoft/TypeScript/wiki/JSDoc-support-i...
- prplhaz4 10y agoCommit for the fix to the npm issue located here: https://github.com/Microsoft/vscode/commit/b3c10273d7ba340865fd2549603e436e0c062c05 https://github.com/Microsoft/vscode/commit/b3c10273d7ba34086...
- eric_b 10y agoLooks like you can set an environment variable and still get the automatic typings/intellisense functionality? CH_ATA_ENABLE=true then open VS Code?
- aq3cn 10y agoI think it has fast paced development because most of the people in MS use this editor all the time. If it is their native home unlike Store apps or MS Office then why wouldn't they make it feel good. It's natural to take care of place where you live most of the time.
- satysin 10y agoI enjoy working in C and C++ (on Windows) using Sublime Text however I am thinking of giving VSCode a proper try. I know many people use VSCode for web related development but MS seem quite serious about improving its support for C and C++. My question is does anyone here use VSCode for C and C++? What is your setup? task files, etc?
- jhasse 10y agoYes, I'm using it for C++ dev :) I'm mostly using the C/C++ extension from Microsoft, unfortunately it's still closed source. I'm developing on Linux and Windows with MSYS2. Here are my config files: https://gist.github.com/jhasse/a3898302e4f8be682d053dd5e3b4b62a https://gist.github.com/jhasse/a3898302e4f8be682d053dd5e3b4b...
- satysin 10y agoAwesome, thank you!
- erikbye 10y agoWhy use VSCode over Visual Studio for C/C++ when your environment is Windows? If you were on Linux or Mac I would recommend CLion or Qt Creator if you wanted a proper IDE. Or a heavily customized Emacs. But on Windows, I would recommend Visual Studio.
- jhasse 10y agoVS Code has some features that normal Visual Studio doesn't have. Like multiple cursors or better Git integration.
- erikbye 10y agoHm, feature wise VS is far ahead. Not sure exactly how the Git integration is better? In addition to improved Git integration with the more recent VS releases there is also a GitHub extension. VS also has multi-cursor support, if we are thinking of the same thing... editing more than one line simultaneously? Besides, these two features you mention seem hardly to be of deciding factor, you would think something like code analysis, profiling, and better debugging (memory window, etc) would be of more importance.
- butu5 10y agoI did a small video showing the new features of v1.7.1. (Note: this is for beginner only :) ) https://www.youtube.com/watch?v=hQPZPvY-z_s https://www.youtube.com/watch?v=hQPZPvY-z_s
- ukyrgf 10y agoImagine if Windows 10 updates looked like these Release Notes.
- HugoDaniel 10y agoI would love to use this but i cannot get used to the syntax highlighting. How can i remove syntax highlighting in vscode ? There does not seem to be a obvious config option in the docs.
- laacz 10y agoI'm blown by the speed of it, considering it's built upon electron. Since I haven't yet decided to upgrade to sublime3, might just give VS Studio a shot. For serious development I use IDE of choice, but for quick text editing sublime might get replaced with VS Studio.
- HalfwayToDice 10y agoI love Visual Studio Code for a strange reason: I don't actually use it, but by existing and being good, it should force Sublime Text to up its game!
- hamandcheese 10y agoIs there any chance this will ever happen? I've been assuming that sublime has stagnated for at least a year now.
- DigitalSea 10y agoSublime has served me well for years and I still use it for working with MASSIVE files as all other editors seem to choke on these, but VSCode is leaps and bounds ahead of Sublime Text. A great editor that fell behind a while ago, they didn't step their game up when Atom came out, I doubt VSCode will change anything sadly. Also worth pointing out that VSCode with its debugger, intellisense, addons and other things is ahead of all competitors right now on all fronts.
- ksec 10y agoTrue, I wonder if Sublime is ready to be acquired at this stage.
- Hydraulix989 10y agoIt's a shame because Sublime is one of the few pieces of software that I use on my computer on a day-to-day basis that isn't a buggy POS (besides the well-written venerable UNIX shell apps). Firefox? Buggy. Chrome? Buggy. Any other GUI editor? Buggy. Android Studio? Buggy. XCode? Buggy. I could go on all day. It's written in C++, too, so it's lightning fast. There's no reason UIs should be laggy in 2016 on the very highest-spec Lenovo Thinkpad mobile workstation, but that's the sad reality of anything written in Electron JS (along with zero 4K Hi-DPI support on Linux, so I have to squint to read the microscopic text on Slack, Upwork, Discord, Messenger for Desktop, Whatsie, Skype for Linux Alpha, ...).
- BrandonLive 10y ago
- lucisferre 10y agoThe laughable JSON snippet format is enough reason for me not to take VS Code seriously as much as I want to.
- ggregoire 10y agoFor those who want the disabled feature: Typings auto installer - https://marketplace.visualstudio.com/items?itemName=jvitor83.typings-autoinstaller https://marketplace.visualstudio.com/items?itemName=jvitor83... I've used this extension for the last 2 months, it works great.
- Hydraulix989 10y agoWhy do we get another HN post everytime VS Code releases another update? Can we consolidate them somehow?
- axefrog 10y agoUpdates are monthly. Would you prefer a six-or-twelve month digest summary?
- Hydraulix989 10y agoThere were three in the past few days.
- konsnos 10y ago> CSS autocompletion within HTML Wasn't expecting this! I wonder if they plan HTML autocompletion within PHP. This would really speed up my work.
- dmeagor 10y agoIs there any way to import an existing visual studio project/solution into this?