Commit Graph
13 Commits
Author SHA1 Message Date
Mikhail Golubev 471ab5b5c3 PY-22422 Consider new code style settings in actions that might create/update "from" imports
In particular, in "Import ..." quickfix, smart completion for class
names and in a few refactorings.
2017-03-06 17:15:58 +03:00
Mikhail Golubev 33012c4c70 PY-19836 When sorting imports by names use their aliases as tiebreaker
It's necessary for the rare case when the same definition, module or
package is imported multiple times with different aliases or both
with and without alias.
2016-06-15 20:46:01 +03:00
Ekaterina Tuzova 186b9e7085 PY-18098 Import "numpy" doesn't have effect
ignore same-named modules imported with "asName"
2016-05-16 15:25:53 +03:00
Mikhail Golubev 9980146d79 PY-16373 Return accidentally removed "locally" suffix from the name of local auto import quickfix 2015-07-13 22:00:21 +03:00
Mikhail Golubev 4237819376 PY-14765 Two "from imports" with the same source module are ordered by the first imported name
Additionally star imports always come first
2015-06-22 17:33:57 +03:00
Mikhail Golubev 99cb935d2c PY-14765 Quickfix "Add import" handles import groups on its own without PyImportOptimizer 2015-06-22 17:33:56 +03:00
Mikhail Golubev f71d87d428 PY-15701 Allow to specify minimum number of blank lines after local imports
Add new option "After local imports" on "Blank lines" tab of Python
code style settings.
2015-06-17 21:00:44 +03:00
Mikhail Golubev d6ce01047e PY-13668 Fix anchor element for local import insertion 2014-08-11 16:01:36 +04:00
Mikhail Golubev 7576d369b4 PY-6020 Implement feature of auto import inside functions 2014-08-07 20:09:35 +04:00
Dmitry Trofimov 2142a55750 Fixed test data to satisfy PEP8. 2014-01-23 12:09:02 +01:00
Dmitry Jemerov 0b9c257ad2 add import element before end-of-line comment (PY-8034) 2013-02-05 21:35:34 +01:00
Dmitry Jemerov 6ec35c62e9 use smarter, higher-level API for adding import elements to an import statement (PY-7400) 2012-08-31 18:38:48 +02:00
Dmitry Jemerov fbb0e60660 Add Import chooses location to add import statement according to PEP-8 (part of PY-482) 2010-11-24 18:37:22 +03:00