Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Latest commit

 

History

History
37 lines (22 loc) · 745 Bytes

README.rst

File metadata and controls

37 lines (22 loc) · 745 Bytes

Python Import Helper

Goal

Make adding of Python import statements in Sublime easier.

Installation

  • Copy this folder to your Packages directory.

  • Add a keyboard short cut to invoke the function to your keyboard config:

    {"keys": ["super+alt+i"], "command": "add_python_import_statement"},
    

Usage

Highlight the text you want behind the import keyword and hit the keyboard short cut. The import with be added at the beginning of the file.

Open issues and ideas

  • Improve documentation
  • Make it a real sublime package
  • Upload package to
  • (Optionally) Sort imports after adding a new one
  • Do not add duplicate imports
  • Add ability for from imports