What is a Visual Studio Code Editor Built on

What underlying technologies / libraries are the new (free) Microsoft cross-platform editor Visual Studio code (launched on 05/29/2015) is built? Rumor has it that he only refinanced the Github Atom Editor.

+86
atom-editor visual-studio-code electron node-webkit
Apr 30 '15 at 11:06
source share
1 answer

Visual Studio code is built using web technology on top of Github Electron .

Electron is a native application runtime that uses Chromium (which Google Chrome is built on) to render the interface and node.js for local APIs (for example: access to the file system), it was created mainly as a shell for Github Atom code editor. (Note: the electron is very similar to NW.js ).

node.js is an application runtime (JavaScript) built on the Google V8 JavaScript engine with C and C ++ code to provide it with access to its own APIs for each operating system (example: file system access).

In fact, the new Microsoft product is completely built on open source software, the main components of which were created by Google.

Rumor has it that Visual Studio code is either a fork or a rebranding of the Github Atom Editor. This is not even remotely true. Checking the source of the Visual Studio code shows that it uses Electron and the Atom Shell Archive , but nothing else from the Atom editor.

The "editor" (what syntax highlighting code does, line numbers, etc.) is part of the Visual Studio code. It is Microsoft Monaco. This is the same editor used for OneDrive, Windows Azure, TypeScript Playground, and Visual Studio Online. I have not yet found real documentation for this editor from Microsoft, but there are some articles about this on the Internet.

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

JavaScript Intellisense is all user code. It provides impressive JavaScript completions, but in most cases it looks worse than Tern (see Tern Demo ).

+134
Apr 30 '15 at 11:06
source share



All Articles