13 ms·
Visual Studio Code 1.10
- jrwiegand 10y agoIt has a minimap! This is excellent.
- santaclaus 10y agoA minimap! This was one of the last remaining Sublime features that I missed.
- leeoniya 10y agoi wonder if they're forced to run the highlighter on a huge range now instead of restricting it to viewport. has this affected perf?
- FLGMwt 10y agoI'd imagine the highlighter wouldn't optimize for viewable area except for abnormally large files. Highlighter probably runs for the full file. Also, doesn't it need the context of the full file for proper syntax awareness?
- amk_ 10y agohttps://code.visualstudio.com/blogs/2017/02/08/syntax-highlighting-optimizations https://code.visualstudio.com/blogs/2017/02/08/syntax-highli...
- boardwaalk 10y agoCan someone explain the attraction of the minimap? It's something I turn off in any editor. I can't rely on a postage stamp size picture of my code being unique enough between different parts of a file -- beyond perhaps the imports/constants/macros at the top, which you don't need help finding anyways. ctrl-f or 'go to definition' has been enough.
- swalsh 10y agoI worked at a company that had some files that were thousands of lines long. The result of 10 years of entropy build up. When you've worked with these files long enough, and it sounds kind of funny, but the shape of the code becomes very familiar. Searching for keywords though usually my primary method of finding places in code was sometimes less effective because it would occur multiple times (think function names) however I was intimately familiar with the shape of the code, so I could just jump to the 2 indented part.
- camus2 10y agoA tree view of whatever you are working on would be more efficient to jump through parts of code, like Vim TagBar for instance. VSCore has Alt+O for symbols but I wish it had a tree view on the side of the editor.
- barrkel 10y agoYou might think that, but someone else might think differently. It depends on whether you have a spatial sense of the code, or symbolic.
- coldtea 10y ago>A tree view of whatever you are working on would be more efficient to jump through parts of code, like Vim TagBar for instance. Not if you are the visual type...
- santaclaus 10y agoI like it for log and configuration files where I'm not entirely sure what I'm looking for. Changes in shape often correlate with new sections.
- pixie_ 10y agoIt's everything a scroll bar does and more. Yea you can kind of get to know the structure of your code which is nice and sometimes when I open up a file and the mini-map is dense I already know I'm getting into a big file. One of the most useful features for me (not sure if VS Code has this), but when I double-click/select a word, all other words with the same name are highlighted in the minimap. It's crazy useful for me, like a double-click/search/find all instances, it helps me jump around code very quickly.
- SippinLean 10y agoNow if we can just get Sublime-like Project folders that read settings from custom JSON (currently VSCode's #1 most requested issue on Github) I don't think there's any huge features I'll miss
- amrangaye 10y agoThere's a Project Manager extension I use (https://github.com/alefragnani/vscode-project-manager/blob/master/README.md https://github.com/alefragnani/vscode-project-manager/blob/m...) that's pretty good for this - replaced Sublime projects for me.
- SippinLean 10y agoI'm already using this but somehow missed that you could configure it that way! Hah, thanks
- vvanders 10y agoSo happy to see the improved task support(key bindings!) that's one of the few things that was missing in some of my more custom workflows.
- bcherny 10y agoAwesome work VSCode team!! I can't figure out how to enable TypeScript auto import - is it hidden behind a flag? Coming from IDEs, I've been waiting for this feature for a long time.
- janwillemb 10y agoThere's an extension for that, search for typescript in the extension list.
- bcherny 10y agoThe extension is very low quality. TS2.2 shipped support for auto-importing missing dependencies, and VSCode mentions in this release that they support it. My hope is that this blessed implementation is better than the Auto Import extension.
- mattbierner 10y agoI work on TS and JS support for VSCode. Try moving the cursor into red squiggles for the missing symbol and then clicking on the lightbulb in the gutter or hitting cmd+period. This will bring up the quick fix menu for adding missing imports. We don't support automatically adding imports as you type, but this is something we are looking into. If you see any problems with the feature or have any suggestions on how it could be improved, please open an issue: https://github.com/Microsoft/vscode/issues/new https://github.com/Microsoft/vscode/issues/new
- bcherny 10y agoNo lightbulb, but cmd+. did it -- Thanks! Any way to format the import too (we use single quotes and no semicolon, enforced by TSLint)? Awesome job on JS/TS integration by the way. I've used Frontpage, Dreamweaver, Notepad++, Sublime, Atom, Vi, Webstorm, and Intellij in the past, and editing TS in VSCode beats all those other editors by a mile. Keep it up!!
- minimaxir 10y agoCopy Syntax Highlight is huge. Years ago, I had written a utility to invoke syntax highlighting from text sources for use in PowerPoint presentations and Photoshop editing (https://github.com/minimaxir/copy-syntax-highlight-osx/ https://github.com/minimaxir/copy-syntax-highlight-osx/ ); I am very happy it is now obsolete.
- jackhack 10y agoFinally, a workaround to the lack of support for printing code! (not just VSCode, but all the major editors -- Atom, Sublime, etc.)
- infogulch 10y agoNote, for those of you on Windows (not you, jackhack, your profile betrays you), Notepad++ does a great job at printing code.
- tommorris 10y agoTextMate had (has?) a "Copy as RTF" format which I used to use to copy code into slides. But, yes, more editors doing this is handy.
- minimaxir 10y agoTested with VS Code 1.10 and hit a snag. On macOS, copying w/ syntax highlight from VS Code -> Mail works, but copying from VS Code -> Keynote or VS Code -> Pixelmator does not. However. VS Code -> Mail -> Keynote and VS Code -> Mail -> Pixelmator both work. Rich text is funny.
- FLGMwt 10y agoGeez, another fantastic update. Minimap! I love this in Visual Studio. Keyboard shortcuts for tasks! Very welcome. Clickable links in the terminal is awesome for BitBucket which responds to pushes w/ links to create PRs.
- Zaheer 10y agoVSCode team is killing it! Literally every month its tangibly making the product better. I still use Sublime occasionally on really large files as its performance is so good but for most things VSCode is my go-to!
- msoad 10y agoYes, opening large files is not too bad but using a multi-selector with more than 300 matches is pretty much impossible in VSCode.
- tehbeard 10y agoIt's been impossible in pretty much any electron app I've tried. It's not a vscode only issue. At that point using find/replace or opening in sublime is a better option.
- blunte 10y agoAgreed, and I am becoming quite a fan of their work and their direction. One concern I have is that they don't make it so feature rich that it becomes slow and overly complex - or at least be smart about which features to push out to extensions.
- SiVal 10y agoI hope they'll carefully architect it (both base product and extension system) so that heavy features can be turned off, either dynamically (when not needed), statically (in preferences), or both. If they do so, I'd be happy to have them add such features, because I could optimize the speed / (other) features tradeoff for myself and adjust it for different situations. This isn't a consumer product, and it's not a "word processor". It's a tool for builders, so conventional wisdom about how great designers make the decisions instead of dumping them into preferences don't apply. Great designers of tools like these figure out clever ways of helping users better customize their toolbox.
- alistairSH 10y agoI just started playing with it earlier today. I'm a long-time Visual Studio user and VSCode is good. I'll have to give it more time, but so far, I can see myself using it for stuff outside the office (work is .Net, so I'll be sticking with VS).
- gorkemyurt 10y agoOnly reason I am still using Atom is flow support that comes with Nuclide. I know VS code has a couple flow plugins as well.. Can anyone compare Atom's flow support with VScode?
- tracker1 10y agoI wish I could comment as to nuclide or similar. tbh, for me it's a really glorified editor, but I find the integrated terminal windows invaluable... I usually do all my git/npm/run commands in the terminal. I also find the everything via command palette a little distracting, as I wouldn't mind seeing better UI integration for some extensions.
- gorkemyurt 10y agoI spent yesterday using VSCode and flow I can say that flow plugin is just as good as Nuclide.
- jeremy_wiebe 10y agoI haven't been following Atom, or other editors, very closely since I started using VS Code. But this team seems to be going at an incredible pace!! Well done another superb release. Keep it up.
- robert_nsu 10y agoTruth. Go to GitHub and check out their milestones. It's so great to know what is coming in the upcoming monthly release.
- mee_too 10y agoBut the editor itself is so slow. It takes 10x time to start compared to Notepad++.
- rdavis 10y agoNice! Some really great additions in this release. I'm particularly excited by the official Linux repos and keybindings in the file explorer. Great work VSCode team! I'm continually impressed with each release.
- Dangeranger 10y agoWhat is the long term value to Microsoft for VS Code? It is definitely improving their image within the web development community, and I imagine it is also winning them favor with Go developers. Have people noticed a network effect after using VS Code? Are you getting sucked into the rest of the MS ecosystem at all?
- Joeri 10y agoI used vs code to play around with typescript, which led me to check out the bot framework. I then built a prototype bot for work, showed it to my boss, and got the time to turn it into a product whose primary interface is skype. That product uses the luis natural language service, which we now pay for on azure. So, at least for me there was a strong network effect.
- paulryanrogers 10y agoWhat product?
- Joeri 10y agoAn enterprise room assistant that can help people book meeting rooms, navigate to them and give more information about a room, including comfort derived from sensor data. We're in a soft-launch to our existing customers right now so I can't point to a website.
- rubicon33 10y agoWhat is the "bot framework" you speak of?
- mozumder 10y agoWould be nice if we could integrate Visual Studio Code into XCode on Macs..
- coldtea 10y agoIt would also not make much sense. XCode is it's own editor/IDE. What would another editor+lightweight IDE do with it?
- brilliantcode 10y agoI'm still looking for the auto-reload preview that is right beside the code which refreshes when you save.
- mattbierner 10y agoWe support live preview for markdown and are investigating support for html as well ( https://github.com/Microsoft/vscode/issues/12080 https://github.com/Microsoft/vscode/issues/12080 ). Extensions can also provide their own live preview implementations If you have suggestions or ideas for a live preview, please file a feature request: https://github.com/Microsoft/vscode/issues/new https://github.com/Microsoft/vscode/issues/new
- brilliantcode 10y agofantastic support! looking forward to it. VS Code is the new de facto IDE. One killer feature might be something from LightTable, where you can highlight a chunk of code and see the output printed on the same page without leaving it. That's probably one of the last features that makes LightTable valuable but VS Code is killing it! I ditched Atom and SublimeText as well.
- brudgers 10y agoI think VS Code is pretty awesome. But I stopped using it because the monthly update experience on Ubuntu Linux pretty much sucks...by which I mean it mirrors the Windows update experience. One day I sit down to work and it's time to update and I lose fifteen or twenty minutes plus flow state going through the process (o.k. Windows with multiple reboots is actually noticeably worse often times (like just earlier this week)). I get that there might not be business value in maintaining a PPA. And upgrading Emacs to the latest version required compiling from source (chosen over trusting something unofficial) and that was a more of a pain in the ass than updating VS Code tends to be by a factor of six. But I only need to suffer that pain occasionally and Emacs does not nag me every time open it up and make me feel like I should upgrade. Again, I like VS Code, but I don't like being a second class citizen for using Linux. [1] I just want to go to my editor session and edit whether it's the last day of the month or the first. [1]: I'm not anti Windows - but for Vista, I've used every desktop version for making money since Windows 3.1 (and DOS's before that) and owned each of them but for NT 4.0 and Vista. Even ME and XP Professional x64.
- rudedogg 10y agoDid you see this: https://code.visualstudio.com/updates/v1_10#_official-signed-repositories-for-linux https://code.visualstudio.com/updates/v1_10#_official-signed...
- compsciphd 10y agoif you read the link, you'd see that this hole post has been addressed....
- Tyriar 10y agoHi brudgers, I'm on the VS Code team and I look after most of the Linux related stuff. I feel your pain as I've been updating my Insiders build nearly every day for the past 12 months. When you install this version, an apt repo and signing key will automatically be registered in your system which will enable auto-updates from here on. You can also install the repo manually if you want[1]. I've created an issue to follow up what to do with the update notification now that the repo exists[2]. [1]: https://code.visualstudio.com/docs/setup/linux#_debian-and-ubuntu-based-distributions https://code.visualstudio.com/docs/setup/linux#_debian-and-u... [2]: https://github.com/Microsoft/vscode/issues/21651 https://github.com/Microsoft/vscode/issues/21651
- chrisper 10y agoThe repo seems to be broken for me on Debian Testing. Maybe they should list "apt-transport-https" as a dependency. Hit:1 http://mirrors.ocf.berkeley.edu/debian http://mirrors.ocf.berkeley.edu/debian stretch InRelease Hit:2 http://security.debian.org/debian-security http://security.debian.org/debian-security stretch/updates InRelease Reading package lists... Done E: The method driver /usr/lib/apt/methods/https could not be found. N: Is the package apt-transport-https installed? E: Failed to fetch https://packages.microsoft.com/repos/vscode/dists/stable/InRelease https://packages.microsoft.com/repos/vscode/dists/stable/InR... E: Some index files failed to download. They have been ignored, or old ones used instead.`
- johnchristopher 10y agoThey changed the colour of the license icon (yellow to red).
- jastanton 10y agoDid I miss auto imports feature announcement? I saw that typescript got this support and it was pending a VS code release, I figured this would be the release
- bcherny 10y agoSee my comment below https://news.ycombinator.com/item?id=13768441 https://news.ycombinator.com/item?id=13768441
- coldtea 10y agoIs it just for me, or did the 1.10 update killed other people's custom user settings too? (OS X)
- nihonde 10y agoYes, the update clipped some of my settings. I had to consult my project-level settings to remember what they were. Also OSX.
- jimmyv1 10y agoWhat is the difference between this and Visual Studio Mac? Is there a reason I would pick one over the other?
- gerry_shaw 10y agoHmmmm... I'm pretty sure this is Visual Studio Mac though I've never heard it called that before. You can edit and debug C# as well as many other languages with Visual Studio Code on your Mac.
- jimmyv1 10y agoI think they are different? https://www.visualstudio.com/vs/visual-studio-mac/ https://www.visualstudio.com/vs/visual-studio-mac/
- sandyarmstrong 10y agoYes, they are. See my other reply.
- OliverLassen 10y agoVisual Studio for mac is a IDE. Code is a editor with more
- sandyarmstrong 10y agoVisual Studio for Mac (currently available as a preview) is a full IDE, meant to be more like the .NET development experience in Visual Studio for Windows. Visual Studio Code is a cross-platform programmer's text editor, similar to Sublime or Atom. If you are into .NET, it has a good server-side development experience, but for client-side you'll want to stick with the full Visual Studio IDEs. Code is very extensible, though, and has support for a ton of platforms that you might not normally see supported in the full IDE. You might prefer it for JavaScript, Go, Rust, etc. Also, Code works on Linux. :-) Hope that helps! Disclaimer: I work on dev tools at Microsoft.
- 10y ago
- jimmyv1 10y agoWhat is the difference between this and Visual Studio Mac? Is there a reason I would pick one over the other?
- Bjartr 10y agoAny word on GWT support for VSCode?
- bliker 10y agoToday I was looking into using the VS Code debugger for embedded C and I was surprised that the c/c++ extension is not open source. Does anyone know the reason?
- jhasse 10y agoIt's using closed-source IntelliSense code.
- alfg 10y agoI've been using VSCode for golang recently and it's been amazing. It just feels faster and more responsive than Atom. I love how it suggested golang plugins as soon as I started editing a go source file- and they just work! I'm hoping they add in support for multiple project folders soon [1]. It makes it a bit difficult to work with microservices since I need a few projects open at a time. [1] https://github.com/Microsoft/vscode/issues/396 https://github.com/Microsoft/vscode/issues/396
- marcus_holmes 10y agoSame, I moved from Atom to VSCode for Golang work a while back, and I'm really enjoying it. Vim-mode works exactly as expected, and plays well with everything else.
- vassy 10y agoCan you quickly compare Atom and VSC for golang development? I've been using Atom with go-plus, and I'm quite happy with the setup. I'm wondering if there's anything I'm missing.
- hacker_9 10y agoI love vscode, I just wish the clojure plugin had a debugger so I didn't have to use intelliJ anymore.
- therealmarv 10y agoIs there any solution for a origami (or tmux) like window management? Thx
- mycall 10y agoVisual Studio Code is an oxymoron -- there isn't anything visual about it. "Visual" in Visual Studio use to mean UI widgets you can drop onto a form or some layout grid.
- Clubber 10y agoI think they went to the "visual" moniker when IDEs started to become GUI (Windows vs DOS) based. It's been years, but I remember having to position controls using coordinates in code when tinkering with Visual C++. It certainly didn't have drag and drop like Visual Basic did at the time.
- altern8tif 10y agoI guess it made sense to keep the brand since people do associate it with Microsoft. Like how iTunes ain't really all about tunes anymore.
- gankedfrank 10y agoVS code has changed the way I feel about the editor landscape. It's been good for a while but the past three months have made it GREAT! If you've not experienced writing type script in vscode, I HIGHLY recommend it. It's amazing
- christogreeff 10y agoAwesome! WebDAV/TypeScript issue fixed.
- hollerith 10y agoAlthough vscode is a very impressive project, I get the impression it would prove frustrating for my use case: particularly, I am in the habit of using and hacking on my editor when I do not have net connectivity, and what this update and the last 2 updates have done is display a prominent banner in a contrasting background color saying "Error: the internet connection appears to be offline" that won't go away until I manually dismiss it. Then the banner reappears a few minutes later according to some criteria I have been unable to guess, and there is no "don't show again" button like there is on some other banners vscode shows me. Also I discovered no way to obtain a usable local copy vscode's documentation without acquiring deep knowledge of the system. (The deep knowledge becomes necessary after I clone the repo at github.com/Microsoft/vscode-docs.) In summary, I'm going to encounter many frustrations if I make a deep dive into vscode the way it exists today, and I should wait till someone adapts it for offline use; is that not true?
- moogleii 10y agohttps://github.com/Microsoft/vscode/issues/21601 https://github.com/Microsoft/vscode/issues/21601
- aruggirello 10y agoCould someone do an in-depth comparison of VSC and Atom for PHP development projects? I'd love to switch but am afraid that VSC is missing something, like the precious PHP-integrator stuff. Does it have reasonable support for Xdebug?