idea/community.git
6 years agojava inspections: use modern ReadAction instead of variable sharing
Dmitry Batkovich [Fri, 17 Jun 2016 17:38:44 +0000 (20:38 +0300)]
java inspections: use modern ReadAction instead of variable sharing

6 years agoIDEA-157601 Can't start idea: no JDK found idea/163.274
Vladimir.Orlov [Fri, 17 Jun 2016 16:03:31 +0000 (19:03 +0300)]
IDEA-157601 Can't start idea: no JDK found

6 years agoIG: extract duplicated code into method
Bas Leijdekkers [Fri, 17 Jun 2016 15:44:43 +0000 (17:44 +0200)]
IG: extract duplicated code into method

6 years agoPY-17705 Fixed: Awkward formatting of parameter types in Quick Documentation for...
Semyon Proshev [Fri, 17 Jun 2016 10:55:51 +0000 (13:55 +0300)]
PY-17705 Fixed: Awkward formatting of parameter types in Quick Documentation for io.open()

Don't forget to cache type if it was converted to Optional

6 years agoImproving logs to catch thread leak
Ilya.Kazakevich [Fri, 17 Jun 2016 15:09:41 +0000 (18:09 +0300)]
Improving logs to catch thread leak

6 years agoRetain 'primary' caret status on merging - perform modifications in synchronized... appcode/163.273 clion/163.272
Dmitry Batrak [Fri, 17 Jun 2016 14:34:27 +0000 (17:34 +0300)]
Retain 'primary' caret status on merging - perform modifications in synchronized block

https://intellij-support.jetbrains.com/hc/en-us/community/posts/206667839-Caret-beyond-end-of-line-

6 years agocleanup (CaretModelImpl, EditorMultiCaretTest)
Dmitry Batrak [Fri, 17 Jun 2016 13:48:10 +0000 (16:48 +0300)]
cleanup (CaretModelImpl, EditorMultiCaretTest)

6 years agoRetain 'primary' caret status on merging
Dmitry Batrak [Fri, 17 Jun 2016 13:46:41 +0000 (16:46 +0300)]
Retain 'primary' caret status on merging

https://intellij-support.jetbrains.com/hc/en-us/community/posts/206667839-Caret-beyond-end-of-line-

6 years agoremove redundant equality check from duplicates finder (IDEA-CR-10852) clion/163.271
Bas Leijdekkers [Fri, 17 Jun 2016 13:12:03 +0000 (15:12 +0200)]
remove redundant equality check from duplicates finder (IDEA-CR-10852)

6 years ago IDEA-150249 Running tests via gradle does not work for base classes
Vladislav.Soroka [Fri, 17 Jun 2016 13:01:18 +0000 (16:01 +0300)]
 IDEA-150249 Running tests via gradle does not work for base classes

6 years ago[patch]: fix unified diff writer for nullable project (upsource case)
Nadya Zabrodina [Fri, 17 Jun 2016 12:40:33 +0000 (15:40 +0300)]
[patch]: fix unified diff writer for nullable project (upsource case)

6 years agoFix according to review IDEA-CR-11509: make adaptive courses more discoverable
Valentina Kiryushkina [Fri, 17 Jun 2016 12:49:24 +0000 (15:49 +0300)]
Fix according to review IDEA-CR-11509: make adaptive courses more discoverable

1) Always show public adaptive courses in combobox
2) If adaptive course is selected force user to login on Stepic
3) If user creates adaptive course and doesn't enrolled in it enroll him silently
4) Login dialogs minor ui improvements

6 years agoAdd ability to provide listener to error text label on project creation panel
Valentina Kiryushkina [Fri, 17 Jun 2016 12:26:53 +0000 (15:26 +0300)]
Add ability to provide listener to error text label on project creation panel

6 years agoMinor Fix according to review IDEA-CR-11509
Valentina Kiryushkina [Thu, 16 Jun 2016 13:03:43 +0000 (16:03 +0300)]
Minor Fix according to review IDEA-CR-11509

6 years agoFix according to review IDEA-CR-11509: stop serializing stepic user password
Valentina Kiryushkina [Thu, 16 Jun 2016 13:02:57 +0000 (16:02 +0300)]
Fix according to review IDEA-CR-11509: stop serializing stepic user password

6 years agoFix according to review IDEA-CR-11509: extract api url for stepic and stepic adaptive...
Valentina Kiryushkina [Thu, 16 Jun 2016 13:02:06 +0000 (16:02 +0300)]
Fix according to review IDEA-CR-11509: extract api url for stepic and stepic adaptive connectors

6 years agoIDEA-157592 Move text through drag'n'drop on line numbers doesn't work. It copies...
Dmitry Batrak [Fri, 17 Jun 2016 12:20:46 +0000 (15:20 +0300)]
IDEA-157592 Move text through drag'n'drop on line numbers doesn't work. It copies the text instead

6 years agoIDEA-157589 Can't start idea: tools.jar not found appcode/163.267 clion/163.269 idea/163.268 webstorm/163.270
Vladimir.Orlov [Fri, 17 Jun 2016 11:43:47 +0000 (14:43 +0300)]
IDEA-157589 Can't start idea: tools.jar not found

6 years agoAdd main IDEA icon@2x.png
Anton Tarasov [Fri, 17 Jun 2016 11:30:08 +0000 (14:30 +0300)]
Add main IDEA icon@2x.png

- The icon is needed on HiDPI when IDEA is launched via idea.bat (on UNIX another hi-res icon is used).
- Updated icon.png to match the new colors

6 years ago IDEA-157572 Gradle 3.0 exception idea/163.265 phpstorm/163.266
Vladislav.Soroka [Fri, 17 Jun 2016 10:33:15 +0000 (13:33 +0300)]
 IDEA-157572 Gradle 3.0 exception

6 years agoIDEA-157546 IDEA freeze during running inspection profile. more improvements
irengrig [Fri, 17 Jun 2016 10:27:33 +0000 (12:27 +0200)]
IDEA-157546 IDEA freeze during running inspection profile. more improvements

6 years agoSimplified version of Markdown trailing spaces filter: disable all lines, no Psi...
Rustam Vishnyakov [Fri, 17 Jun 2016 09:40:37 +0000 (12:40 +0300)]
Simplified version of Markdown trailing spaces filter: disable all lines, no Psi processing

6 years agoIDEA-157160 Access can be private false positive report idea/163.264
Alexey Kudravtsev [Fri, 17 Jun 2016 08:13:19 +0000 (11:13 +0300)]
IDEA-157160 Access can be private false positive report

6 years agodispose indicator even after exception
Alexey Kudravtsev [Fri, 17 Jun 2016 08:12:16 +0000 (11:12 +0300)]
dispose indicator even after exception

6 years agoreactivate tests
Alexey Kudravtsev [Thu, 16 Jun 2016 16:07:03 +0000 (19:07 +0300)]
reactivate tests

6 years agotolerate external compiler daemon
Alexey Kudravtsev [Thu, 16 Jun 2016 14:57:18 +0000 (17:57 +0300)]
tolerate external compiler daemon

6 years agofixed testWholeFileInspectionRestartedOnAllElements
Alexey Kudravtsev [Thu, 16 Jun 2016 13:40:39 +0000 (16:40 +0300)]
fixed testWholeFileInspectionRestartedOnAllElements

6 years agofixed testLIPGetAllParentsAfterCodeBlockModification
Alexey Kudravtsev [Thu, 16 Jun 2016 13:29:08 +0000 (16:29 +0300)]
fixed testLIPGetAllParentsAfterCodeBlockModification

6 years agofixed testLIPGetAllParentsAfterCodeBlockModification
Alexey Kudravtsev [Thu, 16 Jun 2016 13:16:38 +0000 (16:16 +0300)]
fixed testLIPGetAllParentsAfterCodeBlockModification

6 years agoIDEA-157430 Type argument highlighting blinks when typing
Alexey Kudravtsev [Thu, 16 Jun 2016 11:27:24 +0000 (14:27 +0300)]
IDEA-157430 Type argument highlighting blinks when typing

6 years ago@Nullability fixed appcode/163.261 clion/163.263 dbe/163.259 pycharm/163.260 webstorm/163.262
Anna Kozlova [Fri, 17 Jun 2016 07:46:48 +0000 (10:46 +0300)]
@Nullability fixed

6 years agocustom Deflater needs end() call to avoid native memory leak idea/163.256 rubymine/163.258 webstorm/163.255
Maxim.Mossienko [Fri, 17 Jun 2016 06:56:14 +0000 (08:56 +0200)]
custom Deflater needs end() call to avoid native memory leak

6 years agoMerge remote-tracking branch 'origin/master'
Vladimir.Orlov [Fri, 17 Jun 2016 06:48:21 +0000 (09:48 +0300)]
Merge remote-tracking branch 'origin/master'

6 years agojbrex8 instead of deprecated openjdk.1.8.
Vladimir.Orlov [Fri, 17 Jun 2016 06:42:35 +0000 (09:42 +0300)]
jbrex8 instead of deprecated openjdk.1.8.

6 years agoAllow dollar sign in urls (WEB-21997) appcode/163.242 clion/163.249 dbe/163.240 idea/163.239 idea/163.244 phpstorm/163.241 pycharm/163.248 pycharm/163.253 rubymine/163.247 webstorm/163.251 webstorm/163.252
Alexander Zolotov [Thu, 16 Jun 2016 22:39:51 +0000 (01:39 +0300)]
Allow dollar sign in urls (WEB-21997)

6 years agoIDEA-157546 IDEA freeze during running inspection profile
irengrig [Thu, 16 Jun 2016 19:57:16 +0000 (21:57 +0200)]
IDEA-157546 IDEA freeze during running inspection profile

6 years agoIDEA-152069 - During development IntelliJ IDEA should support development with WAS...
Michael Golubev [Thu, 16 Jun 2016 15:51:12 +0000 (17:51 +0200)]
IDEA-152069 - During development IntelliJ IDEA should support development with WAS Liberty from workspace - exclude artifacts from build

6 years agoEA-84110 - INRE: FileBasedIndexImpl.handleDumbMode
Gregory.Shrago [Thu, 16 Jun 2016 17:23:29 +0000 (20:23 +0300)]
EA-84110 - INRE: FileBasedIndexImpl.handleDumbMode

6 years agoTool windows initialization is isolated yet another fix
Vassiliy.Kudryashov [Thu, 16 Jun 2016 17:11:13 +0000 (20:11 +0300)]
Tool windows initialization is isolated  yet another fix

6 years agoWEB-20925 receiver variable doesn't match 'this' in arrow functions
Konstantin Ulitin [Thu, 16 Jun 2016 16:26:46 +0000 (19:26 +0300)]
WEB-20925 receiver variable doesn't match 'this' in arrow functions

6 years ago[platform] output root refresh optimization
Roman Shevchenko [Thu, 16 Jun 2016 16:18:23 +0000 (19:18 +0300)]
[platform] output root refresh optimization

6 years agoEA-77108 - IOE: ObjectTree.register
Vassiliy.Kudryashov [Thu, 16 Jun 2016 16:05:56 +0000 (19:05 +0300)]
EA-77108 - IOE: ObjectTree.register

6 years agoStore requirement install options as list of strings
Semyon Proshev [Thu, 16 Jun 2016 12:25:56 +0000 (15:25 +0300)]
Store requirement install options as list of strings

6 years agoRename regular expressions in PyRequirement to make it more readable
Semyon Proshev [Thu, 16 Jun 2016 11:58:46 +0000 (14:58 +0300)]
Rename regular expressions in PyRequirement to make it more readable

6 years ago[formatter-core] InitialInfoBuilder minor refactoring
Yaroslav Lepenkin [Thu, 16 Jun 2016 09:52:43 +0000 (12:52 +0300)]
[formatter-core] InitialInfoBuilder minor refactoring

6 years ago[formatter-core] minor, cleanup, removed unused code and unnecessary javadocs
Yaroslav Lepenkin [Thu, 16 Jun 2016 08:23:38 +0000 (11:23 +0300)]
[formatter-core] minor, cleanup, removed unused code and unnecessary javadocs

6 years ago[formatter-core] minor, fixed yellow code
Yaroslav Lepenkin [Thu, 16 Jun 2016 08:15:21 +0000 (11:15 +0300)]
[formatter-core] minor, fixed yellow code

6 years agoEA-84304 - CME: FindSuperElementsHelper.getSiblingInheritanceInfos
peter [Thu, 16 Jun 2016 15:30:10 +0000 (17:30 +0200)]
EA-84304 - CME: FindSuperElementsHelper.getSiblingInheritanceInfos

6 years agomake DumbService.runReadActionInSmartMode work in read action in dumb mode, add some...
peter [Thu, 16 Jun 2016 14:25:44 +0000 (16:25 +0200)]
make DumbService.runReadActionInSmartMode work in read action in dumb mode, add some invocations

6 years agoIDEA-151847 Freemarker: provide some more details in 'invalid Java type' message...
peter [Thu, 16 Jun 2016 12:37:55 +0000 (14:37 +0200)]
IDEA-151847 Freemarker: provide some more details in 'invalid Java type' message for @ftlvariable

6 years agoextract BrowserChromeDebugProcess — avoid browser-specific hacks in the node
Vladimir Krivosheev [Thu, 16 Jun 2016 15:03:59 +0000 (17:03 +0200)]
extract BrowserChromeDebugProcess — avoid browser-specific hacks in the node

6 years agoIDEA-157548 Gradle Run Configuration misses Log Files configuration
Vladislav.Soroka [Thu, 16 Jun 2016 15:09:42 +0000 (18:09 +0300)]
IDEA-157548 Gradle Run Configuration misses Log Files configuration

6 years agoinspection toolwindow: do not need amnesty descriptor if containing entity is amnesti... appcode/163.238 clion/163.237
Dmitry Batkovich [Thu, 16 Jun 2016 14:29:21 +0000 (17:29 +0300)]
inspection toolwindow: do not need amnesty descriptor if containing entity is amnestied (IDEA-157558)

6 years agoinspection toolwindow: offline inspection result: append node for descriptor but...
Dmitry Batkovich [Thu, 16 Jun 2016 14:22:34 +0000 (17:22 +0300)]
inspection toolwindow: offline inspection result: append node for descriptor but do not allow nothing

6 years agoFIXED WEB-22003 Function Body is Indented Wrong
Rustam Vishnyakov [Thu, 16 Jun 2016 13:38:16 +0000 (16:38 +0300)]
FIXED WEB-22003 Function Body is Indented Wrong

6 years agoadd stayClosed
Vladimir Krivosheev [Thu, 16 Jun 2016 12:05:03 +0000 (14:05 +0200)]
add stayClosed

6 years agoenable shared compiler thread by default
Vladimir Krivosheev [Thu, 16 Jun 2016 12:04:47 +0000 (14:04 +0200)]
enable shared compiler thread by default

6 years agolog if close all channels took more than 1 seconds
Vladimir Krivosheev [Thu, 16 Jun 2016 11:59:03 +0000 (13:59 +0200)]
log if close all channels took more than 1 seconds

6 years agoinspection toolwindow: offline inspection result action resolves packages/classes...
Dmitry Batkovich [Thu, 16 Jun 2016 13:21:12 +0000 (16:21 +0300)]
inspection toolwindow: offline inspection result action resolves packages/classes structure

6 years agotest discovery: pass module through system property if applicable
Anna Kozlova [Thu, 16 Jun 2016 13:19:15 +0000 (16:19 +0300)]
test discovery: pass module through system property if applicable

6 years agorestart auto tests after automake only if some files were generated (IDEA-157550)
Anna Kozlova [Thu, 16 Jun 2016 12:59:53 +0000 (15:59 +0300)]
restart auto tests after automake only if some files were generated (IDEA-157550)

6 years agoextract method: ensure folded replacement uses correct names, ensure invalid elements...
Anna Kozlova [Thu, 16 Jun 2016 12:58:12 +0000 (15:58 +0300)]
extract method: ensure folded replacement uses correct names, ensure invalid elements are skipped (IDEA-157519)

6 years agoEA-84131 - IAE: SearchableOptionsRegistrarImpl.getProcessedWordsWithoutStemming
Anna Kozlova [Thu, 16 Jun 2016 11:28:47 +0000 (14:28 +0300)]
EA-84131 - IAE: SearchableOptionsRegistrarImpl.getProcessedWordsWithoutStemming

6 years agoEA-83932 - NPE: InlineToAnonymousClassHandler.isRedundantImplements
Anna Kozlova [Thu, 16 Jun 2016 11:15:31 +0000 (14:15 +0300)]
EA-83932 - NPE: InlineToAnonymousClassHandler.isRedundantImplements

6 years agoassertion fix
Eugene Zhuravlev [Thu, 16 Jun 2016 12:31:12 +0000 (14:31 +0200)]
assertion fix

6 years agocleanup appcode/163.235 clion/163.236 phpstorm/163.234
Alexey Kudravtsev [Thu, 16 Jun 2016 10:49:40 +0000 (13:49 +0300)]
cleanup

6 years agodetect idle IO pooled thread
Alexey Kudravtsev [Thu, 16 Jun 2016 10:49:15 +0000 (13:49 +0300)]
detect idle IO pooled thread

6 years agocompiler.shared.event.group
Vladimir Krivosheev [Thu, 16 Jun 2016 11:07:23 +0000 (13:07 +0200)]
compiler.shared.event.group

6 years agoautomake scheduling policy: when doc save is scheduled, cancel pending automake tasks too
Eugene Zhuravlev [Thu, 16 Jun 2016 10:34:48 +0000 (12:34 +0200)]
automake scheduling policy: when doc save is scheduled, cancel pending automake tasks too

6 years agorevert — SHARED_THREAD
Vladimir Krivosheev [Thu, 16 Jun 2016 10:33:24 +0000 (12:33 +0200)]
revert — SHARED_THREAD

6 years agoMerge remote-tracking branch 'origin/master'
Aleksandr Samofalov [Thu, 16 Jun 2016 10:13:26 +0000 (13:13 +0300)]
Merge remote-tracking branch 'origin/master'

6 years agoMerge remote-tracking branch 'origin/master'
Aleksandr Samofalov [Thu, 16 Jun 2016 10:12:53 +0000 (13:12 +0300)]
Merge remote-tracking branch 'origin/master'

6 years agocleanup
Vladimir Krivosheev [Thu, 16 Jun 2016 08:29:20 +0000 (10:29 +0200)]
cleanup

6 years agocleanup
Vladimir Krivosheev [Thu, 16 Jun 2016 08:22:19 +0000 (10:22 +0200)]
cleanup

6 years agoauto-shutdown listener thread on JVM close
Eugene Zhuravlev [Thu, 16 Jun 2016 09:56:33 +0000 (11:56 +0200)]
auto-shutdown listener thread on JVM close

6 years agoEA-81259 - CCE: GitAnnotationProvider.annotate
Aleksey Pivovarov [Thu, 16 Jun 2016 09:32:28 +0000 (12:32 +0300)]
EA-81259 - CCE: GitAnnotationProvider.annotate

6 years agoMerge remote-tracking branch 'origin/master'
Aleksandr Samofalov [Thu, 16 Jun 2016 09:16:56 +0000 (12:16 +0300)]
Merge remote-tracking branch 'origin/master'

6 years agoworkaround IOOBE at sun.font.ExtendedTextSourceLabel.createCharinfo appcode/163.225 appcode/163.230 clion/163.220 clion/163.231 dbe/163.218 dbe/163.219 dbe/163.222 idea/163.217 idea/163.223 phpstorm/163.224 pycharm/163.228 pycharm/163.233 rubymine/163.229 webstorm/163.226 webstorm/163.227
Gregory.Shrago [Wed, 15 Jun 2016 20:03:08 +0000 (23:03 +0300)]
workaround IOOBE at sun.font.ExtendedTextSourceLabel.createCharinfo

6 years ago[groovy] warm-up test by highlighing the same file, ensure that resolve starts non...
Daniil Ovchinnikov [Wed, 15 Jun 2016 19:58:22 +0000 (22:58 +0300)]
[groovy] warm-up test by highlighing the same file, ensure that resolve starts non-cached in the test

6 years ago[groovy] script position manager helper: unify usages, @NotNull/@Nullable
Daniil Ovchinnikov [Wed, 15 Jun 2016 18:12:01 +0000 (21:12 +0300)]
[groovy] script position manager helper: unify usages, @NotNull/@Nullable

6 years agoTrying to fix thread leak exception in test
Ilya.Kazakevich [Wed, 15 Jun 2016 19:25:56 +0000 (22:25 +0300)]
Trying to fix thread leak exception in test

See comment in file

6 years agouse app.invokeLater in show usages settings (EA-84246 - assert: TransactionGuardImpl...
peter [Wed, 15 Jun 2016 18:50:18 +0000 (20:50 +0200)]
use app.invokeLater in show usages settings (EA-84246 - assert: TransactionGuardImpl.submitTransactionAndWait)

6 years agoupdate jsch to 0.1.53
Shaverdova Elena [Wed, 15 Jun 2016 18:32:52 +0000 (20:32 +0200)]
update jsch to 0.1.53

6 years agoFix according to review IDEA-CR-11509
Valentina Kiryushkina [Wed, 15 Jun 2016 18:17:37 +0000 (21:17 +0300)]
Fix according to review IDEA-CR-11509

6 years agoconsider progress modality write-safe when it's created (not started) in a write...
peter [Wed, 15 Jun 2016 18:15:34 +0000 (20:15 +0200)]
consider progress modality write-safe when it's created (not started) in a write-safe context (EA-83534 - assert: TransactionGuardImpl.submitTransactionAndWait)

6 years agoPY-19836 When sorting imports by names use their aliases as tiebreaker
Mikhail Golubev [Wed, 15 Jun 2016 17:25:43 +0000 (20:25 +0300)]
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.

6 years agoFix test data broken due to updated behavior of PyFile#getImportBlock()
Mikhail Golubev [Wed, 15 Jun 2016 17:16:04 +0000 (20:16 +0300)]
Fix test data broken due to updated behavior of PyFile#getImportBlock()

Previously this method didn't consider import statement below the
first line comment so import optimizer didn't touch the file as if
all its imports were in order.

6 years agoIDEA-157496 Webstorm freezes at splash screen
Anton Tarasov [Wed, 15 Jun 2016 17:18:42 +0000 (20:18 +0300)]
IDEA-157496 Webstorm freezes at splash screen

No need to call updateComponents() from ctor as it is called from actionPerformed(). Though, some init order should be reverted (and appropriate dependency established) in order to avoid NPE. This way all the UI is accessed from EDT.

6 years agoIDEA-120891 PhpStorm stuck after trying to cancel find in path
Maxim.Mossienko [Wed, 15 Jun 2016 16:42:15 +0000 (18:42 +0200)]
IDEA-120891 PhpStorm stuck after trying to cancel find in path

6 years agoPY-18792 Better names and descriptions for the new options
Mikhail Golubev [Mon, 30 May 2016 18:24:42 +0000 (21:24 +0300)]
PY-18792 Better names and descriptions for the new options

6 years agoPY-18792 Allow to order imports within the same group first by name, then by type
Mikhail Golubev [Mon, 30 May 2016 18:05:41 +0000 (21:05 +0300)]
PY-18792 Allow to order imports within the same group first by name, then by type

This way several imports for the same module or package are placed
together regardless of their type. For instance, "import pkg1",
"import pkg2", "from pkg1 import a" are ordered as "import pkg1",
"from pkg1 import a", "import pkg2", i.e. imports of the same kind are
not necessarily put together since names of qualifier and imported
symbols have greater priority.

This is similar to the style "google" of flake8-import-order package and
flag "--force-sort-within-sections" of isort.

6 years agoPyFile#getImportBlock works better when there are comments in-between or file ends...
Mikhail Golubev [Fri, 27 May 2016 16:03:44 +0000 (19:03 +0300)]
PyFile#getImportBlock works better when there are comments in-between or file ends with import

6 years agoPY-19674 Treat all relative (with dots) "from" imports as application local imports
Mikhail Golubev [Fri, 27 May 2016 12:47:49 +0000 (15:47 +0300)]
PY-19674 Treat all relative (with dots) "from" imports as application local imports

6 years agoPY-18792 Move messages into PyBundle
Mikhail Golubev [Fri, 27 May 2016 11:03:20 +0000 (14:03 +0300)]
PY-18792 Move messages into PyBundle

6 years agoPY-14176 "Join from imports from same source" handles relative and star imports
Mikhail Golubev [Fri, 27 May 2016 10:53:08 +0000 (13:53 +0300)]
PY-14176 "Join from imports from same source" handles relative and star imports

6 years agoPY-19292 PY-14176 Optimize Imports doesn't re-create unaffected import statements
Mikhail Golubev [Thu, 26 May 2016 17:13:58 +0000 (20:13 +0300)]
PY-19292 PY-14176 Optimize Imports doesn't re-create unaffected import statements

For instance, "from" import statements where imported names are already
ordered. Otherwise even when all imports are well formed, the whole
import block will be inserted anew and reformatted.

6 years agoPY-18792 Add several new options for Optimize Imports in Python
Mikhail Golubev [Thu, 26 May 2016 14:07:24 +0000 (17:07 +0300)]
PY-18792 Add several new options for Optimize Imports in Python

Namely allow to:
* disable alphabetical ordering of imports
* order individual imported names inside "from" import (PY-19292)
* combine multiple "from" imports with the same source (PY-14176)

6 years agoPY-18792 Add dedicated page for Optimize Imports in Python code style settings
Mikhail Golubev [Wed, 25 May 2016 19:30:44 +0000 (22:30 +0300)]
PY-18792 Add dedicated page for Optimize Imports in Python code style settings

6 years agoMerge remote-tracking branch 'origin/master'
Aleksandr Samofalov [Wed, 15 Jun 2016 16:30:31 +0000 (19:30 +0300)]
Merge remote-tracking branch 'origin/master'

6 years agorestore ChannelBufferToString — go compatibility
Vladimir Krivosheev [Wed, 15 Jun 2016 16:25:00 +0000 (18:25 +0200)]
restore ChannelBufferToString — go compatibility