什么是基于Visual Studio Code编辑器的 [英] What is the Visual Studio Code editor built on

查看:212
本文介绍了什么是基于Visual Studio Code编辑器的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Microsoft新的(免费)跨平台编辑器 ="a href =" https://code.visualstudio.com/"rel =" noreferrer> Visual Studio代码 (于2015年5月29日推出)建立在什么基础上?有传言说这只是Github的Atom Editor重命名.

What underlying technologies/libraries is Microsoft's new (free) cross platform editor Visual Studio Code (Launched 5/29/2015) built on? There are rumors that it's just Github's Atom Editor rebranded.

推荐答案

Visual Studio Code是使用Web技术在Github的电子.

Visual Studio Code is built using web technologies on top of Github's Electron.

Electron是一个用于编写使用 Chromium native 应用程序的应用程序运行时>(基于Google Chrome构建的)用于呈现界面,而 node.js 用于呈现本地API (例如:文件系统访问),它主要是作为Github的 Atom 代码编辑器的外壳而构建的. (注意:Electron与 NW.js 十分相似).

Electron is an app runtime for writing native apps that uses Chromium (which Google Chrome is built on) for rendering the interface and node.js for local APIs (example: file system access), it was built primarily as the shell for Github's Atom code editor. (Note: Electron is very similar to NW.js).

Node.js是一个(JavaScript)应用运行时,基于Google的V8 JavaScript引擎构建,具有C和C ++代码,可让其访问每个操作系统的本机API(例如:文件系统)访问).

Node.js is a (JavaScript) app runtime built on Google's V8 JavaScript engine with C and C++ code to give it access to native APIs for each operating system (example: file system access).

本质上,微软的新产品完全建立在开源软件上,其主要组件是由Google创建的.

Essentially, Microsoft's new product is built completely upon open source software whose major components were created by Google.

有传言称Visual Studio代码是Github的Atom Editor的分支或品牌重塑.这甚至远非如此.检查Visual Studio Code的源发现,它使用了Electron和 Atom Shell存档,但没有其他内容原子编辑器.

There are rumors that Visual Studio code is either a fork or rebranding of Github's Atom Editor. This is not even remotely true. Inspecting the source of Visual Studio Code reveals that it uses Electron and Atom Shell Archive, but nothing else is from the Atom editor.

Visual Studio Code的编辑器" (使用语法突出显示,行号等呈现代码的东西).部分是Microsoft的Monaco编辑器.与用于OneDrive,Windows Azure,TypeScript Playground和Visual Studio Online的编辑器相同.我尚未在Microsoft上找到有关此编辑器的任何真实文档,但是有一些文章关于它在网络上.

The 'editor' (the thing that renders the code with syntax highlighting, line numbers, etc..) part of Visual Studio Code is Microsoft's Monaco editor. It is the same editor used for OneDrive, Windows Azure, TypeScript Playground, and Visual Studio Online. I have yet to find any real documentation on this editor from Microsoft but there are some articles about it around the web.

Omnisharp 用于为C#提供IntelliSense和其他代码编辑工具(示例:重构) .

JavaScript Intellisense似乎是所有自定义代码.它提供了令人印象深刻的JavaScript补全功能,但在许多情况下,它似乎不如 Tern (请参阅

The JavaScript Intellisense appears to be all custom code. It provides impressive JavaScript completions but it many cases it appears to be inferior to Tern (see Tern Demo).

这篇关于什么是基于Visual Studio Code编辑器的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆