Home  >  Article  >  Development Tools  >  Compare sublime and vscode

Compare sublime and vscode

藏色散人
藏色散人forward
2020-09-04 13:54:364272browse

The following is a tutorial column of sublime to compare sublime and vscode. I hope it will be helpful to friends in need!

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

  1. Mainstream front-end development editor
  2. Small size, fast operation, fast startup
  3. Powerful text function
  4. Supports compilation, and the output can be seen on the console
  5. A large number of plug-ins can be installed to meet customized needs (ctrl shift p, ip, search for plug-in installation)
  6. Lightweight, use small projects

Disadvantages of sublime:

  1. Paid closed source, slow bug fixing time
  2. When installing a plug-in, there is only a list of plug-ins and a simple description is displayed. Plug-in configuration is inconvenient. Many plug-ins sublime2 and sublime3 are incompatible.

vscode advantages:

  1. Free, the most important thing is no money.
  2. 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 to plug-ins.
  3. Low memory usage, startup speed, and opening speed are relatively fast
  4. Full platform, with built-in strong support for JavaScript, TypeScript and Node.js, C, C#, Python, PHP and other languages

vscode Disadvantages:

  1. Not stable enough
  2. 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 commonly used Plug-in installation

View--Extensions (or shortcut key ctrl shift .

  1. HTML Snippets, prompts basic h5 code snippets, tags, etc.
  2. HTML CSS Support, let the html tag be written with class, and intelligently prompt the styles supported by the current project.
  3. view in browsers, ctrl f1 in the default browser, run the current html
  4. vscode-icon, add the corresponding icon to the vscode folder directory. (If it does not take effect, reselect the setting in [File-Preferences-File Icon Theme])
  5. path intellisense, the file path is automatically completed.
  6. npm intellisense, require reference package completion
  7. bracket pair colorizer, let the brackets have independent colors
  8. auto rename tag, modify the tag to close
  9. vetur, vue plug-in, syntax highlighting, intelligent perception, emmet
  10. tortoiseSvn, svn plug-in
  11. auto close tag, automatically add html and xml closing tags
  12. beautify, formatting code
  13. change-case, modify more explicit formats of text, camel case naming, underscore split naming, etc.
  14. chinese(Simplified)Language Pack for Visual Studio, students who are not used to English in vscode can download and install this, Chinese Simplified Language Pack
  15. color info, hover the cursor over the color to preview the detailed information of the color model in the color block,
  16. css peek, trace to the place where the css class and id are defined in the style sheet. In the right-click menu of the html file, when clicking the selector, select "go to definition" and it will jump to the css style code segment
  17. debugger for chrome, front-end debugging
  18. eslint, check syntax errors in js programming
  19. html boilerplate, html template plug-in, create html files with one click
  20. htmlHint, html code format detection
  21. image preview, the mouse is on the image path to display the image preview
  22. intelliSense for CSS class names in HTML, put the names in the css files in the project and intelligently prompt them in html
  23. JavaScript (ES6) code snippets, es6 code snippet tips


The above is the detailed content of 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