Sublime common shortcut keys and plugins

Source: Internet
Author: User

Sublime Text 3
Press the shortcut key CTRL +' or click Tools→command Palette to bring up the console console;
Import urllib.request,os;pf= ' package control.sublime-package '; Ipp=sublime.installed_packages_path (); Urllib.request.install_opener (Urllib.request.build_opener (Urllib.request.ProxyHandler ())); Open (Os.path.join ( IPP,PF), ' WB '). Write (Urllib.request.urlopen (' http://sublime.wbond.net/' +pf.replace (', '%20 ')). Read ())

1. Press CTRL + SHIFT + P to bring up the command panel;
2. Enter the install to bring up the package Control:install package option and enter;
Sublimetmpl change Template \sublime Text 3\data\packages\sublimetmpl\templates
Quickly generate file templates
Ctrl+alt+h html
Ctrl+alt+j JavaScript
Ctrl+alt+c CSS
Ctrl+alt+p PHP
Ctrl+alt+r Ruby
Ctrl+alt+shift+p python
Alignment
Equal sign Alignment
Better Completion
Brackethighlighter
Highlight matching brackets, quotes, and labels
Jsformat
Sidebarenhancements
Side Bar Enhancements
Tag
ConvertToUTF8
Pretty JSON
Formatting JSON
LessLess syntax highlighting
Less2css----Need python
Less save simultaneously generate CSS
Less2css plugin relies on LESSC this tool,: https://github.com/duncansmart/less.js-windows
Then add the directory address to the environment variable path, such as D:\open\less.js-windows
After setting up, the Windows logo key +r key to bring up the Run window, enter cmd, enter the LESSC on the command line, and the following prompt will indicate the successful setting.
If you do not want to compress in the dev environment, you can add by Preference--package settings--less2css--setting User:
{"Minify": false}

Theme - Flatland
   修改 Preferences 文件,通过菜单 “Preferences > Settings - User” 可打开用户配置文件,在其中添加(或修改原来的设置):

{"Theme": "Flatland dark.sublime-theme", "Color_scheme": "Packages/theme-flatland/flatland Dark.tmtheme"}

Nodejs

1. Run sublime, find tools---> Build system---> New build system on the menu

2. Copy the file into the

{"cmd": ["Node", "$file"], "File_regex": "^[]*file \" (... *) \ ", line ([0-9]*)", "selector": "Source.javascript"}

3. Save the file as Nodejs.sublime-build

4. On the menu, locate tools---> Build System---> select NodeJs

5. Install the Sublime plugin JavaScript & NodeJs Snippets

6. Create a new Test.js file and enter Console.log (' Hello node. js '); Press the shortcut key CTRL + B to run, successfully output

7. Stop the Run menu to find tools---> Stop compiling

Common shortcut keys:

Ctrl+p find files in the current project and quick search; Enter @ To find the main title/function of the file, or enter: Jump to a file line;
Ctrl+r quickly list/jump to a function

Ctrl+d Select a Word (press the shortcut key repeatedly to continue to edit the next same text at the same time)
Ctrl+g jump to the appropriate line
Ctrl+j merge rows (multiple rows that need to be merged are selected)
Ctrl+l Select Entire row (press and hold-continue to select the downstream)
Ctrl+m cursor to start or end position within parentheses
Ctrl + Shift + M Check all contents in parentheses

Ctrl+k+t Collapsing properties
Ctrl+k+u Change to uppercase
Ctrl+k+l Change to lowercase
Ctrl+k+0 Expand All


Sublime common shortcut keys and plugins

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.