Home  >  Article  >  Development Tools  >  Let's compare sublime and vscode?

Let's compare sublime and vscode?

藏色散人
藏色散人forward
2020-12-03 14:23:185082browse

The following tutorial column will give you a comparison between sublime and vscode in the sublime tutorial column. I hope it will be helpful to friends in need!

Let's compare sublime and vscode?

The reason is that I installed eslint to automatically check and complete the code. I installed n plug-ins and still got an error. In addition, the original cracked version of sublime recently opened a pop-up. box prompt. So, with the help of my friends, I tried vscode and my experience was perfect.

1. Comparison between sublime and vscode

Advantages of sublime

  • Mainstream front-end development editor

  • Volume Small, fast running, fast startup

  • Powerful text function

  • Supports compilation, and the output can be seen on the console

  • A large number of plug-ins can be installed to meet customized needs (ctrl shift p, ip, search plug-in installation)

  • Lightweight, use small projects

Disadvantages of sublime:

  • Paid closed source, slow bug fixing time

  • When installing the plug-in, only Plug-in list, showing a simple description, plug-in configuration is inconvenient, many plug-ins sublime2 and sublime3 are incompatible

vscode advantages:

  • Free, The most important thing is no money.

  • There are many plug-ins. Recently, vscode has been developing rapidly. It is convenient and simple to install plug-ins. There is a detailed introduction of plug-ins.

  • It takes up low memory and has a startup speed. The opening speed is relatively fast

  • Full platform, with built-in strong support for JavaScript, TypeScript and Node.js, C, C#, Python, PHP and other languages

Disadvantages of vscode:

  • Not stable enough

  • The startup speed and opening speed are not as fast as sublime, so it is more suitable for large projects.

2. vscode installation

Official website download, install directly

https://code.visualstudio.com/

3 , vscode common plug-in installation

View--Extension (or shortcut key ctrl shift x), enter the plug-in you want to install in the input box, select a plug-in, click, the detailed information of the plug-in will be displayed on the right, click to install That's it.

HTML Snippets,提示初级的h5代码片段,标签等
HTML CSS Support,让html标签写上class,智能提示当前项目所支持的样式。
view in browers,ctrl+f1在默认浏览器中,运行当前的html
 vscode-icon,让vscode的文件夹目录添加上对应的图标。(如果不生效,在【文件-首选项-文件图标主题】重新选择设置)
path intellisense,文件路径自动补齐。
npm intellisense,require引用包的补齐
bracket pair colorizer,让括号有独立的颜色
auto rename tag ,修改标签闭合
vetur,vue插件,语法高亮、智能感知、emmet
tortoiseSvn,svn插件
auto close tag,自动添加html、xml关闭标签
beautify,格式化代码
change-case,修改文本的更多明明格式,驼峰命名,下划线分割命名等等
chinese(Simplified)Language Pack for Visual Studio,vscode看不习惯英文的同学,可以下载安装这个,中文简体语言包
color info,在颜色上悬停光标,就可以预览色块中色彩模型的详细信息、
css peek,追踪至样式表中css类和id定义的地方。在html文件右键菜单,单击选择器时,选择“go to definition ”,会跳转到css样式代码段
debugger for chrome,前端调试
eslint,检查js编程中的语法错误
html boilerplate,html模板插件,一键创建html文件
htmlHint,html代码格式检测
image preview,鼠标防在image路劲上,显示图像预览
intelliSense for CSS class names in HTML,把项目中css文件里的名称,智能提示在html中
JavaScript (ES6) code snippets ,es6代码片段提示


The above is the detailed content of Let's compare sublime and vscode?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete