ArticleDirectory
I. Preface
Ii. Functions
Iii. Settings
Iv. Expansion
V. Conclusion
I. Preface
As a front-end, it is essential to have a good development tool. editplus and notepad ++ are both good tools, lightweight and fast to start (DW is too swollen ). Recently, another new editor was born, sweeping the front-end industry and attracting countless preferences. Many front-end er abandoned their "partners" that have been used for several years ", into her arms-
Preparatory work:PHP is installed correctly on your computer.1. Set the user variable, Windows PHP environment variable, the value of the PATH variable2. Add the following code to the new compilation system, sublime text 2, tools--build system:{"cmd": ["PHP", "$file"], "File_regex": "^ (... *):( [0-9]*):? ([0-9]*) "," selector ":" Source.php "}Save to system defa
Sublime jump
ctrl+PGoto anything is not a virtual Name:
Usectrl+PYou can quickly jump to any file in the current project and perform keyword matching.
Usectrl+PAfter@(Orctrl+R) To quickly list/jump to a function.
Usectrl+PAfter#You can search in the current file.
Usectrl+PAfter:(OrCtrl+G) With numbers, you can jump to the corresponding row.
What's cool is that you can usectrl+PAdd some keywords to jump to a file and add@To list/jump to a functio
Lucasfais summed up some very useful Sublime Text 2 shortcut keys, Lucifr translated them into Chinese for easy reference.Note: A modifier key (such as?) followed by multiple keys indicates that the key is pressed in turn while holding down the modifier key.Open/Go to
? T
Go to File
?? P
Go to Project
? R
1. Download Ctags58.zip, unzip the Ctags.exe into the path, take the author as an example, put it directly under the%SystemRoot%\System32 path, and then through the command line test as follows:2. Call the Sublime Text 2 package Manager to install the Ctags plugin:3. In the project directory, run "ctags-r-F. tags–field
How to open a file in the original windowSpecific settings: Preferences---Settings–default search Open_files_in_new_window, change its true to False, restart the sublime text 2 is OK. But bloggers do not recommend this, preferably in preferences-settings–user under a new "Open_files_in_new_window": false is OKHow to open a folder in the original windowYou need to
Problem: Win7 under Python under Sublime Text 2 using Ctrl + B, the interface does not appear, but Cmd runs correctly.
It's OK to start at the beginning, I can't find it today. A full installation is not possible, and then some data have been found that may be resolved:
Add "Shell" under $sublimetext_dir/data/packages/python/python.sublime-build: "True"
Then
When compiling a Python file with sublime text 2, the console will error if print is printed in Chinese:[Decode error-output not Utf-8]Solution SolutionsAs follows:Open the sublime text 2 first option, browse the plugin, go to the
Zhanhailiang Date: 2014-09-301. Download the TortoiseSVN and install it in the default location ;2. Use the sublime Package Manager to download and install TortoiseSVN Plugin, and note the following when installing the packages control Messages:If TortoiseSVN isn't installed at ' C:\\Program Files\\tortoisesvn\\bin\\tortoiseproc.exe ', specify The correct path by setting property "Tortoiseproc_path" in your
Installing CtagsDownload the Ctags program and put it under directory d:/ctags/Installing the Ctags Plugin1. Open Sublime Text2. Preferences->package Control->install Package->ctags3. Configuring the Ctags Plugin4. Preferences->package Settings->ctags->settings–user, copy the following configuration{ "command": "d:/ctags/ctags.exe"}5. In the project generated CTags index, in the left project directory, Ctags:rebuild Tags, and then on the function n
Press CTRL + ' recallconsole
Paste the following code into the bottom command line and enter:
import urllib2,os;pf=‘Package Control.sublime-package‘;ipp=sublime.installed_packages_path();os.makedirs(ipp) if not os.path.exists(ipp) else None;open(os.path.join(ipp,pf),‘wb‘).write(urllib2.urlopen(‘http://sublime.wbond.net/‘+pf.replace(‘ ‘,‘%20‘)).read())
Restart Sublime Text
Open/Go to:? TGo to File?? PGo to Project? RGo to Method?? PCommand prompt? GGo to Line? `Python Console———————Edit:? LSelect a row (Repeat press to add the next line to the selection)? DSelect words (multiple edits with multiple selections of the same word repeatedly pressed)?? MSelect the contents in parentheses???Insert a new row before the current row??Insert a new row after the current row?? KDelete Row? KKRemove from cursor to end of line? K?Remove from cursor to beginning of line?? DCopy
A text editor with an extremely beautiful Mac Style,
What matters is not beauty, but functionality, details, and ease of use,
Although it is a paid software, you don't need to buy it all the time, just occasionally remind you to buy it.
It is strongly recommended to use one. Try it!
Reference several blogs:Sublime Configuration Overview
Http://cloudbbs.org/forum.php? MoD = viewthread tid = 3620.[Video] sub
How easy is sublime text? I have introduced and recommended it a long time ago. The latest registration method is as follows.
Download the latest official website
Http://www.sublimetext.com/2
1. Copy sublime_text.exe and rename it sublime_text_cracked.exe.2. Use sublime text
(Transferred from Http://www.jb51.net/softjc/178401.html)Download this plugin package https://github.com/jdc0589/JsFormat here and download the zip in the bottom corner of the oil.The plug-in package is placed in the Data\packages directory of the sublime installation directoryRe-open sublime to use JS format pluginHow to use:1. Shortcut key: ctrl+alt+f2, first use the shortcut key to open the command panel
Download this plugin package https://github.com/jdc0589/JsFormat here and download the zip in the bottom corner of the oil.The plug-in package is placed in the Data\packages directory of the sublime installation directoryRe-open sublime to use JS format pluginHow to use:1. Shortcut key: ctrl+alt+f2, first use the shortcut key to open the command panel "CTRL + SHIFT + P", and then enter "Format:javascript" c
Someone in the group said that there was a new editor sublime text 2, which was very good. So I downloaded it and tried it. I found it not supported.(Chinese) I heard about the plug-ins to be installed. No matter what plug-ins, I don't plan to use them, but... I opened one of mySource codeC file, suddenly found a small error, UseAfter st2 was modified, CTRL + S s
Sublime Text is a powerful code editing tool, today found a change the theme of the tips, to share to the small friends:Generate Custom Color address: Http://tmtheme-editor.herokuapp.com/#/theme/Monokai (Chrome online generation only)Custom Color Interface:650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/56/C3/wKioL1SNWHiQFfSAAAX0m9h9saw035.jpg "title=" 2014-12-14_172633.png "alt=" Wkiol1snwhiqffs
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.