Visual Studio Code和Visual Studio有什么区别?

本文翻译自:What are the differences between Visual Studio Code and Visual Studio?

微软最近发布了Visual Studio Code ,我对它的使用有点困惑,因为Visual Studio在功能上与它有很多相似之处。


#1楼

参考:https://stackoom.com/question/245bO/Visual-Studio-Code和Visual-Studio有什么区别


#2楼

Visual Studio Code is an editor while Visual Studio is an IDE. Visual Studio Code是一个编辑器,而Visual Studio是一个IDE。

Visual Studio Code is cross-platform and fast, while Visual Studio is Windows/Mac only and not fast. Visual Studio Code是跨平台且快速的,而Visual Studio仅 适用于Windows / Mac而且 速度不快。

Note that Visual Studio for Mac is available now but is a different product compared to Visual Studio (Windows). 请注意,Visual Studio for Mac现在可用,但与Visual Studio(Windows)相比是一个不同的产品。 It's based on Xamarin Studio and lacks support for some older .NET project types. 它基于Xamarin Studio,并且缺少对一些较旧的.NET项目类型的支持。 It does successfully build solutions created in VS 2017. VS mac has a more limited UI (for example, no customizable toolbar). 它确实成功构建了在VS 2017中创建的解决方案.VS mac具有更有限的UI(例如,没有可自定义的工具栏)。 So for cross-platform work. 所以对于跨平台的工作。 VS Code may still be preferable. VS Code可能仍然是首选。


#3楼

Visual Studio (full version) is a "full-featured" and "convenient" development environment. Visual Studio(完整版)是一个“功能齐全”和“方便”的开发环境。

Visual Studio (free "Express" versions - only until 2017) are feature-centered and simplified versions of the full version. Visual Studio(免费的“Express”版本 - 仅限2017年)是完整版的以功能为中心和简化版本。 Feature-centered meaning that there are different versions (Visual Studio Web Developer, Visual Studio C#, etc.) depending on your goal. 以功能为中心意味着根据您的目标有不同的版本(Visual Studio Web Developer,Visual Studio C#等)。

Visual Studio (free Community edition - since 2015) is a simplified version of the full version and replaces the separated express editions used before 2015. Visual Studio(免费社区版 - 自2015年起)是完整版的简化版,取代了2015年之前使用的分离版快速版。

Visual Studio Code (VSCode) is a cross-platform (Linux, Mac OS, Windows) editor that can be extended with plugins to your needs. Visual Studio Code(VSCode)是一个跨平台(Linux,Mac OS,Windows)编辑器,可以使用插件扩展以满足您的需求。

For example if you want to create an ASP.NET application using VS Code you need to perform several steps on your own to setup the project. 例如,如果要使用VS Code创建ASP.NET应用程序 ,则需要自己执行几个步骤来设置项目。 There is a separate tutorial for each OS. 每个操作系统都有一个单独的教程。


#4楼

与之前的答案相辅相成,两者之间的一个重大区别是Visual Studio Code带有一个所谓的“便携式”版本,它不需要在Windows上运行的完全管理权限,并且可以放在可移动驱动器中以方便使用。


#5楼

I will provide a detailed differences between Visual Studio and Visual Studio Code below. 我将在下面提供Visual Studio和Visual Studio Code之间的详细差异。

If you really look at it the most obvious difference is that .NET has been split into two: 如果你真的看到它,最明显的区别是.NET已分为两部分:

  • .NET Core (Mac, Linux, and Windows) .NET Core(Mac,Linux和Windows)
  • .NET Framework (Windows only) .NET Framework(仅限Windows)

All native user interface technologies ( Windows Presentation Foundation , Windows Forms , etc.) are part of the framework, not the core. 所有本机用户界面技术( Windows Presentation Foundation , Windows Forms等)都是框架的一部分,而不是核心。

The "Visual" in Visual Studio (from Visual Basic) was largely synonymous with visual UI (drag & drop WYSIWYG) design, so in that sense, Visual Studio Code is Visual Studio without the Visual! Visual Studio中的“Visual”(来自Visual Basic)在很大程度上是视觉UI(拖放WYSIWYG)设计的同义词,因此从这个意义上说,Visual Studio Code是没有Visual的Visual Studio!

The second most obvious difference is that Visual Studio tends to be oriented around projects & solutions. 第二个最明显的区别是Visual Studio倾向于围绕项目和解决方案。

Visual Studio Code: Visual Studio代码:

  • It's a lightweight source code editor which can be used to view, edit, run, and debug source code for applications. 它是一个轻量级的源代码编辑器,可用于查看,编辑,运行和调试应用程序的源代码。
  • Simply it is Visual Studio without the Visual UI, majorly a superman's text-editor. 简单来说,它是没有Visual UI的Visual Studio,主要是超人的文本编辑器。
  • It is mainly oriented around files, not projects. 它主要面向文件,而不是项目。
  • It does not have any scaffolding support. 它没有任何脚手架支持。
  • It is a competitor of Sublime Text or Atom on Electron . 它是Sublime Text或Atom on Electron的竞争对手。
  • It is based on the Electron framework, which is used to build cross platform desktop application using web technologies. 它基于Electron框架,用于使用Web技术构建跨平台桌面应用程序。
  • It does not have support for Microsoft's version control system; 它不支持微软的版本控制系统; Team Foundation Server. Team Foundation Server。
  • It has limited IntelliSense for Microsoft file types and similar features. 它对Microsoft文件类型和类似功能的IntelliSense有限。
  • It is mainly used by developers on a Mac who deal with client-side technologies (HTML, JavaScript, and CSS). 它主要由处理客户端技术(HTML,JavaScript和CSS)的Mac上的开发人员使用。

Visual Studio: 视觉工作室:

  • As the name indicates, it is an IDE, and it contains all the features required for project development. 顾名思义,它是一个IDE,它包含项目开发所需的所有功能。 Like code auto completion, debugger, database integration, server setup, configurations, and so on. 像代码自动完成,调试器,数据库集成,服务器设置,配置等。
  • It is a complete solution mostly used by and for .NET related developers. 它是.NET相关开发人员主要使用的完整解决方案。 It includes everything from source control to bug tracker to deployment tools, etc. It has everything required to develop. 它包括从源代码控制到错误跟踪器到部署工具等的所有内容。它具有开发所需的一切。
  • It is widely used on .NET related projects (though you can use it for other things). 它广泛用于.NET相关项目(尽管你可以将它用于其他事情)。 The community version is free, but if you want to make most of it then it is not free. 社区版本是免费的,但如果你想完成大部分版本,那么它就不是免费的。
  • Visual Studio is aimed to be the world's best IDE (integrated development environment), which provide full stack develop toolsets, including a powerful code completion component called IntelliSense, a debugger which can debug both source code and machine code, everything about ASP.NET development, and something about SQL development. Visual Studio旨在成为世界上最好的IDE(集成开发环境),它提供完整的堆栈开发工具集,包括一个名为IntelliSense的强大代码完成组件,一个可以调试源代码和机器代码的调试器,关于ASP.NET开发的所有内容关于SQL开发的一些事情。

  • In the latest version of Visual Studio, you can develop cross-platform application without leaving the IDE. 在最新版本的Visual Studio中,您无需离开IDE即可开发跨平台应用程序。 And Visual Studio takes more than 8 GB disk space (according to the components you select). Visual Studio占用的磁盘空间超过8 GB(根据您选择的组件)。

  • In brief, Visual Studio is an ultimate development environment, and it's quite heavy. 简而言之,Visual Studio是一个终极开发环境,它非常繁重。

Reference: https://www.quora.com/What-is-the-difference-between-Visual-Studio-and-Visual-Studio-Code 参考: https //www.quora.com/What-is-the-difference-between-Visual-Studio-and-Visual-Studio-Code


#6楼

Visual Studio Code与命令提示符/终端集成,因此当需要在IDE和终端/命令提示符之间切换时,它将非常方便,例如:连接到Linux。

你可能感兴趣的:(visual-studio)