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

The method of installing plug-ins in sublime

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

Share

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

This article mainly introduces the method of installing plug-ins in sublime, which has certain reference value and can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.

Sublime is a lightweight editor with powerful functions and easy to install plug-ins. However, as a novice, I don't know how to install plug-ins at first. Here are two methods summarized by the sublime tutorial column:

Install through package control.

Newly installed sublime does not have this option. Follow these steps to install the package control tool.

1. Take sublime text3 as an example, open the editor, Ctrl+ `(the key to the left of 1), call up the command line, and paste the following code:

Import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path (); urllib.request.install_opener (urllib.request.build_opener (urllib.request.ProxyHandler (); open (os.path.join (ipp, pf),' wb') .write (urllib.request.urlopen ('http://sublime.wbond.net/' + pf.replace ('','% 20')). Read ())

Sublime text2

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')

Enter and restart the editor.

2. Open package control (shortcut key Ctrl+shift+p)

Enter install Package and select install Package

Then type the plug-in you want to install and install it.

Download the plug-in package directly

Download the package package and copy it directly to package.

Thank you for reading this article carefully. I hope it will be helpful for everyone to share the method and content of sublime plug-in installation. At the same time, I also hope that you will support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!

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