Subline Text 3 builds a python development environment

Source: Internet
Author: User
Tags sublime text

One, download subline text 3

Official website:HTTP://WWW.SUBLIMETEXT.COM/3

The installation process is slightly

Second, generate the package Control interface

The advantages of ST3 's tools are lightweight, simple tools. So sometimes you need to rely on some plugins. To extend the functionality of Sublime text with a multitude of plugins, you need to install a plug-in manager called Package control -something you have to install manually. But once you've installed it, you can use the package Control to install, remove, or upgrade all of the ST3 plugins.

2.1 Shortcut key:Ctrl + ' Open command line

2.2 Input

ImportUrllib.request,os,hashlib; h ='eb2297e1a458f27d836c04bb0cbaf282'+'d0e7a3098092775ccb37ca9d6b2e4b7d'; PF ='Package Control.sublime-package'; IPP = Sublime.installed_packages_path (); Urllib.request.install_opener (Urllib.request.build_opener (Urllib.request.ProxyHandler ())); by = Urllib.request.urlopen ('http://packagecontrol.io/'+ Pf.replace (' ','%20'). read (); DH = hashlib.sha256 (by). Hexdigest ();Print('Error validating download (got%s instead of%s), please try manual install'% (DH, h))ifDH! = hElseOpen (Os.path.join (IPP, PF),'WB'). Write (by)

2.3 If clicking perference appears, the package Control option succeeds or the installation fails.

Three, configuration package

Click on the new package Control , enter install

Enter the installation interface: I install two plugins myself:

1.SideBarEnhancements = Sidebar Management

2.Anaconda (the strongest Python IDE plugin)

Four, if the package Control can not be installed, you can directly in the Subline Text 3 under the Packages folder to extract the downloaded packets to the directory

Anaconda:http://damnwidget.github.io/anaconda/

Try to use GitHub's package, where the packages are up-to-date and include the ability to go to the definition, here are some common features, such as auto-completion, go To definition, grammar check, etc.

Because the Anaconda plugin itself cannot know the path of the Python installation, the actual location of the Python main program needs to be set. Select the Settings-default option, search for "python_interpreter" key, and type the disk location of the Python main program.

Select the Settings-users option and type the following JSON data. Save, restart ST3.

Subline Text 3 builds a python development environment

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.