Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure SublimeText2

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article is to share with you about how to configure SublimeText2. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.

1. Install Sublime Package Control.

Open the console with Ctrl+~ (View-> show Console) on Sublime Text 2 and enter the following code in it, and 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')

two。 Chinese garbled code. Restart Sublime Text 2, then use Ctrl+Shift+P to open the command line mode and type Install Package in it to search for the Package you need. Generally, Chinese garbled can be solved by using "ConvertToUTF8" and "GBK Encoding Support".

3. The Chinese input box follows the cursor. Install the IMESupport plug-in to solve the problem.

4. The open file is shown on the left. Just use the sublimetext-defaultplus-theme theme.

Thank you for reading! About how to configure SublimeText2 to share here, I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report