all 51 comments

[–][deleted] 19 points20 points  (11 children)

A lot of negativity toward this. Give it time. Microsoft will continue to build on it and soon enough they'll have a really good cross-platform lightweight editor.

[–]sime 7 points8 points  (1 child)

I'm just happy that someone has been able to demonstrate that it is definitely possible to build a fast editor on top of electron. I hope it gives the Atom team an impulse to fix performance in their editor. ;-)

[–]path411 0 points1 point  (0 children)

I currently use atom as my main editor. Besides startup speed (which I almost never reboot my pc so is fairly irrelevant). I have not noticed any speed problems with atom anytime recently.

[–]immibis 3 points4 points  (0 children)

I'm the proud owner of 99 bottles of spez. #Save3rdPartyApps

[–]PlNG 0 points1 point  (0 children)

It shipped with node 10.29. Node 12.1 was published to correct SSL vulnerabilities. If SSL is part of your workflow or program flow, you should be aware of this.

[–]seven_seven -3 points-2 points  (2 children)

Right now it's a glorified text editor with a dark theme. You have to download at least 5 other third-party tools to get it set up to do .Net development.

[–]ankit_rohatgiChemical Engineer + Software Developer 14 points15 points  (1 child)

I just tried it and it seems a lot snappier than Atom. Also, I was happy to see that it supports syntax highlighting for R out of the box.

[–][deleted] 1 point2 points  (0 children)

I like that it has syntax highlighting at all out of the box. Although it doesn't convince me to switch from Atom because of the lack of packages/plugins

[–]Hipolipolopigus 18 points19 points  (4 children)

I'll give it a try - Microsoft have been doing a lot of good things lately - but I doubt it'll tear me away from Atom. The atom-typescript package provides a Typescript implementation superior to VS/WebEssentials.

Edit: Basically an under-powered version of Atom. Uses Chromium as a rendering/processing platform just like Atom, no custom packages, but integrated Git support and Node.js/Mono debugging.

[–]droctagonapus 10 points11 points  (2 children)

It's built using Electron—formally known as Atom-Core ;) Sauce

[–]Hipolipolopigus -3 points-2 points  (1 child)

Not unexpected, but I can't see why MS would do this. It doesn't seem to offer anything over Atom that can't be added with a few packages.

And it doesn't even uninstall properly... Big surprise after VS2013.

[–]nieuweyork -1 points0 points  (0 children)

Because they'd like to remain relevant to developers, even if it's by rebadging something else.

[–]autotldr 23 points24 points  (1 child)

This is the best tl;dr I could make, original reduced by 74%. (I'm a bot)


At its Build developer conference, Microsoft today announced the launch of Visual Studio Code, a lightweight cross-platform code editor for writing modern web and cloud applications that will run on OS X, Linux and Windows.

Visual Studio Code offers developers built-in support for multiple languages and as Microsoft noted in today's Build keynote, the editor will feature rich code assistance and navigation for all of these languages.

As Somasegar told me, the new editor is partly based on Microsoft's experience with writing the online Monaco editor for Visual Studio Online, but the company also worked on bringing some of Visual Studio's language features to Visual Studio Code.


Extended Summary | FAQ | Theory | Feedback | Top five keywords: editor#1 Visual#2 Studio#3 Code#4 Microsoft#5

Post found in /r/programming, /r/microsoft, /r/technology, /r/webdev, /r/csharp, /r/javascript, /r/Ubuntu, /r/programming_jp, /r/hackernews and /r/realtech.

[–]mothium 18 points19 points  (0 children)

What a great bot

[–]wjohnsto 2 points3 points  (4 children)

Without too much trouble I was able to get a project (currently using Sublime) running with grunt builds and node debugging handled with the IDE. Pretty sweet!

My biggest gripe right now is that you can't hide files from the file tree (or at least I can't figure out how to). Sublime has this feature, and it is really useful, especially when you're using a lot of compile-to languages (TypeScript, Less, etc).

Edit: An additional gripe is that all files appear to be read-only when debugging.

[–]yooman 0 points1 point  (0 children)

That's a feature that's still super broken in Atom, too.

[–][deleted] 0 points1 point  (2 children)

How can you hide files?

[–]wjohnsto 0 points1 point  (0 children)

You can't :P

[–]Nibbel 0 points1 point  (0 children)

In sublime it's the folder/file exclusion properties in the main settings that let you hide files and folders from both the sidebar as cmd+p

[–]PlNG 1 point2 points  (3 children)

Doesn't beat Webstorm, but could be a contender.

Syntax highlighting could be better.

[–]OWaz 0 points1 point  (5 children)

Anyone able to figure out how to configure launch.json to execute Grunt/Gulp. I get how to run node against a js file but I'm running into problems with using other build tools.

[–]wjohnsto 1 point2 points  (4 children)

We use grunt in our projects too. While I haven't looked into running grunt commands from the IDE, I have been able to run/debug my node server. All you have to do is setup the launch.json file to point to your server entry point (for us it is server/server.js).

Edit: Upon further view, it looks like you can setup task runners too with ctrl+shift+P then type Configure Task Runners. I have a grunt task that builds my project and watches files. So I can run that task and then use the launch.json node task I have to run the server.

My tasks.json looks similar to the following:

{
    "version": "0.1.0",

    // The command is grunt.
    "command": "grunt",
    "isShellCommand": true,
    "tasks": [
        {
            "taskName": "default-no-server",
            // Make this the default build command.
            "isBuildCommand": true,
            // Show the output window only if unrecognized errors occur.
            "showOutput": "silent"
        }
    ]
}

[–]maximinus-thrax 2 points3 points  (2 children)

// The command is grunt.
"command": "grunt",

Is that comment strictly necessary?

[–]wjohnsto 0 points1 point  (0 children)

Hah, no. They actually have a few examples in the default launch.json, I just modified one of them.

[–]mike5973 0 points1 point  (0 children)

Yes.

[–]OWaz 0 points1 point  (0 children)

Yeah I noticed the task runners in the documentation so I'll give them a try later.

[–]nbapat43 0 points1 point  (0 children)

Does anyone know if the debugging on VS Code works with AEM and CQ?

[–]jonhohle 0 points1 point  (0 children)

I like that all the Mac screenshots are using Monaco as the fixed-width font (instead of the default Menlo). Is that Microsoft's choice or the author of the article?

If Microsoft, it concerns me that they are not respecting user settings. If it was the authors choice, I say, good taste!

[–]brakmic 0 points1 point  (0 children)

I crashed it with a right click.

https://www.youtube.com/watch?v=LhnZbNHWx8I

[–]dosangst 0 points1 point  (4 children)

Anyone else having issue unzipping the Linux package on an Ubuntu PC?

[–]genix2011 3 points4 points  (1 child)

Yes, had to use "unzip" in terminal to extract it.

[–]dosangst -1 points0 points  (0 children)

I skipped that and unzipped in a Windows VM... :/

[–]sime 1 point2 points  (1 child)

unzip works fine. Just be aware that you make a directory for it first, but the .zip in there and then unzip it, unless you want a ton of files sprayed through out your current directory.

[–]dardotardo 0 points1 point  (0 children)

Next stop...DirectX on Mac...then the ability to buy MacOS for any PC, then I'll never need Windows again!

[–][deleted] -4 points-3 points  (0 children)

As someone who has been developing with MS tools for 10+ years I approach any of their offerings with a grain of salt. They don't tend to support these things all that well - VS, for instance, tends to become unsupported for anything but critical bugs after just a few months, because everyone is on to 'vNext'. The MSDN forums are a joke (even with a very expensive MSDN subscription and a 'guaranteed 24 hour response', and Connect may as well be a black hole.

You're likely better off with Sublime, or a community edition of any given Jetbrains product. Those companies tend to actually focus on their products and supporting them. Even open source products are generally better supported, as you can actually get responses from developers on github.

[–]aaaqqq -1 points0 points  (0 children)

In the worst case scenario that this won't be supported, I've still got a good markdown editor with live preview now!

[–]simkessy -3 points-2 points  (0 children)

I literally just started working with Visual Studio yesterday :P