search
HomeDevelopment ToolsatomRecommended commonly used plug-ins for atom (vue syntax highlighting)

Recommended commonly used plug-ins for atom (vue syntax highlighting)

Related recommendations: atom (video tutorial)

The use of atom was also an accident, and I have been using it before Sublime, I am quite familiar with some quick uses of sublime. I changed to a company, and the company was all using atom. Just follow the Romans and switch to atom.

I found that atom is still very good. It is very similar to sublime. Many packages are very complete. You can take a look at some specific introductions by yourself.

Now let me tell you some commonly used plug-ins:

(If the plug-in is installed and the configuration has been completed, But it did not achieve the desired effect, just exit and reopen)

Tips: Sometimes the installation will fail, then change your mind:

1. Find C: /Users/your username/.atom/packages/ folder

2. Use gitbash in the .atom packages directory

3.git clone xxxxx/atom-beautify.git ( The address of the plug-in on github)

3.cd .atom-beautify (enter the directory of the downloaded plug-in)

4.npm install

5. Complete (don’t forget Restart atom)

Before introducing the plug-in, let’s talk about the location where the plug-in is installed: Packages > Settings View > Install Packages/Themes

1.Sync Settings

Use it with github to synchronize your atom plug-in information and configuration information, allowing you to easily configure one computer and share it with multiple computers.

2. Emmet

can generate HTML based on Emmet syntax. Anyone who has done front-end development will know this plug-in. It's so useful that I cry.

3.Atom Beautify

The code formatting tool can be set to automatically format when saving, not to mention how convenient it is. Supports html, css, javascript, java, go, etc. Basically all common languages ​​are supported.

Configuration:

Select the language you want to configure, I chose vue

4.Autocomplete Paths

Automatically complete file paths. You must use this function to completely avoid bugs caused by incorrect path input.

5.Auto close HTML

Automatically enter the corresponding HTML closing tag, which is simple but practical.

6.Minimap

No need to introduce this plug-in. I have been using it since sublime. Never forgotten.

7.color-picker

Color picker allows you to directly open the color picker and pick colors while writing code.

8.vim-mode

A must-have plug-in for die-hard vim fans.

9.git-plus

allows you to easily manage your git projects in the editor, with various common git functions at your fingertips.

10.file-icons

It’s very simple. It adds a beautiful small icon to different types of files, a must-have for beauty control developers.

11.docblockr

Documentation comments, you know, a necessary plug-in for team collaboration specification comments.

12.Linter Jshint

helps you write professional js code, a must-have plug-in for js developers.

It is recommended to install these, and others according to personal needs.

It’s all installed, react development, code highlighting is no problem at all, there are pictures to prove it

But vue Well, I tried it, it was all gray, without a trace of color, I burst into tears, I tried to find a solution,

INSTALLATION

The installation was completed, perfect, I looked at the code again, I burst into tears again. , only the tags are highlighted, but the syntax is still gray.

This is not what I want. What I want is that the syntax should also be highlighted.

Continue to implement vue syntax highlighting

1. Select

File》User Keymap》keymap.cson file (File》KeyMap...> keymap.cson )

2. Add (Note: If there is already 'atom-text-editor[data-grammar~="vue"]:not( in the configuration file [mini])':'s other configurations, then add 'tab': 'emmet:expand-abbreviation-with-tab'# directly below the other configurations ##, instead of adding the following two lines directly, otherwise an error will be reported)

'atom-text-editor[data-grammar~="vue"]:not([mini])':

'tab': 'emmet:expand-abbreviation-with-tab'

As shown in the picture:

Quit atom again and start it again. The effect we want is here, which is basically the same as sublime

Finally, for students who are not good at English and want a Chinese version, just use the plug-in as shown below:

Finally, as a digression, atom can be discarded Now, vsCode can be listed as the first choice.

For more programming related knowledge, please visit: Programming Video! !

The above is the detailed content of Recommended commonly used plug-ins for atom (vue syntax highlighting). For more information, please follow other related articles on the PHP Chinese website!

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool