formatting code plug mounting sublime text3

1. Plug code hints: sublimeCodeIntel

a) in Sublime Text 3, pressing Ctrl + Shift + P recall command panel;
B) Install Package Type install option and call up the carriage;
C) input sublimeCodeIntel, and select from the list after the transport sublimeCodeIntel to install

After installation is complete, restart the editor, then when you will be prompted to enter a keyword, ha ha ha!

 


2. Format Code plug-ins: HTML-CSS-JS Prettify

a) in Sublime Text 3, pressing Ctrl + Shift + P recall command panel;
; B) Install Package Type install option to call up the carriage and
c) after input pretty, and select the HTML-CSS-JS Prettify list Enter to install

Because HTML-CSS-JS Prettify dependent on nodejs environment to run, so you need to install nodejs in the environment, the problem I encountered was using HTML-CSS-JS Prettify reported a fault after nodejs installed,

As shown below:

Nodejs meaning is not found in the path settings, click OK to open the file path set nodejs

"node_path":
    {
        "windows": "C:/Program Files/nodejs/node.exe",
        "linux": "/usr/bin/node",
        "osx": "/usr/local/bin/node"
    },

Above, the machine is ubuntu system, it is not linux find the right path to the correct path, can be replaced.

 

Guess you like

Origin www.cnblogs.com/wangtong111/p/11263099.html