Home > Development Tools > sublime > body text

Some configurations of SublimeText2

藏色散人
Release: 2019-09-18 14:39:38
forward
2628 people have browsed it

SublimeText2 is a code editor that supports HTML written by programmer Jon Skinner. The following column sublime tutorial will introduce you to some configurations about SublimeText2. I hope it will help you if you need it. Friends help!

Some configurations of SublimeText2

1. Install Sublime Package Control.

Use Ctrl ~ (View->show Console) on Sublime Text 2 to open the console and enter the following code in it. Sublime Text 2 will automatically install Package Control.

import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print('Please restart Sublime Text to finish installation')
Copy after login

2. Chinese garbled characters. Restart Sublime Text 2, then use Ctrl Shift P to open the command line mode, enter Install Package in it to search for the required Package. Generally, using "ConvertToUTF8" and "GBK Encoding Support" can solve Chinese garbled characters.

3. The Chinese input box follows the cursor. Installing the IMESupport plug-in can solve the problem.

4. The open files are displayed on the left. Just use the sublimetext-defaultplus-theme theme.

The above is the detailed content of Some configurations of SublimeText2. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:segmentfault.com
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!