idea/community.git
5 years agoMerge remote-tracking branch 'origin/master'
Dmitry Trofimov [Wed, 26 Oct 2016 16:31:15 +0000 (18:31 +0200)]
Merge remote-tracking branch 'origin/master'

5 years agoEscape should work in terminal the same way as for other windows (IDEA-116221)
Dmitry Trofimov [Wed, 26 Oct 2016 16:29:31 +0000 (18:29 +0200)]
Escape should work in terminal the same way as for other windows (IDEA-116221)

5 years agoIDEA-119018 Keep subsequent searches (Find in path) on separate tabs: make result...
Vassiliy.Kudryashov [Wed, 26 Oct 2016 15:33:59 +0000 (18:33 +0300)]
IDEA-119018 Keep subsequent searches (Find in path) on separate tabs: make result option section unfolded by default

5 years agoMerge remote-tracking branch 'origin/master'
Dmitry Trofimov [Wed, 26 Oct 2016 16:08:33 +0000 (18:08 +0200)]
Merge remote-tracking branch 'origin/master'

5 years agoPY-21133 Removed non-existent __coroutinte.__iter__
Andrey Vlasovskikh [Wed, 26 Oct 2016 15:55:01 +0000 (18:55 +0300)]
PY-21133 Removed non-existent __coroutinte.__iter__

5 years agofixed ipython notebook undo
Ekaterina Tuzova [Wed, 26 Oct 2016 15:47:25 +0000 (18:47 +0300)]
fixed ipython notebook undo

5 years agoPY-21182 Register PythonSdkPathCache as Disposable before its childern
Andrey Vlasovskikh [Wed, 26 Oct 2016 15:40:58 +0000 (18:40 +0300)]
PY-21182 Register PythonSdkPathCache as Disposable before its childern

If we register it before its children then it becomes a root object and
it won't be removed from the list of root object on its disposal since
its a child of the current project.

5 years agoremove ProfileManager
Vladimir Krivosheev [Wed, 26 Oct 2016 15:13:29 +0000 (17:13 +0200)]
remove ProfileManager

5 years ago[grails] fix UnsupportedOperationException (IDEA-163162)
Daniil Ovchinnikov [Wed, 26 Oct 2016 15:11:15 +0000 (18:11 +0300)]
[grails] fix UnsupportedOperationException (IDEA-163162)

5 years ago[Recent Tests] on shift enter execute handleSelect on proper popup. Allows to debug...
Yaroslav Lepenkin [Wed, 26 Oct 2016 14:25:49 +0000 (17:25 +0300)]
[Recent Tests] on shift enter execute handleSelect on proper popup. Allows to debug configurations from next step popup.

5 years ago[Recent Tests] minor
Yaroslav Lepenkin [Tue, 25 Oct 2016 14:20:05 +0000 (17:20 +0300)]
[Recent Tests] minor

5 years agorevert: remove addProfileChangeListener from ProfileManager appcode/171.480 clion/171.479
Vladimir Krivosheev [Wed, 26 Oct 2016 14:53:44 +0000 (16:53 +0200)]
revert: remove addProfileChangeListener from ProfileManager

5 years agoremove addProfileChangeListener from ProfileManager
Vladimir Krivosheev [Wed, 26 Oct 2016 14:48:51 +0000 (16:48 +0200)]
remove addProfileChangeListener from ProfileManager

5 years agomove getProfiles to impl
Vladimir Krivosheev [Wed, 26 Oct 2016 14:40:35 +0000 (16:40 +0200)]
move getProfiles to impl

5 years agomove deleteProfile to impl
Vladimir Krivosheev [Wed, 26 Oct 2016 14:34:03 +0000 (16:34 +0200)]
move deleteProfile to impl

5 years agosimplify — reduce class casts
Vladimir Krivosheev [Wed, 26 Oct 2016 14:17:38 +0000 (16:17 +0200)]
simplify — reduce class casts

5 years agosimplify ProfileManager — move inspection specific
Vladimir Krivosheev [Wed, 26 Oct 2016 13:30:21 +0000 (15:30 +0200)]
simplify ProfileManager — move inspection specific

5 years agodon't use JobScheduler in Find in Path to prevent deadlocks like IDEA-162320
peter [Wed, 26 Oct 2016 14:37:46 +0000 (16:37 +0200)]
don't use JobScheduler in Find in Path to prevent deadlocks like IDEA-162320

5 years agotest framework: initialize file type for *.class-files with proper constant in MockFi...
Dmitry Batkovich [Wed, 26 Oct 2016 14:35:08 +0000 (17:35 +0300)]
test framework: initialize file type for *.class-files with proper constant in MockFileTypeManager

5 years agoMerge remote-tracking branch 'origin/master'
Alexey Utkin [Wed, 26 Oct 2016 14:24:17 +0000 (17:24 +0300)]
Merge remote-tracking branch 'origin/master'

5 years ago[vcs-log] if a tab state is somehow null create a new one EA-90491
Julia Beliaeva [Wed, 26 Oct 2016 14:12:32 +0000 (17:12 +0300)]
[vcs-log] if a tab state is somehow null create a new one EA-90491

5 years ago[vcs-log] minor: fix typo
Julia Beliaeva [Wed, 26 Oct 2016 14:01:31 +0000 (17:01 +0300)]
[vcs-log] minor: fix typo

5 years ago[groovy] search for groovy SDK class instead of checking
Daniil Ovchinnikov [Wed, 26 Oct 2016 13:46:41 +0000 (16:46 +0300)]
[groovy] search for groovy SDK class instead of checking
libraries structure and jar names.

5 years agoconvert PreContract to kotlin data classes, fix NPE
peter [Wed, 26 Oct 2016 13:51:59 +0000 (15:51 +0200)]
convert PreContract to kotlin data classes, fix NPE

5 years agomove ContractInferenceInterpreter to a separate file
peter [Wed, 26 Oct 2016 13:29:05 +0000 (15:29 +0200)]
move ContractInferenceInterpreter to a separate file

otherwise it can't be referenced from Kotlin (KT-4455)

5 years agocontract inference: resolve parameters using light AST
peter [Wed, 26 Oct 2016 13:23:55 +0000 (15:23 +0200)]
contract inference: resolve parameters using light AST

5 years agocontract inference: move parameter notnullness check to a later stage when resolve...
peter [Wed, 26 Oct 2016 13:04:00 +0000 (15:04 +0200)]
contract inference: move parameter notnullness check to a later stage when resolve is allowed

5 years agorefactor DelegationContract to reduce method size
peter [Wed, 26 Oct 2016 12:57:32 +0000 (14:57 +0200)]
refactor DelegationContract to reduce method size

5 years agomake ContractInference traverse light AST
peter [Wed, 26 Oct 2016 12:41:50 +0000 (14:41 +0200)]
make ContractInference traverse light AST

5 years ago[vcs-log] show references tooltip only for visible rows IDEA-162405
Julia Beliaeva [Wed, 26 Oct 2016 13:52:22 +0000 (16:52 +0300)]
[vcs-log] show references tooltip only for visible rows IDEA-162405

5 years agoadd dots to File > New, Directory, and Package actions
Sergey Ignatov [Wed, 26 Oct 2016 13:39:16 +0000 (16:39 +0300)]
add dots to File > New, Directory, and Package actions

5 years agogradle: remove corrupted gradle dist zip before test
Vladislav.Soroka [Wed, 26 Oct 2016 13:42:53 +0000 (16:42 +0300)]
gradle: remove corrupted gradle dist zip before test

5 years agoAvoid too many range checks for large files when collecting custom regions
Rustam Vishnyakov [Wed, 26 Oct 2016 13:42:03 +0000 (16:42 +0300)]
Avoid too many range checks for large files when collecting custom regions

5 years agoIDEA-163155 SelectIn | ProjectsView doesn't navigate to element if tool window has...
Dmitry Avdeev [Wed, 26 Oct 2016 13:23:02 +0000 (16:23 +0300)]
IDEA-163155 SelectIn | ProjectsView  doesn't navigate to element if tool window has been previous...

5 years agoNPE
Alexey Kudravtsev [Wed, 26 Oct 2016 13:09:54 +0000 (16:09 +0300)]
NPE

5 years agoupdate prompt number on error
Ekaterina Tuzova [Wed, 26 Oct 2016 13:08:49 +0000 (16:08 +0300)]
update prompt number on error

5 years agomove new scratch action to File > New
Sergey Ignatov [Wed, 26 Oct 2016 13:00:40 +0000 (16:00 +0300)]
move new scratch action to File > New

5 years agoUpdate jediterm with fixes for IDEA-162497
Dmitry Trofimov [Wed, 26 Oct 2016 12:55:14 +0000 (14:55 +0200)]
Update jediterm with fixes for IDEA-162497

5 years ago[followup] Add/refactor JBUI.JBIcon/ScalableJBIcon/ValidatingScalableJBIcon
Anton Tarasov [Wed, 26 Oct 2016 12:28:04 +0000 (15:28 +0300)]
[followup] Add/refactor JBUI.JBIcon/ScalableJBIcon/ValidatingScalableJBIcon

5 years agoFix user rcfile handling (IDEA-163064)
Dmitry Trofimov [Wed, 26 Oct 2016 12:06:28 +0000 (14:06 +0200)]
Fix user rcfile handling (IDEA-163064)

5 years agomerge ipython code cell panel
Ekaterina Tuzova [Wed, 26 Oct 2016 12:04:54 +0000 (15:04 +0300)]
merge ipython code cell panel

5 years agoPY-15917 Ipython notebook: output does not show up until for loop is over
Ekaterina Tuzova [Wed, 26 Oct 2016 11:10:21 +0000 (14:10 +0300)]
PY-15917 Ipython notebook: output does not show up until for loop is over

5 years agoFix tests
Dmitry Trofimov [Wed, 26 Oct 2016 11:44:12 +0000 (13:44 +0200)]
Fix tests

5 years agoPY-16722 Specify command arguments for ipython notebook
Ekaterina Tuzova [Mon, 24 Oct 2016 13:52:53 +0000 (16:52 +0300)]
PY-16722 Specify command arguments for ipython notebook

PY-16517 Provide an option to specify ipython profile

5 years agoPY-20043 Unused import in notebook for usages in next cell
Ekaterina Tuzova [Mon, 24 Oct 2016 12:41:22 +0000 (15:41 +0300)]
PY-20043 Unused import in notebook for usages in next cell

5 years agoFix loading bashrc file in terminal (IDEA-163059)
Dmitry Trofimov [Wed, 26 Oct 2016 11:16:49 +0000 (13:16 +0200)]
Fix loading bashrc file in terminal (IDEA-163059)

5 years agoEnsure concurrent access to fix EA-38722 - no stacktrace appcode/171.476 clion/171.477
Alexey Kudravtsev [Wed, 26 Oct 2016 11:32:06 +0000 (14:32 +0300)]
Ensure concurrent access to fix EA-38722 - no stacktrace

5 years agocleanup
Alexey Kudravtsev [Wed, 26 Oct 2016 11:27:30 +0000 (14:27 +0300)]
cleanup

5 years agoavoid boxing
Alexey Kudravtsev [Wed, 26 Oct 2016 11:18:35 +0000 (14:18 +0300)]
avoid boxing

5 years agoimport action
Vladimir Krivosheev [Wed, 26 Oct 2016 11:29:50 +0000 (13:29 +0200)]
import action

5 years agoplugin management: message internationalized and assertion added (IDEA-CR-14860)
nik [Wed, 26 Oct 2016 11:21:11 +0000 (14:21 +0300)]
plugin management: message internationalized and assertion added (IDEA-CR-14860)

5 years ago[groovy] allow to select 'this' reference for 'introduce X' refactoring
Daniil Ovchinnikov [Wed, 26 Oct 2016 10:50:11 +0000 (13:50 +0300)]
[groovy] allow to select 'this' reference for 'introduce X' refactoring

5 years ago[groovy] fix CCE
Daniil Ovchinnikov [Wed, 26 Oct 2016 10:31:11 +0000 (13:31 +0300)]
[groovy] fix CCE

5 years ago[performance optimization] invalidate all cached buffers only for files that have... phpstorm/171.475
Maxim.Mossienko [Wed, 26 Oct 2016 10:43:58 +0000 (12:43 +0200)]
[performance optimization] invalidate all cached buffers only for files that have own buffers invalidated

5 years agoContractInference: clearly separate contract postprocessing
peter [Wed, 26 Oct 2016 09:38:14 +0000 (11:38 +0200)]
ContractInference: clearly separate contract postprocessing

5 years agoconvert nullity/purity inference result data structures to kotlin data classes
peter [Wed, 26 Oct 2016 09:26:49 +0000 (11:26 +0200)]
convert nullity/purity inference result data structures to kotlin data classes

5 years agomake NullityInference traverse light AST
peter [Wed, 26 Oct 2016 09:06:51 +0000 (11:06 +0200)]
make NullityInference traverse light AST

5 years agomake PurityInference traverse light AST
peter [Tue, 25 Oct 2016 14:35:52 +0000 (16:35 +0200)]
make PurityInference traverse light AST

5 years agoIPP: use correct scope to search for references
Bas Leijdekkers [Wed, 26 Oct 2016 10:40:13 +0000 (12:40 +0200)]
IPP: use correct scope to search for references

5 years agoIG: add way to simplify "x == y ? y : x" to "x" to "Redundant conditional expression...
Bas Leijdekkers [Tue, 25 Oct 2016 13:02:48 +0000 (15:02 +0200)]
IG: add way to simplify "x == y ? y : x" to "x" to "Redundant conditional expression" inspection (IDEA-159883 & IDEA-162483)

5 years agoregexp: no need for a declaration subcategory for the Check RegExp intention
Bas Leijdekkers [Mon, 24 Oct 2016 09:58:32 +0000 (11:58 +0200)]
regexp: no need for a declaration subcategory for the Check RegExp intention

5 years agofor better encapsulation move no copy logic from ZipHandler to JarHandler that does...
Maxim.Mossienko [Wed, 26 Oct 2016 10:23:30 +0000 (12:23 +0200)]
for better encapsulation move no copy logic from ZipHandler to JarHandler that does the copying

5 years ago[java] IBM JDK path detection w.r.t. 'isJre' flag (KT-14437)
Roman Shevchenko [Wed, 26 Oct 2016 10:26:02 +0000 (12:26 +0200)]
[java] IBM JDK path detection w.r.t. 'isJre' flag (KT-14437)

5 years agoIDEA-162947 Add ability to use lambda expressions in breakpoint conditions
Egor.Ushakov [Wed, 26 Oct 2016 10:10:40 +0000 (13:10 +0300)]
IDEA-162947 Add ability to use lambda expressions in breakpoint conditions

cache condition and log message evaluators to avoid recompilation on every hit

5 years agoremove incorrect memory only flag
Vladimir Krivosheev [Wed, 26 Oct 2016 09:55:57 +0000 (11:55 +0200)]
remove incorrect memory only flag

5 years agoKotlin UI DSL: easy way to disable sub rows
Vladimir Krivosheev [Wed, 26 Oct 2016 09:44:19 +0000 (11:44 +0200)]
Kotlin UI DSL: easy way to disable sub rows

5 years agojava functional expressions: last one test-data fixed
Dmitry Batkovich [Wed, 26 Oct 2016 09:23:44 +0000 (12:23 +0300)]
java functional expressions: last one test-data fixed

5 years agogradle execution environment provider extension
Vladislav.Soroka [Wed, 26 Oct 2016 09:03:42 +0000 (12:03 +0300)]
gradle execution environment provider extension

5 years agoadded javadoc to JpsPackagingElement and inheritors appcode/171.473 clion/171.474
nik [Wed, 26 Oct 2016 08:45:48 +0000 (11:45 +0300)]
added javadoc to JpsPackagingElement and inheritors

5 years agoMerge remote-tracking branch 'origin/master'
Alexey Utkin [Wed, 26 Oct 2016 08:38:34 +0000 (11:38 +0300)]
Merge remote-tracking branch 'origin/master'

5 years ago[java] module path instead of class path in app. run configuration
Roman Shevchenko [Wed, 26 Oct 2016 08:20:06 +0000 (10:20 +0200)]
[java] module path instead of class path in app. run configuration

5 years agostill treat methods with @Test annotation inside parameterized test as test method
Anna.Kozlova [Tue, 25 Oct 2016 16:23:15 +0000 (18:23 +0200)]
still treat methods with @Test annotation inside parameterized test as test method

5 years agoEA-90552 - assert: ComponentManagerImpl.getComponent
Anna.Kozlova [Tue, 25 Oct 2016 15:30:52 +0000 (17:30 +0200)]
EA-90552 - assert: ComponentManagerImpl.getComponent

5 years agotagged with New in 2017.1
Anna.Kozlova [Tue, 25 Oct 2016 14:57:09 +0000 (16:57 +0200)]
tagged with New in 2017.1

5 years agoconstant assertion inspection for testng
Anna.Kozlova [Tue, 25 Oct 2016 14:56:49 +0000 (16:56 +0200)]
constant assertion inspection for testng

5 years agojavac ast indices: builder's getCompilableFileExtensions() should not return null
Dmitry Batkovich [Wed, 26 Oct 2016 06:47:04 +0000 (09:47 +0300)]
javac ast indices: builder's getCompilableFileExtensions() should not return null

5 years agoStreamApiMigrationInspection: add guard checks for control flow offsets (EA-90493)
Tagir Valeev [Wed, 26 Oct 2016 05:34:08 +0000 (12:34 +0700)]
StreamApiMigrationInspection: add guard checks for control flow offsets (EA-90493)

5 years agodon't keep StringRef as field pycharm/171.471 pycharm/171.472
Dmitry Batkovich [Wed, 26 Oct 2016 04:20:48 +0000 (07:20 +0300)]
don't keep StringRef as field

5 years agojava functional expressions: remove ":" from toString() + fix test data according... appcode/171.461 clion/171.464 dbe/171.466 idea/171.467 phpstorm/171.462 pycharm/171.463 pycharm/171.468 rubymine/171.465 webstorm/171.470
Dmitry Batkovich [Tue, 25 Oct 2016 20:29:19 +0000 (23:29 +0300)]
java functional expressions: remove ":" from toString() + fix test data according to 381bbbe

5 years agorename partition() to split()
Gregory.Shrago [Tue, 25 Oct 2016 18:55:56 +0000 (21:55 +0300)]
rename partition() to split()

5 years agostateful partitioning
Gregory.Shrago [Tue, 25 Oct 2016 17:45:18 +0000 (20:45 +0300)]
stateful partitioning

5 years agojava functional expressions: render functional expressions in show implementation...
Dmitry Batkovich [Tue, 25 Oct 2016 18:31:15 +0000 (21:31 +0300)]
java functional expressions: render functional expressions in show implementation using stubs if possible

5 years agojava functional expressions: remove possibly expensive toString() in PsiLambdaExpress...
Dmitry Batkovich [Tue, 25 Oct 2016 18:15:29 +0000 (21:15 +0300)]
java functional expressions: remove possibly expensive toString() in PsiLambdaExpressionImpl and PsiMethodReferenceExpressionImpl (e.g. show implementation + JList)

5 years agoPY-21161 Don't flip quotes inside inlined expressions if it's not necessary clion/171.460
Mikhail Golubev [Tue, 25 Oct 2016 18:09:23 +0000 (21:09 +0300)]
PY-21161 Don't flip quotes inside inlined expressions if it's not necessary

For instance, when inlining single-quoted string inside triple-quoted
string with the same type of quotes.

5 years agoPY-21161 Add tests on inlining triple-quoted strings
Mikhail Golubev [Tue, 25 Oct 2016 17:34:59 +0000 (20:34 +0300)]
PY-21161 Add tests on inlining triple-quoted strings

5 years agoPY-21161 Check that index fragment of .format() string doesn't contain backslash
Mikhail Golubev [Tue, 25 Oct 2016 17:11:30 +0000 (20:11 +0300)]
PY-21161 Check that index fragment of .format() string doesn't contain backslash

5 years agoPY-21161 Check that index inside .format() chunk doesn't contain quotes it will be...
Mikhail Golubev [Tue, 25 Oct 2016 16:50:36 +0000 (19:50 +0300)]
PY-21161 Check that index inside .format() chunk doesn't contain quotes it will be wrapped into

5 years agoPY-21161 Don't suggest intention for string methods other than "format"
Mikhail Golubev [Tue, 25 Oct 2016 15:15:54 +0000 (18:15 +0300)]
PY-21161 Don't suggest intention for string methods other than "format"

5 years agoPY-21161 Handle not-trivial format specs in printf-style formatting better
Mikhail Golubev [Tue, 25 Oct 2016 14:22:31 +0000 (17:22 +0300)]
PY-21161 Handle not-trivial format specs in printf-style formatting better

5 years agoPY-21161 Handle subscriptions inside format string chunks like {0[foo]}
Mikhail Golubev [Tue, 25 Oct 2016 12:55:30 +0000 (15:55 +0300)]
PY-21161 Handle subscriptions inside format string chunks like {0[foo]}

5 years agoPY-21161 Handle simple .format() calls (no nested fragments, no subscriptions)
Mikhail Golubev [Tue, 25 Oct 2016 10:50:18 +0000 (13:50 +0300)]
PY-21161 Handle simple .format() calls (no nested fragments, no subscriptions)

5 years agoPY-21161 Convert to f-string literal for printf-style formatting
Mikhail Golubev [Mon, 24 Oct 2016 17:37:23 +0000 (20:37 +0300)]
PY-21161 Convert to f-string literal for printf-style formatting

5 years agoPsiElementModuleRenderer: prevent element toString() method call
Dmitry Batkovich [Tue, 25 Oct 2016 18:10:40 +0000 (21:10 +0300)]
PsiElementModuleRenderer: prevent element toString() method call

5 years agoPY-14036: Support remote Django (and other) project creation
Ilya.Kazakevich [Tue, 25 Oct 2016 17:42:52 +0000 (20:42 +0300)]
PY-14036: Support remote Django (and other) project creation
* See PyProjectSynchronizer for entry point
* DownloadAction refactored to extract  download
* VagrantSupportImpl refactored to fetch mapped folders

5 years agoCompilation was broken for Kotlin 1.1
Denis Fokin [Tue, 25 Oct 2016 17:38:47 +0000 (20:38 +0300)]
Compilation was broken for Kotlin 1.1

5 years ago[groovy] quickly check if file contains 'Field' and 'BaseScript' string
Daniil Ovchinnikov [Tue, 25 Oct 2016 17:10:59 +0000 (20:10 +0300)]
[groovy] quickly check if file contains 'Field' and 'BaseScript' string
before attempting to load its contents

5 years ago[groovy] ask stub if parameter is optional
Daniil Ovchinnikov [Tue, 25 Oct 2016 15:54:56 +0000 (18:54 +0300)]
[groovy] ask stub if parameter is optional

5 years agoIDEA-161597 Issues with bookmark icon - fixed horizontal alignment clion/171.457
Egor.Ushakov [Tue, 25 Oct 2016 16:59:26 +0000 (19:59 +0300)]
IDEA-161597 Issues with bookmark icon - fixed horizontal alignment

5 years agoIDEA-CR-14984 preserve olg logic as much as possible pycharm/171.456
Vladimir Krivosheev [Tue, 25 Oct 2016 16:49:19 +0000 (18:49 +0200)]
IDEA-CR-14984 preserve olg logic as much as possible

5 years agofunction expression searcher: find most likely files only among of files where occurr...
Dmitry Batkovich [Tue, 25 Oct 2016 16:37:38 +0000 (19:37 +0300)]
function expression searcher: find most likely files only among of files where occurrences was found. method names should be found in sam-class use-scope (follow-up 4c72b12)