What exactly is Visual Studio Code?

后端 未结 9 1085
悲哀的现实
悲哀的现实 2021-01-03 17:50

Recently I\'ve read about Microsoft Visual Studio Code. I work primarily with C and C++ languages on GNU/Linux. My question is whether Visual Studio Code is just a simple ed

相关标签:
9条回答
  • 2021-01-03 17:56

    Use Visual Studio Code Tasks to execute program to compile or make.

    0 讨论(0)
  • 2021-01-03 17:57

    Sorry, can't see what use Visual Studio Code is for anything other than javascript programmers, unless you just like seeing your C++/Perl/Java code in pretty colours.

    To answer your questions directly:

    Yes, it is just a simple editor.

    No, it does not use whatever compiler exists in the platform, gcc, or any other C++ compiler. It won't compile your C++ code, full stop.

    No, it does not come with its own VS compiler, except for (apparently) "ASP.NET, Node.js, or TypeScript".

    But it is the first cross-platform development tool in the Visual Studio family, for a certain definition of the phrase "development tool".

    0 讨论(0)
  • 2021-01-03 17:58

    It is more of a simple code editor than an IDE and it's primary focus is editing web code (Html, Javascript, CSS), TypeScript, and C#. It provides advanced 'IDE like' features for these languages, but more basic features for other languages (syntax highlighting).

    Also, see What is the Visual Studio Code editor built on

    0 讨论(0)
  • 2021-01-03 18:04

    As per VentureBeat

    The new Visual Studio Code software is available for Mac OS X, Linux, and Windows. It packs code completion, Git integration, linting, and sophisticated debugging capability. And it works with a wide range of languages.

    “You can use this tool to be able to build modern web and cloud applications, with fantastic support for ASP.NET, Node.js, and TypeScript,”

    More info here

    0 讨论(0)
  • 2021-01-03 18:07

    Although it's not mentioned by Microsoft,it appears that vscode is a clone of the ZED ide/text editor. What makes ZED unique is a set of principles designed to "reduce the cognitive load" of developing.

    About the only important features I've found which vs code does not share with ZED is the auto-save feature and VIM keyboard bindings. [EDIT: turns out auto-save is supported by off by default.] Nearly everything else it has is copied there. While lacking those important features does reduce vs code's utility, the fact that it works across environments, has minimal window dressing, split panels, user editable configuration and is based on a node.js engine, makes it a very usable cross language editor.

    Obviously, if you are an old-school windows/asp.net/.net sort of developer you have no need for something like vs code or zed since you stay in Visual Studio all the time. However, for the enlightened few who are just at home on mac or linux and who use python, node.js, json, c#, typescript etc interchangeably a light-weight, fast, cross platform code editor is essential. Having these as options makes many tasks easy, faster and more concise.

    0 讨论(0)
  • 2021-01-03 18:08

    according to Wikipedia

    https://en.wikipedia.org/wiki/Visual_Studio_Code

    Visual Studio Code is a source code editor developed by Microsoft for Windows, Linux and macOS. It includes support for debugging, embedded Git control, syntax highlighting, intelligent code completion, snippets, and code refactoring. It is also customizable, so users can change the editor's theme, keyboard shortcuts, and preferences. It is free and open-source,[5][6] although the official download is under a proprietary license.[4]

    Visual Studio Code is based on Electron, a framework which is used to deploy Node.js applications for the desktop running on the Blink layout engine. Although it uses the Electron framework,[7] the software is not a fork of Atom, it is actually based on Visual Studio Online's editor (codename "Monaco").[8]

    0 讨论(0)
提交回复
热议问题