Visual Studio与Visual Studio代码 [英] Visual Studio vs Visual Studio Code

查看:80
本文介绍了Visual Studio与Visual Studio代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是计算机科学专业的学生,​​正在学习成为游戏开发人员.在过去的一年中,我一直在使用Visual Studio在Unity中编辑脚本.直到最近,我的同事们才与我分享了有关Visual Studio Code的信息.我真的不知道两者之间的区别,对我来说,作为计算机科学专业的学生和游戏开发者,哪个对我更好?

I'm a Computer Science student and I'm learning to become a game developer. For the last 1 year, I've been using Visual Studio to edit my scripts in Unity. It was only recently that my colleagues shared with me about Visual Studio Code. I don't really know the differences between the two and which one is better for me as a computer science student and as a game developer?

推荐答案

Visual Studio Code是一个编辑器,而Visual Studio是IDE.Visual Studio Code是跨平台且快速的,而Visual Studio仅是Windows/Mac而并非快速.请注意,Visual Studio for Mac现在可用,但是与Visual Studio(Windows)相比,它是另一种产品.... VS Code可能还是更好.

Visual Studio Code is an editor while Visual Studio is an IDE. Visual Studio Code is cross-platform and fast, while Visual Studio is Windows/Mac only and not fast. Note that Visual Studio for Mac is available now but is a different product compared to Visual Studio (Windows). ... VS Code may still be preferable.

Visual Studio

  • IDE
  • 除免费版本外,它是付费的IDE.
  • 这在CPU上非常繁重,而在低端PC上则很落后.
  • 它主要用于Windows软件开发,包括DirectX程序,Windows API等.
  • 高级IntelliSense(有史以来最好的; Visual Studio Code的IntelliSense扩展名居第二)
  • 它具有内置调试器,易于配置的项目设置(尽管开发人员往往不使用GUI设置)
  • Microsoft支持(不仅仅是Visual Studio Code)
  • 主要用于C/C ++(Windows)、. NET和C#项目以及SQL Server,数据库等.
  • 极大的下载大小,空间利用率以及随着时间的推移速度变慢.
    • 这是唯一迫使我对较小的项目使用Visual Studio Code *的缺点*

    Visual Studio代码

    • 免费的开源文本编辑器
    • 具有IntelliSense(但是,如果未安装Visual Studio,则无法开箱即用,需要进行配置以指向MinGW等)
    • 较小的下载大小和RAM要求.使用IntelliSense,它需要大约300 MB RAM.(某些头文件倾向于将内存需求提高到7-8 GB,例如OpenGL和GLM库)
    • 它适用于低端PC.(启动仍然很慢,特别是如果使用PowerShell而不是CMD)
    • 更低的支持(开源,因此您可以自己对其进行修改)
    • 构建任务是特定于项目的.即使您想要以原始配置构建它.
    • 通常用于Web开发(这适用于所有自由文本编辑器).他们倾向于炫耀对C/C ++的JavaScript/HTML支持.Visual Studio通过其他语言展示了Visual Basic/C ++.
    • 缺少好的扩展名(尽管它仍然是新的)
    • 使您很难重新配置项目/工作区设置.我更喜欢GUI方式.
    • 跨平台
    • 具有集成终端(尽管PowerShell的启动速度太慢)
    • 最好是用于较小的项目和测试代码(您知道是否无聊并想打印"Hello,World!" ),在Visual中等待3-5分钟是没有意义的Studio会加载,然后在创建项目时再等待一两分钟,然后最终将其打印为"Hello,World!".)
    • Free open source text editor
    • Has IntelliSense (but it doesn't work out of box if Visual Studio is not installed, need to configure to point to MinGW, etc.)
    • Smaller download size and RAM requirements. With IntelliSense it requires around 300 MB RAM. (Edit : Some header files tend to blow up memory requirements to 7-8 GBs eg. OpenGL and GLM Libraries)
    • It works on lower-end PCs. (it is still slow to start up especially if PowerShell is used instead of CMD)
    • Lower support (open source, so you can modify it yourself)
    • Build tasks are project specific. Even if you want to build it in a vanilla configuration.
    • Mostly used for web development (this applies to all free text editors). They tend to show off JavaScript / HTML support over C/C++. Visual Studio shows off Visual Basic/C++ over other languages.
    • Lack of good extensions (it's still new though)
    • Gives you a hard time to reconfigure your project/workspace settings. I prefer the GUI way.
    • Cross platform
    • Has an integrated terminal (PowerShell is too slow at startup though)
    • It is best for smaller projects and test code (you know if you are bored and want to print "Hello, World!", it does not make sense to wait 3-5 minutes while Visual Studio loads up, and then another minute or 2 at project creation and then finally getting it to print "Hello, World!").

    这篇关于Visual Studio与Visual Studio代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆