18 ms·
Visual Studio Code 1.9
- christophilus 10y agoVSCode really does improve with each release, and the monthly cycle is just about the perfect pace. This is a great example of how to run an OSS project. I wonder how much Microsoft spends on it each month, and what value they see in it? Is it just a marketing expense? e.g. They fund VSCode in order to gain the good will of developers which they hope will turn into Azure or maybe Windows sales in the future?
- Joeri 10y agoVS Code is a web dev IDE. Microsoft has lost the mobile platform wars and pushing the web is a way of countering that. Plus, web and azure do go hand-in-hand, as you point out.
- santaclaus 10y agoNothing in VS Code is terribly web specific. I've been using it for C++ for which it works swimmingly.
- ridiculous_fish 10y agoI would like to try it for native development. How do you run and debug your C++ programs from VSCode?
- baldfat 10y agohttps://code.visualstudio.com/docs/languages/cpp https://code.visualstudio.com/docs/languages/cpp > VS Code supports tasks that you can configure to build your application, and natively understands the output of MSBuild, CSC, and XBuild.
- ridiculous_fish 10y agoYes, building works well. But how do you run your application? (To be clear I'm asking what workflow users use personally, since it seems like nobody else has this issue.)
- deleted 10y ago[deleted]
- deleted 10y ago[deleted]
- david-given 10y agoFor me, I build on the command line, because I have a funky build process, and then when I want to debug it I just press the 'debug' button. There's a big JSON file with the debug configurations, and a drop-down to allow you to select which one is active. Each gdb debug configuration lets you specify the usual binary path and command line arguments, plus a whole lot of other configuration I haven't looked at. I haven't had to do any project-style setup --- it just magically finds all my source files. It looks like it supports gdb on Windows and Linux and lldb on OSX (only ever tested on Linux, though). Out-of-the-box you get sample configurations to both run and attach to a C/C++ binary. gdb integration is pretty seamless; breakpoints, conditional breakpoints, stack traces, local and global variables. Haven't seen threads, watchpoints, or an assembly window yet. There's a debug console, but entering commands doesn't appear to send them to gdb. It's one of the best Linux gdb environments I've seen (even though most gdb integrations are terrible).
- int_19h 10y agoThreads are part of stack trace - if you look closely, it has nodes for threads, if you have more than one thread running. If you attach or launch more than one process, that's where they will appear also, as top-level tree nodes.
- SippinLean 10y agoThe personal preferences file includes several defaults for S/CSS, HTML, JS and TS, and it has a lot of Typescript stuff out of the box, some node stuff.
- santaclaus 10y agoRight, but VS Code's depth into other languages and stacks is quite extensive, as well. If I were promoting a new text editor (hell, or any piece of software), I would certainly set the most-visible defaults to hit the most common use case, which at the moment is web front-end oriented tasks. To get a fairly full featured C++ experience, VS Code is up and running in three mouse clicks and two text fields from the splash screen -- this includes automated downloads and installs of major pieces of Clang tooling. I also write a fair amount of more data-centric Python, and the experience is similarly painless (I haven't tried Rust or Go, but if f*ing C++ is this easy I can't imagine other stacks are worse), so I don't think I'd call it web centric at all!
- TeddyDD 10y agoI wonder what set up you have for c++ in VCode (plugins etc) I'm learning c++ at university and currently I use CodeBlocs since it have quite nice code completion.
- kzisme 10y agoI've never heard of VS Code referred to as a web dev IDE - what makes you say that?
- ridiculous_fish 10y agoWell, the Task Runner has preconfigured options for Grunt, Gulp, npm, maven, and TypeScript, but not make, ghc, cargo, etc.
- kzisme 10y agoThat's pretty nice then - I haven't used it much at all, but I've read a fair bit about it. Thanks for the information!
- PopsiclePete 10y agoI use it full time for C, Go, Python, Ruby and NodeJS development. Works well with Rust as well. Nothing "web"-specific about it, really.
- pjmlp 10y agoThey lost the mobile phone, but I bet they will win the hybrid tablet/netbooks one, given how Android tablets disappeared from many consumer shops here in Germany, only to be replaced by Windows 10 ones. Samsung and Asus ones seem to have been the surviving brands and even they have Win10 devices on their brand sections.
- bitmapbrother 10y agoNo they won't. No one wants to use clunky non touch optimized windows desktop apps on a tablet. Besides, UWP was a failure.
- pjmlp 10y agoEver heard of Project Centennial? Or the fact that all new APIs are mostly UWP only?
- bitmapbrother 10y agoYes, and how's that coming along? Is this "project" supposed to make those old clunky non touch optimized windows desktop apps suddenly usable on a tablet? I don't think so. Instead its going to be another failure just like Project Astoria and Project Islandwood.
- oldmanhorton 10y agoAstoria was the start of a lot of the technology behind the Windows Subsystem for Linux, if i remember correctly. I use WSL every day, so that was definitely not a failure in my book.
- coldtea 10y ago>They lost the mobile phone, but I bet they will win the hybrid tablet/netbooks one, given how Android tablets disappeared from many consumer shops here in Germany, only to be replaced by Windows 10 ones. That could just be a regional anomaly.
- segmondy 10y agoThis is a ridiculous comment. There are plugins for every language. I use VS and I don't use it for HTML/CSS or Javascript yet.
- astrostl 10y agoPython and CloudFormation here. Others swear by the Golang support.
- WorldMaker 10y agoIt's probably a complex set of factors including developer good will and competition in the marketplace (VSCode is obviously directly competing with Atom, for instance, which is also free). One interest small piece of the larger puzzle is that the Monaco text editor at the heart of VSCode was originally built for Azure and Visual Studio Team Services cloud editing. It was then also subsequently embedded into IE's Dev Tools (and now Edge's Dev Tools). It's a neat example of building a tool for several existing needs embedded into existing products/projects and then finding that the same tool was also interesting as the core to its own product.
- kzisme 10y agoVSCode vs Atom (in my opinion) isn't even a contest. Maybe Atom is super nice for some web dev stuff, but as a full flown IDE I just don't see the features.
- computerex 10y agoAre you confusing VSCode with Visual Studio? VSCode is not an IDE, it's an editor, much like Atom.
- kzisme 10y agoPossibly? VSCode stands for Visual Studio Code (https://code.visualstudio.com/ https://code.visualstudio.com/) right? I've just seen most comments referring to it as an IDE.
- voxic11 10y agoVscode is an IDE. It integrates all your development into one environment. It comes with support for version control, code editing, task running, and debugging all from one application.
- computerex 10y agoAn IDE is so much more. For instance, refactoring features. Even Microsoft defines VSCode as a "code editor" and not an IDE.
- hobo_mark 10y agoI assumed the idea was also to eventually to get some users to move to the "real" visual studio, which I ended up doing at least to debug C++, except the vs editor is so much worse! For example, I use Ctrl+D for multiple editing all the time and I converted other people to vscode based on that feature alone, yet it does not exist in visual studio...
- whatever_dude 10y agoI'm probably wrong, but I get the feeling VSC is where all the MS devs that were fed up with Visual Studio politics moved to. They're able to get new features rolling much faster, rather than going against the ingrained assumptions of an Enterprise Application like VS. I loved VS, but pro much stopped using it after starting to use VSC.
- nikcub 10y agoVS Code is part of the strategy to get .NET Core distributed and to support the web layers built on top of that which mostly now use open source technology (from npm and bower through to grunt, typescript and angular)
- nol13 10y agoNa, I think the real plan starting to unfold. This week we get the new welcome screen, next will be the "deploy to Azure" and "how to make a Windows Store App" sidebar links. (not that I'll stop using it, I'm sure someone will fork if gets too obnoxious)
- partisan 10y agoWow that is a scary vision and it would be heartbreaking if they rendered it unusable with ads or other nagging "features".
- oblio 10y agoI doubt they will do that, they know that the project's success is 90% based on developer goodwill. My guess is that they will up-sell to a version with bundled plugins which offer turnkey integration with Azure.
- CyanLite2 10y agoIt's the only practical way to do cross-platform .NET Core development.
- floopidydoopidy 10y agoIf that's true, then I'd recommend not using either .NET or VSCode if cross platform matters to you. Historically speaking, Microsoft will break compatibility when it suits them.
- thanksgiving 10y agoAre you talking about csproj -> project Jason ->
- FlorianRappl 10y agoI think you confuse Microsoft with Apple.
- TheCoreh 10y agoThe project is Open Source, MIT licensed. If they break compatibility you (or someone else) can just fix it. No difference from any other OpenSource editor.
- nikon 10y agoProject Rider?
- Yaggo 10y ago> They fund VSCode in order to gain the good will of developers which they hope will turn into Azure or maybe Windows sales in the future? I think they are just trying to make Windows (and Microsoft) more relevant among web/foss developers by making sure that top-notch tools exist with first-class Windows support, so this falls to same category as Windows Subsystem for Linux.
- yokohummer7 10y agoThe slowness shown in the pre-1.9 terminal is a bit ridiculous. Was it really the case? I've never seen such a strangely-behaving emulator! Really good that they resolved the issue.
- Tyriar 10y agoHi, I worked on those improvements. Yes that is indeed what would happen when you ran a command with heaps of output, it would also lock up the UI while doing it. You probably haven't observed it much as you don't do recursive directory walk on a large directory ;) You can read more about the specifics if you're interested in https://github.com/Microsoft/vscode/issues/17875 https://github.com/Microsoft/vscode/issues/17875
- AsyncAwait 10y agoHey, just wanted to say thanks for working on VS Code, I use it every day, love it!
- yokohummer7 10y agoGreat, I didn't know the terminal portion if VS Code exists as a separate project. Was it made to fuel VS Code? Or did it already exist before launching VS Code? I also liked the name of the project, xterm.js. :)
- mastax 10y agoLooks like xterm.js was started by Sourcelair, which looks like a Cloud IDE.
- Tyriar 10y agoIt already existed, you can see when we started shipping the integrated terminal pretty clearly from the contribution graph :) https://github.com/sourcelair/xterm.js/graphs/contributors https://github.com/sourcelair/xterm.js/graphs/contributors The project itself is a fork of the popular term.js which is now unmaintained, we've taken it quite far since then. Hyper are probably going to be making a switch once a few more kinks are worked out too https://github.com/zeit/hyper/issues/1275 https://github.com/zeit/hyper/issues/1275
- billconan 10y agoI hope it could support gdb remote debugging
- jhasse 10y agohave you tried https://github.com/WebFreak001/code-debug#using-gdbserver-for-remote-debugging-gdb-only https://github.com/WebFreak001/code-debug#using-gdbserver-fo... ?
- pwthornton 10y agoI have a new project at work that I decided to use it for to see how I liked using VS Code. For the most part, I like it, but it's lack of Mac-nativeness bugs me, and it may bug me enough to switch. Double clicking the window bar in all natives app minimizes them to the dock for me. In Visual Studio, it maximizes my window (but not into full screen mode). I keep clicking the menu bar to minimize a window, and this keeps happening. It's kind of maddening.
- testUser69 10y agoIt looks pretty bad on Linux too. Somehow they managed to transport the crappy font rendering from Windows to Linux. It really feels like it's not built for Linux, but just shoe-horned in.
- k__ 10y agoI'm using it on Windows and Linux, and found it pretty good. What's the issue with fonts?
- bsznjyewgd 10y agoOn Linux, it renders fonts the same way Chromium or Chrome do. If you're getting "crappy font rendering from Windows", you probably need to change your fonts.conf to change font hinting from full to slight (or none, if you like it more like Macs). Edit: And also note that, for whatever reason, GNOME does its own thing where you also have to edit the GSettings in addition to the fonts.conf settings depending on what app you're running.
- testUser69 10y agoI'm not going to use an editor that Microsoft employees literally shill on tech forums.
- leeoniya 10y agostill no portable mode? :(
- Keyframe 10y agoAnyone knows if there's something like Goya for Vim for VSCode? I know there's full screen and zen modes, but I miss margins so that when I'm full screen I can have everything centred on monitor.
- santaclaus 10y agoVS Code's release notes are really nicely done - I don't usually comment on documentation but whoever wrote these did a bang up job!
- LyalinDotCom 10y agoyeah I must say the team does a great job, I was thinking the same thing
- Cthulhu_ 10y agoI remarked this to my colleagues; part of me wishes they'd do faster releases, if only so that the changelog is smaller. Big lists of changes scare me. Big lists of changes that were apparently all done in a month and work without being horribly broken or half-assed, on the other hand, impress me. This comment is a long-winded compliment.
- Matthias247 10y agoAbsolutely! I love to read through them on each release to discover whats new. And each time I'm surprised how many new useful things get integrated.
- mootothemax 10y agoAnyone know if the C# plugin supports cshtml files yet? The lack of autocomplete, inspections and so on really hampers web development with it. I've now switched entirely to using Rider because of this. While it's still early days for Rider (and it makes my Laptop's fans spin nonstop), being able to hastily edit my views makes it more than worth it. (And integrated ReSharper is always good!)
- jamesmp98 10y ago<sarcasm>I would be shocked. cshtml support tells me your using server-side rendering. I as a hip-node.js-silicons-valley-startup-founder-coding-rockstar can tell you to use a Javascript framework instead</sarcasm>
- taternuts 10y agoAll the js hipsters are trying to do SSR whether they really need it or not too
- rk06 10y agoIf you are using C#, why not use Visual Studio?
- reynoldsbd 10y agoAnother great release! Maybe I'm just squarely within the target audience of VSCode, but I'm consistently impressed by how many of my pain points just magically go away with each new iteration.
- k__ 10y agoI come from WebStorm, Sublime and Atom. Atom and WebStorm felt rather clunky. Sublime was super fast, but somehow lacked behind in new features. VSCode is a revelation for me :)
- restlessmedia 10y agoI had to move off WebStorm after the sheer amount of memory it used to chew up. Agree - VSCode is such a good IDE, I'm constantly seeing it replace editors other devs have relied on for some time.
- tonyedgecombe 10y agoI miss the test runners from WebStorm, that hasn't been enough to stop me from switching to VSCode though.
- anaganisk 10y agowhenever I try Webstorm, my laptop starts sounding like an Airbus A380. What makes VSCode different from Atom though is, VScode uses Monaco which is significantly better and also the start up is faster with VSCode.
- pjmlp 10y agoYep exactly my experience with Android Studio, to the point I started enjoying Eclipse again.
- specialist 10y agoHow are other people doing ES6 work with WebStorm? --- I am a very happy Jetbrains customer (ultimate, paid in full). Now doing nodejs work. (Not a fan, it's just a job.) Really want to use latest, greatest (eg await/async). I tried to make the babel plugin workflow thingie work. Bleh. I'll give VSCode another shot. Last effort, I stumbled on the npm package.json support. The npm plugins I tried baffled me. (Again, not a fan of npm, it's just a job.)
- rdslw 10y agoTheir Workbench related changes in this release are great. Pay attention to redone (also faster!!) terminal support. https://code.visualstudio.com/updates/v1_9#_workbench https://code.visualstudio.com/updates/v1_9#_workbench
- ParkerK 10y agoMan, I'd really like if they'd just add a default hotkey for 'Open Folder'. I know you can custom map hotkeys, but for an editor that's supposed to be 'easy to use out of the box', it's still lacking some basic features. That being said, it's nice that they're improving it still
- WorldMaker 10y agoHitting F1 for the command palette tells me that the default shortcut for Open Folder is Ctrl+K Ctrl+O
- WorldMaker 10y agoEven better, Open Recent is Ctrl+R which is handy enough I might remember it.
- ParkerK 10y agoHuh, I guess it just isn't shown on the file menu then. Thanks!
- deleted 10y ago[deleted]
- Hydraulix989 10y agoWaiting for the rollback update. ;-)
- Hydraulix989 10y agoDownvoted to oblivion, but I totally called it!!! 1.9.1 recovery build out today.
- whyileft 10y agoOr maybe you are part of VSCode's epic astroturfing campaign? Sorry, not saying you are but man MS is guerilla marketing VSCode like I've never seen in an opensource developer product.
- vvanders 10y agoOr maybe it's a good product? Occam's Razor and all that.
- whyileft 10y agoThis is the only product on HN I've ever seen where "This is great!" is all over the place and never downvoted. Almost every single product on HN that makes it to the front page is full of flamewars and grumps. I should post the sentiment scores. Its a serious outlier.
- komali2 10y agoThe sentiment scores are somewhat pointless, I feel. If you're concerned about astroturfing, all post history on this site is public. You can click a user's username to browse their comments. Bots are pretty obvious, I do this on reddit quite often.
- Analemma_ 10y agoAtom and Dolphin also get near-unanimous praise when they come up. It's not exclusive to VSC.
- xmatos 10y agoAm I the only one who misses an apt repository?
- randyrand 10y agoHow many people work on VSCode?
- sz4kerto 10y agoApproximately a dozen.
- yokohummer7 10y agoThis is an off topic, but I just learned from the article that PowerShell will soon be the default in place of cmd.exe in Windows 10. I welcome this change as I found the experience of using PS was superior to that of bash/zsh in general cases. But I hope they figured out the performance problem. As of writing, in the stable version of Windows 10, PS is perceptually slower than cmd, so I was forced to use PS only when needed. Funnily it was even slower in Windows 8, so the current affair is better than ever. But to be truly a default I think the performance of PS should at least match that of cmd.exe.
- tonyedgecombe 10y agoPowerShell needs the .Net runtime so I doubt it will ever be on a par with cmd.exe.
- pjmlp 10y agocmd.exe has a limited set of builtin and relies on external applications with a plain text interface. PowerShell has builtins, can import code from any .NET Assembly or native code DLL, invoke external processes, full featured programming language and structured data. cmd.exe will never be on par with PowerShell.
- efdee 10y agoGP was replying to a comment about the performance of PS compared to cmd.exe, stating that PS could never be on par with cmd.exe because it needs to load more.
- stinos 10y agoYeah this is the one thing with PowerShell: with great power comes, erm, not so great performance. I've never been a full-time shell user so after years of occasionally getting some stuff automated using bash discovering Powershell really was like a breath of fresh air.. No more trying/failing to come up with the correct regex to parse the plain text spit out by tools. Command-line completion of arguments. A whole bunch of sane defaults and command names making things easy to discover. Etc. Now at first I only ran PS on a beefy workstation and didn't notice it was kinda slow (even for common operations). But on not-so-beefy machines: yeah, not nice. Then again, cmd is worthless in comparsion with PS so I stopped caring. Thing is also: the time gained by how fast I can get stuff done in PS probably makes up for the time lost trying to figure out the weird syntax of other shells, especially cmd.
- AsyncAwait 10y agoI am surprised at the amount of semi-negative comments here. Yes, some features are yet to be implemented, (it's still a fairly young project and you can always follow GitHub issues on progress), but for an Electron app, it's surprisingly fast and capable. The Microsoft-developed Go plugin makes it the best Go IDE out there, the devs, (Ramya Rao etc.) are super responsive and really trying to resolve issues quickly. If you haven't tried it yet, I think you really should and if you have found a problem, open an issue at https://github.com/Microsoft/vscode https://github.com/Microsoft/vscode so the devs know about it, complaining doesn't help making it better. They generally release every month, so it will get fixed sooner rather than later. P.S. Kudos to the team & contributors for another awesome release!
- pjmlp 10y agoHow does it compare to LiteIDE?
- sagichmal 10y agoI never understood LiteIDE, it was always extraordinarily esoteric and nonintuitive. VS Code is just fantastically better in comparison, in my opinion.
- wattt 10y agoI have never heard of that, but I will share one thing I like about it as an IDE (and historically I have hated IDEs and used vim)... No config. Open a "folder", no project setup bullshit, and it remembers your work-state for each project/folder you open... And best part: autocomplete! But it is not heavy and slow. It does autocomplete per-file. So it does not need to analyse my entire project codebase, it just sees I used a word before and lets me tab to complete. So nice.
- donatj 10y agoI loved LiteIDE when I used it, the VSCode extension can do most of what LiteIDE does but in a much nicer UI and control.
- computerex 10y ago
- deleted 10y ago[deleted]
- grandalf 10y agoAs an emacs user, it's interesting to watch the race of open source extensible editors like Atom and VSCode. I still haven't been tempted to leave emacs, but it's great to see so much progress in the ecosystem.
- joekrill 10y agoI keep trying VSCode, but the main thing that keeps me going back to Atom is the fact that I have to do everything at the command line or by editing an enormous json file. Maybe I'm spoiled, but I'd much rather have a nice UI to deal with settings than have to figure out that, say, in order to show line numbers I have to modify "editor.lineNumbers" and set it to "on" (or is it "true"? or 1? I can't remember... let me go waste more time looking it up...)
- mastax 10y agoWhile I agree that a real settings menu could be an improvement, they have made the settings experience better. They show a searchable annotated list of all the default settings on the left, and when you type a setting key in on the right it will show suggestions for possible values. Looking at it just now, I also see that they added categories, and little edit buttons when you hover over a setting which allow you to click on what option you want. It's a bit strange to me that they're slowly turning a config file into a settings interface, but I guess it works fine for a Developer-focused product.
- joekrill 10y agoWell that's good to know -- in that case I'll give it another shot.
- majkinetor 10y agoThis is preciselly the reason I and many of my collegues love it - no GUI for settings. This means you can use hundreeds of tools to manage your settings and it is in true spirit of unix philosophy to keep everything as a text file. Much more time is wasted by looking for options in GUI equivalent and reproducibility, sharing, backup and comparing (diff) are way harder or nonexistent. Creating frontend for it is trivial, but honestly, why drop from horse to donkey as they say. All the apps should have settings like that.
- vvanders 10y agoSeriously, Ctrl+Shift+P and start typing gets me to what I need 99% of the time, it's glorious. Combined with the VIM plugin and I rarely need to touch the mouse.
- raspo 10y agoI find it kind of funny that most screenshots are taken from MacOS :)
- joaodlf 10y agoI use vs code for Go development and it's pretty amazing. Slowly starting to use it in other languages as well, but the Go support is really 5*.
- kzisme 10y agoHow do you like working with Go? I've been meaning to start trying it out here soon, but haven't looked very far. I'm coming from a C# background.
- computerex 10y agoI come from C#. Golang is nice and simple. I really miss generics. Going from the expressiveness of C# to golang is hard at first.
- joaodlf 10y agoIf you come from a C# background, it will feel a bit weird initially. You will more than likely miss generics, you might also miss the strong OOP model. In the compiled world, I have somewhat of a background in C (haven't really done much with it in the last few years, though), so to me Go feels sort of like "C with a really strong std lib". I have really enjoyed the decisions they have made with the language, tbh, the people behind it have a proven track record. It's fun and very powerful, there is tremendous potential in it. I miss all the libs available in C, but this is understandable due to the early age of the project. I also feel like it needs better package management (but I read that is a priority for this year).
- partisan 10y agoI use it for F# and Nim and while there are some flaws, it's the best experience on linux for these two languages. It also lowers the bar to entry on other languages, e.g. Go, which is on my list of to-learns.
- legulere 10y agoIt's nice that they added an option to change the side of the close button. But way more important are sensible defaults, and that should be on the left side for mac os. Still I am a very happy user of Visual Studio Code.
- ridiculous_fish 10y agoI'm used to being able to run my program via command-R or some other key equivalent. I haven't been able to find a way to do this conveniently from VSCode. How do other VSCode users run their programs?
- tonyedgecombe 10y agoF5 is the default but you can set your own keyboard shortcuts from the File->Preferences->Keyboard Shortcuts menu
- ridiculous_fish 10y agoThere appears to be no way to bind a keyboard shortcut for running an arbitrary task. https://github.com/Microsoft/vscode/issues/6550 https://github.com/Microsoft/vscode/issues/6550 By default F5 is "continue debugging," but debugging is limited to Node, so I don't think that's what I want. Incidentally my MBP has no F5 key :)
- WorldMaker 10y agoThere are debugging extensions for environments beyond Node. Also, Ctrl+Shift+B is the default shortcut for whatever arbitrary task you have set as your Build Task in .vscode/tasks.json.
- xwvvvvwx 10y agoThere are debug adapters for tons of languages available through extensions. I use the C++ and Python debuggers regularly and love them :)
- WorldMaker 10y agoThe Tasks system in VSCode is quite powerful: https://code.visualstudio.com/Docs/editor/tasks https://code.visualstudio.com/Docs/editor/tasks Also, the integrated Terminal (Ctrl+`) is more useful with each version.
- 10y ago
- thiht 10y agoGreat release and awesome release notes, as always. Many thanks to the team for such a great editor! I'm especially thrilled by the integrated terminal improvements.
- dlbucci 10y agoI was just thinking how much of a pain it was to switch from the output pane to the debug console, so I like the new tabs. Unfortunately, I can't seem to run my launch task in my second window anymore...
- didip 10y agoFor those of you who use VS Code, how fast is it when grepping large number of files? Is it at least comparable to Sublime Text?
- rockdoe 10y agoI have no idea about Sublime Text but find-symbol for example is slow. Maybe they should take a good look at ripgrep.
- kwood 10y agoCan't compare to Sublime myself, but the global search got some major overhaul and is doing parallel searches since the last release (1.8). Can't complain about the speed.
- jrwiegand 10y agoI am really hopeful for the enhanced scrollbar to be implemented soon. After that, I am pretty well set with vscode. https://github.com/Microsoft/vscode/issues/4865 https://github.com/Microsoft/vscode/issues/4865
- manishsharan 10y agoI feel so guilty using this because I did not renew my license for Webstorm. I used to love webstorm but the javascript development environment/ecosystem has come such a long way since when I first purchased Webstorm.
- computerex 10y agoI used to use PHP Webstorm. Its lightning fast search is awesome, but it slows to a crawl for large codebases.
- 13years 10y agoI am really loving VS Code. However, there are 2 big things I really need to give up Brackets/WebStorm entirely. 1) Jump to definition for plain JS. Both Brackets and WebStorm can find method definitions for any JS project. 2) Multiline searches. I use this quite a lot to find files that contain 2 terms on different lines.
- computerex 10y ago1) I can already do this, just hold down control or command then hover over the symbol?
- 13years 10y agoDoesn't work for any of my JS projects. However, Brackets and WebStorm work just fine. It does work for my TypeScript projects. Edit: It does work on some symbols in JS projects. But it doesn't work on function calls. Example: 'object.methodName()' I can't click on methodName and have it find the source. Brackets and WebStorm find all possible definitions, if there is only 1, it will take you directly there, if there are multiple, then you get a list to choose from
- vgy7ujm 10y agoIt's nicer than Atom and almost feels as snappy as Sublime. But Vim still is miles better when you have put in the work to become proficient. MacVim works great for retina screens and high color support.
- computerex 10y agoThe VIM emulation plugin actually works reasonably well.
- vgy7ujm 10y agoI know but it's not Vim.. I have been using VScode for the past 6 months and it was a relief to get back to Vim. Productivity skyrocketed since I am not constantly trying new plugins, wrestling with not knowing the IDE well enough, hard wired Vim/terminal brain etc. And just small stuff that is not working or works another way quickly gets very annoying. I use more than basic editing.
- vgy7ujm 10y agoI'm probably going to try VScode again but it was not there yet for me. Also please bring in full Perl support please!
- deleted 10y ago[deleted]
- Lio 10y agoThe same is true for Neovim (and Vim 8?) in the terminal too.
- codingmatty 10y agoThe problem that I have with VSC releases is that they are automatic, and I don't want to screw up my current workflow when I reset the application for an update. I have wasted hours before with VSC updates.
- majkinetor 10y agoYou have an option to disable automatic VSC update. You can also update it via chocolatey.
- dsaw 10y agoYou can set "update.channel" : "none" in your User Settings. (I was also bitten by it once)
- aphextron 10y agoAm I alone in rejecting this new wave of Electron/node-webkit based text editors? Every single one I've tried has been horribly slow, unstable, and a giant resource hog. I gave Atom a shot, and it crashed on importing a .csv file of a few thousand lines. What I want from a text editor is simply that: a text editor. For anything more advanced, move up to a proper IDE. Why anyone uses these over something like Sublime or NP++ blows me away.
- plexicle 10y agoSo.. have you even tried Code? It doesn't sound like you have. It's quite fast.
- aphextron 10y agoSure I have, and it's had the same issues in my opinion
- 13years 10y agoDepends on what features are important to you. On my system, the new parallel file search from VS Code is an order of magnitude faster than Sublime. For example, searching my entire project is 2 secs in VS Code vs 20 sec in Sublime
- therealmarv 10y agoComparing atom and vscode is like comparing apples to oranges. They are sharing only Electron and nothing else. Some people do not want a full blown IDE (all of them are slower than VSCode) but also do not want a bare naked editor... I tried getting Sublime as feature rich as VSCode + one python plugin. Sublime was loosing and using most of the time more resources (Anaconda plugin)... code completion, auto suggestion, method jumping, inline help... everything was better in VSCode. Also not to mention the amount of help in other languages like JS. But if I would handle really big files without logic I would probably stick more to sublime.
- mixedCase 10y agoMy main laptop broke down and I'm currently using a Pentium Dual Core T3200, 3GB of RAM, an HDD... in other words, a pretty damn old laptop. I knew VSCode was very optimized for an Electron application, but you have no idea how fast this is. This is faster than my Vim set-up, and I have taken my sweet time making sure Vim only loads the plugins it strictly needs and I try to switch to the asynchronous version of a plugin as soon as it pops up but still, VSCode is more consistently responsive for a lot of tasks. I'm not sure wether I'll make a full switch yet, specially once I get a proper computer back, but the quality of the plugin ecosystem (I thought vim-go was amazing, but VSCode's Go plugin is just ridiculously good and properly asynchronous) coupled with this huge performance surprise are really making me consider it.
- eob 10y agoVSCode + TypeScript is the perfect foot-in-door for MS to get into the web space. They're both excellent products by themselves, but also give Microsoft the platform to start dangling turnkey Azure integration in front of developers. Imagine if the IDE started to offer the ability to configure, deploy, and manage targeted production stacks--no browser / command line hackery required. That would be compelling.
- rcarmo 10y agoYou can do that right now if you use Azure ARM templates and set up project-level actions to run them through the Azure CLI. It's just a matter of someone bundling it together as an extension (I've been working on one, but solely for template snippets).
- therealmarv 10y agoDoes anybody know a way to have better window management in VSCode? I really don't like to split always and use the mouse to drag and drop... often I use two panes and I want to duplicate view in them. Hoping for something like the Sublime Origami plugin (which was perfect for me).
- whatever_dude 10y agoCheck the shortcuts. There's a lot of shortcuts to manipulate the tabs.
- moogly 10y agoI really like VS Code, and try to use it as much as possible, but I can't make it my main driver until they've added more detailed theming support. Textmate themes aren't good enough. I can't get used to such basic highlighting that doesn't even come close to ReSharper's with "Color identifiers" enabled.
- Lord_Zane 10y agoSetting "window.menuBarVisibility": "hidden" works at first, but then dosent work if I close and open vscode, anyone else have this problem?
- jhasse 10y agoYes, I'm experiencing the same problem :( I'm using Linux btw.
- deleted 10y ago[deleted]
- deleted 10y ago[deleted]
- jszymborski 10y agoI've been gradually finding myself using vscode over atom more and more, but the thing I consistently miss are Sublime-like shortcuts like Ctrl+D to duplicate a line or Ctrl+Click to add a cursor.
- parenthephobia 10y agoIt's an extra key press, but ctrl-c copies the current line if there's no selection; then ctrl-v pastes it in front of the next line. Alt-click adds a cursor. :) Also, alt-up/down adds cursors above or below the current cursors.
- jszymborski 10y agoyou're a lifesaver, kind stranger
- whatever_dude 10y agoIt has a lot of shortcuts for features that are just not set by result. Take a look at the keyboard shortcut file and search for something, or install one of the templates that mimic other editors.
- lukasm 10y agoHow to do search within search? E.g. I look in my src/ for json, but I get 50 results. In Sublime the result is a file so I can cmd+F it. Not sure how to do it here though.
- jinmingjian 10y agoKudos! VSC is an "redefined" and high hackable (largely thanks to the rich nodejs ecosystem) editing environment which you can do everything as you like. So, to pin it into an editor or an IDE makes less sense. more technical imagination: the project lead Erich Gamma has long history works in the field of Eclipse and definitely knows the importance (and pain) of the code editing to a programmer. Then, I (and we) can expect VSC would go beyond the Eclipse and hunt the heart of coders from other IDE products some day:) final shameless insert: recently I release an extension to provide Swift editing environment[1] to try to bring Go/Rust like experiment for Swift server side development. Now it works for both Linux and macOS.(I hope to investigate the possibility for windows 10 WSL after release 2.0 coming soon.) [1] https://github.com/jinmingjian/sde https://github.com/jinmingjian/sde
- vikingcaffiene 10y agoI was a die hard ST3 user and Microsoft hater and I begrudgingly gave VS Code a shot after a dev I respected gave it a shout out on twitter. After a day of heavy use it became my daily driver. It is a great balance of speed, configurability, and features. Very impressed and highly recommend giving it a shot. Its just getting better and better.
- candiodari 10y agoGiven that this runs on electron, which is basically a web browser with a node backend, is it possible to run this either as a webserver or otherwise remotely ? I'd like to run this with the webserver running on a big dev machine at work and the client at work. X forwarding is not working well for me at least.
- gpm 10y agoI use sshfs for that. `sshfs username@remoteserver:/directory/to/mount mount_point` lets me edit the remote files locally. Then I compile and run (via mosh, which is like ssh but better, particularly if you have crappy internet) on remoteserver.
- wattt 10y agoI have used vim for years and I was tasked with making an Electron app for a client so I tried vscode... And I love it! I still use vim for sysadmin things but it has been the first thing Microsoft has made since the original Natural Keyboard that I absolutely love. It is good. I recommend it to others. I hate bloated editors and it is good... No config/setup process either - the defaults are enough!
- tracker1 10y agoI do tweak a few of the defaults. I use it on windows, linux and mac and they vary, so I like them consistent (linux line endings by default, 2-spaces, etc). I agree that it's one of the best products from MS today... I keep hoping that they take this as a model and re-create SQL Management Studio as an Electron app as well (I know about the VS Code extension). I had tried electron and brackets before VS Code, and was skeptical... other than a few learning curves in the UX, it's been great. I don't think anything compares in terms of the plugin ecosystem either (though might not quite mach sublime).
- ikurei 10y agoI'm very curious: Don't you miss Vim? After using it for years, doesn't editing code in anything else feel wrong? I'm all day switching between VSCode and Vim. VSCode's support for my toolset (nodejs, es6, jsx, flowtype, mustachejs...) is fantastic, but even with the (fairly good) Vim plugin, I miss Vim. Whenever something doesn't work in Vimified-VSCode as I expect, it breaks my brain and my focus a bit. What's so great in VSCode that you abandoned something that, I imagine, was embedded in your head already?
- nojvek 10y agoI worked on the debug inline values feature. Let me know if you have any feedback/questions regarding that. Its currently disabled for evaluation purposes but you can enable in settings via "debug.inlineValues": true http://code.visualstudio.com/updates/v1_9#_inline-variable-values-in-source-code http://code.visualstudio.com/updates/v1_9#_inline-variable-v...
- edwardmarriner 10y agoThanks for all your hard work on this feature, it looks great!
- btbuilder 10y agoAlternatively I have been using IntelliJ with the Go plugin for about a year and now the Gogland EAP. It has some really cool features like VCS integration, "TODO" panel and "goto" functionality that works through interfaces. You can "Goto Super Method" to jump to the definition of an interface function that the highlighted function implements. You can also do the reverse which is to list all the structs that implement an interface, or a specific interface function.
- theshire 10y agoWould be great if they implement Brackets Live preview mode.
- sunnyps 10y agoI work on Chromium and I test every VS Code version to see how it performs with the Chromium source code (except third_party). This is the first time I'm impressed. My observations: 1. Go to file is a little bit slower than Sublime Text but the extra features in VS Code make that tradeoff worthwhile. 2. The C/C++ extension enables go to definition/header without any extra configuration. 3. I like that it runs on top of Electron which is after all a fork of Chromium. 4. I haven't tried the debugger yet but I'm hopeful that will work fine too. I'll keep playing around with it and maybe even switch from Sublime Text.
- arwhatever 10y agoMight be interesting to see a case study from this team, their engineering practices, etc. They seem to be remarkably productive and successful and to iterate quickly.
- amzans 10y agoFor about a year it has been my favorite editor when writing in Go and pretty much anything that's not Java. I think the team behind it has been doing fantastic work. Thank you guys.
- rado 10y ago"Format on Paste" could convert me from Coda, but it doesn't seem to work. macOS, HTML mode, enabled the option, restarted, doesn't format until I manually execute the Format Document command.
- riejo 10y agoThat's most likely because the html formatter doesn't support to format range/selection but only the full document.
- deleted 10y ago[deleted]
- sdoering 10y agoOhhhh I love the new 'Synchonized Markdown" feature. This will in the end replace the need for iA writer (that I happily paid for) on my machine. As I do have a workflow already setup to (Semi-)automate creation of files from .md I now can do this inside VSC and do not need to open another application.
- simooooo 10y agoThanks for bringing this feature up.. I had no idea the markdown preview feature even existed!
- blunte 10y agoI am super pleased that VS Code exists, works on multiple platforms, and is apparently a first class project at MS Dev. Like some other devs, I ran as far from Microsoft as I could many years ago... but now it seems they are trying to be more open, or less protectionist/monopolistic. I used VS Code (starting at v1.5) for a couple of projects (on my Mac), and I found it quite effective and very performant. The performance, particularly the interface latency, is a big complaint I have with other "fat" IDEs. And while my hands still try to do some Vi commands and a lot of Emacs commands, I found the keyboard options for VS Code acceptable. This is as close to a Thank You to Microsoft that I have uttered in a long time. I hope they keep up the good work.
- yAnonymous 10y agoI'm critical of Microsoft and everything related to it, but I'm impressed with the whole VS Code project. The team makes very sane development decisions. Code offers a great UI, is fast and configurable. Bugs and issues are handled quickly and despite already having overtaken all other editors IMHO, there's a constant stream of improvements that are documented nicely with every update. Good job.
- johnchristopher 10y agoCan anybody explain how I can get a `jump to function defintions` when working with PHP files ? (defintions might be in included files) This is the one thing I'd really like to figure out (be it out of the box or with a plugin).
- alexdoma 10y agoThis version introduced a non-trivial bug for me; When I open a file to edit through nautilus, it opens in a new window instead of reusing the existing one. The new settings (window.openFilesInNewWindow and window.openFoldersInNewWindow) don't help no matter what when I set them to 'off' EDIT: Fixed it on Ubuntu by removing the '--new-window-if-not-first' argument from the code.desktop related command. sudo nano /usr/share/applications/code.desktop # set: Exec=/usr/share/code/code %U
- Tyriar 10y agoThanks for pointing this out, expect a fix to come soon in the recovery build. https://github.com/Microsoft/vscode/issues/19775 https://github.com/Microsoft/vscode/issues/19775
- deleted 10y ago[deleted]