

GitHub - Wilfred/pyimport: Manage Python imports from Emacs!
source link: https://github.com/Wilfred/pyimport
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

pyimport
Manage Python imports from Emacs!
Installation: install from MELPA, or add pyimport.el to your
load-path
.
Unused Imports
Requires pyflakes to be installed.
Run M-x pyimport-remove-unused
.
This requires pyflakes
to be on PATH
. Alternatively, set
pyimport-pyflakes-path
.
Insert Missing Imports
Place point on the missing variable, then run
M-x pyimport-insert-missing
.
This assumes that you have another Python buffer that contains an example of importing the variable.
I like to bind this to a key:
(define-key python-mode-map (kbd "C-c C-i") #'pyimport-insert-missing)
Recommend
-
173
Rust Emacs This project isn't maintained anymore. If you are looking for a rust based emacs fork, you...
-
119
Helpful Helpful is an alternative to the built-in Emacs help that provides much more contextual information.
-
140
ag.el Ag.el allows you to search using ag from inside Emacs. You can filter by file type, edit results inline, or find files. Ag.el tries very hard to be Do-What-I-Mean, and will make intelligent suggestions about what...
-
99
Imagine that you hold Control and type your name into Emacs. Can you describe what will happen? – The ‘Emacs Guru Test’ Emacs shortcuts (known as ‘key bindings’) can seem ridiculous to beginners. Some...
-
115
ht.el The missing hash table library for Emacs. Table of Contents Functions Return a hash table ht-create (test?) ht-merge
-
78
README.md elisp-def
-
88
README.md elisp-refs
-
50
README.md tco.el Tail call optimisation for Emacs lisp
-
16
It's Difftastic! Difftastic is an experimental structured diff tool that compares files based on their syntax. It is very much unfinished. It works reasonably on very parenthesised data (lisps, JSON), it works sometimes on oth...
-
16
It's Difftastic! Difftastic is an experimental structured diff tool that compares files based on their syntax. It is very much unfinished. It works reasonably on very parenthesised data (lisps, JSON), it works sometimes on oth...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK