Recently found in the park you use ST3 (Sublime text 3) tool for Python learning. Then he followed suit.
1.ST3:
Http://www.sublimetext.com/3
2. Install the sublime Text Build 3114 Setup.exe application.
The advantages of 3.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.
- Click here to get the code for installation from Sublime Text 3 official. Click View > Show console or the command "Ctrl + key combination" to bring up the ST3 console. Paste the code just now in the console and click Enter . Finally restart the ST3.
- You can now install additional plugins by using the shortcut key cmd+shift+p to open the package Control. Enter install and you'll see the package control:install on the screen, click Enter and search for the plugin you want (like Anaconda)
- Some other related commands are as follows:
- List Packages displays all installed plugins
- Remove Packages removes a specified plug-in
- Upgrade package updates a specified plug-in
- Upgrade/overwrite All Packages update all installed plugins
4. Installing the Anaconda Plugin
Click on the new package Control, enter install
Go to the installation screen, install and then enter Anaconda in the new Window command line and click on the first option to install. The messages document is displayed when the installation is complete.
5. After installing the Anaconda plugin, you will see the following options bar, indicating that the Anaconda installation was successful.
6. 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 to search for "Python_interpreter" key,
and type the disk location of the Python main program.
7. Select the Settings-users option and type the JSON data. Save, restart ST3.
8. Next, you will find that ST3 writes Python code with hints.
The 9.Anaconda plugin also has a lot of features, and here's a little bit more about it:
- Goto Definitions can find and display the definition of any variable, function or class in your entire project.
- Find Usage can quickly find a variable, where a function or class is used in a particular file.
- Show Documentation: the ability to display a descriptive string of a function or class (of course, in the case of a string defined)
10. If you want the shortcut keys to bring up these functions, you can define the shortcut keys yourself.
Open option: Preferences, package setting->anaconda->key Bulidings-default
{
"Command": "Anaconda_goto", "Keys": ["Ctrl+alt+g"], "context": [
{"Key": "selector", "operator": "Equal", "operand": "Source.python"}
]},
Sublime Text3 to build Python IDE Environment--anaconda plugin Chapter