MrIgor
Sublime Text 3 plugin for mr.igor.
Details
Installs
- Total 63
- Win 0
- Mac 48
- Linux 15
Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Sublime Text 3 plugin for mr.igor
MrIgor is a Sublime Text 3 plugin for mr.igor.
mr.igor is an extension to pyflakes (a static code analysis tool for Python), that will learn where you import things from, and then automatically fill in missing imports from the place they are most often imported.
Prerequisits
Install mr.igor on your system:
$ pip install mr.igor
If you decide to install mr.igor in a different location (e.g. in a virtual environment), you have to tell the plugin where to find the igor bin file by selecting "Preferences" -> "Settings - User" in your Sublime Text menu and then add a line with the path to mr.igor, e.g.:
{ "mrigor_path": "/home/timo/mrigor/bin/igor", }
Installation
Using Package Control
- Open Sublime Text Command Pallete and type "install" with no quotes
- Select "Install Package" from the dropdown box
- Type "MrIgor" with no quotes, select it and press <ENTER>
Using git
Go to your Sublime Text 3 packages directory and clone the repo:
git clone https://github.com/tisto/MrIgor
Usage
If you save a Python file in Sublime Text, "igor --reap" will be run to reap the contents of the file (adding the imports of that file to mr.igor's database).
Use CMD+SHIFT+I to run the current file through mr.igor to add missing imports.
Credits
mr.igor has been written by David Glick.
This package is based on the Sublime Text 2 'SublimeTextIgorPlugin' by Martin Aspeli (https://github.com/optilude/SublimeTextIgorPlugin).