Sublime Text 3 plugin that helps with Python imports. It scans the open folders for imports that were used previously and uses them to write the correct import. Please note that the plugin is just a prototype at this stage.
-
Select the class or function you wish to import (e.g. UserPhoto) and either right-click "Add import" or use the keybinding Cmd+Shift+I.
- Open your terminal. At first you'll have to install
ack
.
- For Mac users:
$ brew install ack
- For Debian/Ubuntu users:
$ sudo apt-get install ack
- Clone the repository to the Sublime Text Packages folder.
$ cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
$ git clone https://github.com/fastmonkeys/betterimportpackages BetterImportPackages