Common sublime configurations and sublime configurations
The sexy appearance, smooth operations, and advanced coding efficiency of sublime text have become a favorite of programmers. Record some common skills.
To enable the automatic prompt, just add the following statement to the configuration file.
"Auto_complete_selector": "source, text"
Set default font size
"Font_size": 19
Enable or disable the row number. However, no one will close the row number (^_^ !) :
Line_numbers: true (false)
Default tab indent length:
Tab_size: 4
Whether to fold rows automatically or not. I think this is very important. Generally, it is more intuitive to look at the rows without being folded, or to look at my habits.
"Word_wrap": false
Automatic matching of single double quotation marks is also a matter of personal interests. Some people are used to auto-completion, while others are used to completing themselves:
Auto_match_enabled: true
Shortcut Key
Uncomment:
Ctrl +/
Quick jump
Ctrl + g may conflict when using qq, but we can use ctrl + p and then: line to jump to the specified line number.
Search for the function ctrl + r or ctrl + p and then @
Ctrl + L select the entire line (Press and hold-continue to select downstream)
Ctrl + KK Delete from cursor to end of line
Ctrl + Shift + K Delete the entire row
Ctrl + Shift + D copy the entire row where the cursor is located and insert it before this row
Ctrl + J merge rows (multiple rows to be merged have been selected)
Ctrl + KU to uppercase
Ctrl + KL to lowercase
Ctrl + D (Press and hold-continue to select the next same string)
Ctrl + M move the cursor to the start or end position in parentheses
Ctrl + Shift + M select the content in the brackets (Press and hold-continue to select the parent bracket)
Ctrl +/comment out the entire line (if the selected content is used, the effect is the same as that of "Ctrl + Shift +)
Ctrl + Shift +/comment on selected content
Ctrl + Z undo
Ctrl + Y resume undo
Ctrl + M jump to the corresponding parentheses
Alt +. Close the current tag
Ctrl + Shift + A select the cursor position parent tag
Ctrl + Shift + [collapse code
Ctrl + Shift +] Show Code
Ctrl + KT fold Property
Ctrl + K0 show all
Ctrl + U soft undo
Ctrl + T word Interchange
Tab indent automatically completed
Shift + Tab remove indentation
Ctrl + Shift + swap and uplink swap
Ctrl + Shift + swap and downstream
Ctrl + K Backspace Delete from cursor to first line
Ctrl + Enter insert row after cursor
Ctrl + Shift + Enter insert row before cursor
Common plug-ins: emmet, jsformate, jquery, codeintel, and utf8 convert.
An error occurred while running the java program in Sublime Text 2.
Environment variables are not configured,
After various configurations, restart Sublime Text 2.
Sublime text: c \ c ++ Development Environment configuration method on win7 System
See sublime text 2 configure c \ c ++ development environment:
Www.cnblogs.com/..8.html