PyCharm 2017.1 Help

Auto Import

File | Settings | Editor | General | Auto Import for Windows and Linux
PyCharm | Preferences | Editor | General | Auto Import for macOS
Ctrl+Alt+S
/help/img/idea/2017.1/settings.png


XML

Show import pop-upAutomatically display an import pop-up dialog box when typing the name of an unbound namespace.

TypeScript

Show import pop-upAutomatically display import pop-up dialog box when typing the name of a symbol that lacks import statement.

Python

Show import pop-upAutomatically display an import pop-up dialog box when typing the name of a class that lacks an import statement.
Preferred import styleSelect the style of import statement to be generated. The possible options are:
  • from <module> import <name>
  • import <module>.<name>

See Also

Last modified: 25 March 2017