如何评价 Visual Studio Code?

Microsoft Launches Visual Studio Code, A Free Cross-Platform Code Editor Fo…
关注者
5,226
被浏览
2,296,700

174 个回答

看到Visual Studio Code还是蛮激动的,微软这两年来不断开放的姿态,越来越让我们看到微软的情怀和未来。

Visual Studio Code的定位应该还是Editor,一个全功能的Editor,通过Editor反推微软的SDK,.NET(开源,跨平台)等产品铺路。

Github atom

这个领域最近刚起来的明星是 GItHub的 atom,

Atom is a hackable text editor for the 21st century, built on Electron, and based on everything we love about our favorite editors. We designed it to be deeply customizable, but still approachable using the default configuration.

Atom <-- Electron

atom/electron · GitHub

Github 热度超凡的一个项目,electron是整个atom的核心,对于electron可以理解成

electron =

io.js

+

Chromium

通过electron可以方便的打造基于Web,跨平台的Desktop应用。基于Web的native的接口,得益于io.js的封装,让本来没有本地权限的web能有原生native的权限,Chromium是呈现Web的跨平台基础,这样的完美结合,我们可以将HTML5 CSS JavaScript(AngularJS, React, BootStrap.....)技术完全应用到native desktop app上面,可以看到我们在用这些app的时候完全没有感觉是web的应用,性能特别好。

下面是现有一些基于atom的跨平台应用。


Node-WebKit

nwjs/nw.js · GitHub

Node-WebKit 现在叫NW

(Node-WebKit =

https://nodejs.org

+

Chromium

)

#########

感谢@Johnny Wu 指正,
Node-WebKit 从0.12开始,改名NW.js 并且使用了新的io.js
所以 NW.js = io.js + Chromium "他们之间的不同是架构不同, 一个是 WebKit Embeded 的思路, 一个是 CEF3 的思路. 前者通过 global context 和 single libuv event loop 来实现, 后者通过 ipc, multiple libuv event loop 来实现. 两者虽然使用上功能相似, 但是架构上区别很大."

##########

Node-WebKit是第一个吃螃蟹的,大致的思路一致,Electron是在NW基础上,用io.js替换node.js。

List of apps and companies using nw.js · nwjs/nw.js Wiki · GitHub

这一波浪潮来的优点凶,应该是Node.js + Chromium接下来跨平台应用的一致思路了,也许下面的平台就是Chromium,语言就是JavaScript。

拿了下去年2014.Q4的Github语言排名

GitHut - Programming Languages and GitHub

Job Trends | Indeed.com

看来是进击的atom,首先需要明确,这货更像是个文本编辑器

官方的,How can we improve Microsoft? 里面对他的期待有一条

"Blue screen of Death" simulation on errors in the IDE

On any error it would be nice to have the good old feeling of windows.


话说回来,打开86M文件毫无压力啊


作为一个颜控表示真的蛮好看的。。。

摘抄官方issue里一些喜闻乐见的期望

这个比较逗

Visual Studio for Mac is a breath of fresh air for those of us who use Unity on a daily basis. Please oh please get it tightly integrated, similar to UnityVS for Windows.

The day I can dump MonoDevelop and Xamarin for good would be better than my last 10 birthday presents combined - and they were pretty sweet!

这个和答主想一起了

Please implement the ability to use Code with vi-style keyboard commands. (Preferably as an open-source plugin, as no one ever gets vi-mode quite right in other editors at first.)

After 18 years of using vi and Vim, I simply cannot use non-modal editors anymore. Sim-style keybindings are having something of a renaissance lately, and I'm sure a vi mode in Code would be quite popular. (Just look at VsVim for Visual Studio: VsVim extension )

还有各种要语言Make CMake的

Since not all of us work on web platforms, integrating a CMake build system would be amazing.


C++ Code Completion and Debugging

人民群众期待很高嘛,明天考试,考完再更新(上次看MS发布会也是考试。。。)