14 ms·
VS 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, a
by Joeri 10y ago
VS 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.