[PHP sharing] Sublime Text 2 integrates TortoiseSVN plug-in and sublimetortoisesvn
Author: zhanhailiang Date:
1. Download TortoiseSVN and install it onDefault location;
2. Use the Sublime Package Manager to download and installTortoiseSVN PluginAfter installation, read Package Control Messages.Note the following::
IfTortoiseSVNIs not installed'C: \ Program Files \ TortoiseSVN \ bin \ TortoiseProc.exe', Specify the correct path by setting property"Tortoiseproc_path"In yourTortoiseSVN. sublime-settings file.
If your TortoiseProc.exe path is not the default, please modify the path by selecting"Preferences → Package Settings → TortoiseSVN → Settings-User"In the menu.
The default setting is:
{ // Auto close update dialog when no errors, conflicts and merges "autoCloseUpdateDialog": false, "tortoiseproc_path": "C:\\Program Files\\TortoiseSVN\\bin\\TortoiseProc.exe"}
3. Shortcut Key description:
- [Alt + c]: Commit current file.
- [Alt + u]: Update current file.
- [Alt + r]: Revert current file.
You can also right-click the Folders → Folder | file menu on the sidebar to perform SVN operations (You can also call TortoiseSVN commands when right-clicking folders or files in the side bar .):
Sublime text 2 ctrl + B How does one change the PHP file path to the URL localhost path?
You need to configure the local server to run the PHP File
Go to the next wamp package (including the php apache server software Mysql database)
Install a Package Control on sublime (you can search for the sublime plug-in) and find the php plug-in.
Sublime text 2 plug-in
In fact, you don't need to restart. You only need to know the shortcut keys for this plug-in function.
Menu Bar → Preferences → Browse Packages open the sublime plug-in directory and find a Default (Windows) in the Clipboard History folder ). drag the sublime-keymap file to sublime to open it and define these shortcut keys. Press the corresponding shortcut key to display the clipboard. Hope to help you.