Before the sublime environment installation plug-in was a bit messy, uninstalled the reinstallation;
1. Installing SUBLIME:HTTPS://WWW.SUBLIMETEXT.COM/3
2. Registration:
-–begin License-–alexey plutalovsingle User licenseea7e-8607763dc19cc1 134cdf23 504dc871 2DE5CE55585DC8A6 253BB0D9 637C 87A2 d8d0ba85aae574ad ba7d6da9 2b9773f2 324c5def17830a4e fbcf9d1d 182406E9 f883ea87e585bba1 2538C270 E2E857C2 194283ca7234ff9e d0392f93 1d16e021 f191491763909e12 203c0169 3f08ffc8 86d06ea873ddaef0 AC559F30 A6A67947 b60104c6--end L icense--
3. Install the package controller:
Https://packagecontrol.io/installation
Command: ALT + ' input sublime 3 corresponding command
4. Installing Angularjs
CTRL+SHIFT+P--Package install--ANGULARJS
Installation
5. Installing htmlprettify
To set the command path for node
6. Browser preview:
Select Tools-build system-new Build syatem ...
Then paste the code
{
"cmd": ["Chrome", "${file}"],
"Working_dir": "${file_path}",
"Shell": true,
"Variants":
[
{
"Name": "Run",
"cmd": ["Firefox", "${file}"]
}
]
}
Save As Html.sublime-build
Replace Chrome and Firefox with the path of the browser you want, and then, when you write HTML, set the build system to HTML, and you can start Chrome by Ctrl+b Html,shift+ctrl+b start Firefox Open HTML My--
{
"cmd": ["C:\\Program Files (x86) \\Google\\Chrome\\Application\\chrome.exe", "${file}"],
"Working_dir": "${file_path}",
"Shell": true,
"Variants": [{
"Name": "Run",
"cmd": ["C:\\Program Files (x86) \\Mozilla Firefox\\firefox.exe", "${file}"]
}]
}
Ps: frequently used shortcut keys:
Hide and expand the file bar: ctrl+k,b
Code thumbnails: ctrl+shift+p Open the Command panel, type: Toggleminmap
Ctrl+d ctrl+shift+l ctrl+l Wheel Ctrl multiple selection
Find and Replace: Ctrl+f F3 (Next) shift+f3 (Previous) ctrl+h ctrl+shift+f
alt+shift+1,2,3,4 5 8 9 Multi-window development
F11 SHIFT+F11-Free development
Ctrl+p File Selection
CTRL + Ctrl-code Zoom Out
TAB Completion Code
Ctrl+shift+h HTML prettify formatting the selected code
Preview in ctrl+b Shift+ctrl+b browser
Ctrl+m cursor to start or end position within parentheses
Ctrl+shift+m Select the contents in parentheses (press and hold again to select the parent bracket)
ALT +. Close the current label
Ctrl+shift+[Folding Code
Ctrl+shift+] Unwind code
Ctrl+shift+up and Upstream Interchange
Ctrl+shift+down and Downlink Interchange
Ctrl+enter after inserting rows
Ctrl+shift+enter before inserting rows
Ctrl+j merge rows (multiple rows that need to be merged are selected)
Ctrl +KK, delete from cursor to end of line
Ctrl+shift+k Delete the entire line where the cursor is located
-=-=-=--=-=-=-=-=-=, I'm a split line.
This is my temporary use of development ANGULARJS environment, there are different ways friends can give me to add O (∩_∩) o~~
Develop Angularjs with sublime Text3