建立在什么基础上的 Visual Studio Code 编辑器 [英] What is the Visual Studio Code editor built on

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

问题描述

什么底层技术/库是微软新的(免费)跨平台编辑器VisualStudio Code (于 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 是在 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).

基本上,微软的新产品完全建立在开源软件的基础上,其主要组件由谷歌创建.

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

有传言称,Visual Studio 代码是 Github 的 Atom 编辑器的一个分支或更名.这甚至都不是真的.检查 Visual Studio Code 的源代码发现它使用 Electron 和 Atom Shell Archive,但没有其他内容来自原子编辑器.

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 的编辑器相同.我还没有从微软找到任何关于这个编辑器的真实文档,但是有 一些文章关于它在网络上.

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 和其他代码编辑工具(例如:重构).

Omnisharp is used to provide IntelliSense and other code editing tools for C# (example: refactoring).

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天全站免登陆