本文翻译自:What are the differences between Visual Studio Code and Visual Studio?
微软最近发布了Visual Studio Code ,我对它的使用有点困惑,因为Visual Studio在功能上与它有很多相似之处。
参考:https://stackoom.com/question/245bO/Visual-Studio-Code和Visual-Studio有什么区别
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可能仍然是首选。
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. 每个操作系统都有一个单独的教程。
与之前的答案相辅相成,两者之间的一个重大区别是Visual Studio Code带有一个所谓的“便携式”版本,它不需要在Windows上运行的完全管理权限,并且可以放在可移动驱动器中以方便使用。
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已分为两部分:
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代码:
Visual Studio: 视觉工作室:
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
Visual Studio Code与命令提示符/终端集成,因此当需要在IDE和终端/命令提示符之间切换时,它将非常方便,例如:连接到Linux。