Home > Backend Development > PHP Tutorial > sublime SVN plug-in installation

sublime SVN plug-in installation

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-29 09:14:32
Original
1609 people have browsed it

Do you feel like you are busy studying and working on projects? It's a bit troublesome to always perform svn operations in folders. I just found a sumlime svn plug-in today. You can perform update operations on the right side. It saves a lot of time, isn't it?

Step one: ctrl+~ to open the console.
Step 2: If it is sublime text3, execute

<code>import urllib.request,os,hashlib; h = <span>'2deb499853c4371624f5a07e27c334aa'</span> + <span>'bf8c4e67d14fb0525ba4f89698a6d7e1'</span>; pf = <span>'Package Control.sublime-package'</span>; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); <span>by</span> = urllib.request.urlopen( <span>'http://packagecontrol.io/'</span> + pf.<span>replace</span>(<span>' '</span>, <span>'%20'</span>)).<span>read</span>(); dh = hashlib.sha256(<span>by</span>).hexdigest(); print(<span>'Error validating download (got %s instead of %s), please try manual install'</span> % (dh, h)) <span>if</span> dh != h <span>else</span><span>open</span>(os.path.join( ipp, pf), <span>'wb'</span> ).<span>write</span>(<span>by</span>)</code>
Copy after login

If it is sublime text2, execute

<code>import urllib2,os,hashlib; h = <span>'2deb499853c4371624f5a07e27c334aa'</span> + <span>'bf8c4e67d14fb0525ba4f89698a6d7e1'</span>; pf = <span>'Package Control.sublime-package'</span>; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) <span>if</span><span>not</span> os.path.exists(ipp) <span>else</span> None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler()) ); <span>by</span> = urllib2.urlopen( <span>'http://packagecontrol.io/'</span> + pf.<span>replace</span>(<span>' '</span>, <span>'%20'</span>)).<span>read</span>(); dh = hashlib.sha256(<span>by</span>).hexdigest(); <span>open</span>( os.path.join( ipp, pf), <span>'wb'</span> ).<span>write</span>(<span>by</span>) <span>if</span> dh == h <span>else</span> None; print(<span>'Error validating download (got %s instead of %s), please try manual install'</span> % (dh, h) <span>if</span> dh != h <span>else</span><span>'Please restart Sublime Text to finish installation'</span>)</code>
Copy after login

Step 3: After execution, ctrl+shift+p enter install, and then see the following display install package, execute it
Step 4: Then a box will pop up, continue to enter svn and execute.

Then a folder will pop up

sublime SVN插件安装

indicating that the installation is successful. Right-click on the folder on the right, and the svn operation options will appear.

Because it was the default path when I installed svn. Therefore, no path modification was performed. This is my installation process. The installation went smoothly. If a friend encounters problems during installation, you can leave a message to discuss together

The above introduces the sublime SVN plug-in installation, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template