idea/community.git
4 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

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

4 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

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

4 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

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

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

4 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

4 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)

4 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

4 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

4 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)

4 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

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

4 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

4 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

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

4 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

4 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

4 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

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

4 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

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

4 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

4 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)

4 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

4 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

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

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

4 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

4 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)

4 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.

4 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

4 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

4 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

4 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"

4 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

4 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]}

4 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)

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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)

4 years ago[followup] Add/refactor JBUI.JBIcon/ScalableJBIcon/ValidatingScalableJBIcon
Anton Tarasov [Tue, 25 Oct 2016 16:16:15 +0000 (19:16 +0300)]
[followup] Add/refactor JBUI.JBIcon/ScalableJBIcon/ValidatingScalableJBIcon

Partially reverted equals/hashCode changes.

4 years agoMerge remote-tracking branch 'origin/master'
Roman Shevchenko [Tue, 25 Oct 2016 16:02:50 +0000 (18:02 +0200)]
Merge remote-tracking branch 'origin/master'

4 years ago[java] module files change tracker - disband (IDEA-CR-14933)
Roman Shevchenko [Tue, 25 Oct 2016 16:02:03 +0000 (18:02 +0200)]
[java] module files change tracker - disband (IDEA-CR-14933)

4 years ago[java] fixes light Java modules caching
Roman Shevchenko [Tue, 25 Oct 2016 15:59:03 +0000 (17:59 +0200)]
[java] fixes light Java modules caching

4 years agomake win10 background f2f2f2
Konstantin Bulenkov [Tue, 25 Oct 2016 15:52:41 +0000 (17:52 +0200)]
make win10 background f2f2f2

4 years agoTypedActionHandlerEx extension for custom preemptive rendering (see #VIM-1007)
Pavel Fatin [Tue, 25 Oct 2016 15:33:14 +0000 (17:33 +0200)]
TypedActionHandlerEx extension for custom preemptive rendering (see #VIM-1007)

4 years agoMaximize dialog action: after-review improvement
Vassiliy.Kudryashov [Tue, 25 Oct 2016 15:24:48 +0000 (18:24 +0300)]
Maximize dialog action: after-review improvement

4 years agogradle: cleanup
Vladislav.Soroka [Tue, 25 Oct 2016 15:15:13 +0000 (18:15 +0300)]
gradle: cleanup

4 years agoIDEA-161462: path to database file
Vladimir Krivosheev [Tue, 25 Oct 2016 15:05:04 +0000 (17:05 +0200)]
IDEA-161462: path to database file

4 years agofix isFileSelectable — myFileFilter should be used before
Vladimir Krivosheev [Tue, 25 Oct 2016 15:04:56 +0000 (17:04 +0200)]
fix isFileSelectable — myFileFilter should be used before

4 years agoIDEA-CR-14800 remove force
Vladimir Krivosheev [Tue, 25 Oct 2016 14:58:43 +0000 (16:58 +0200)]
IDEA-CR-14800 remove force

4 years agoisPasswordStoredOnlyInMemory: if password is empty — it is was memory-only pass
Vladimir Krivosheev [Tue, 25 Oct 2016 13:09:12 +0000 (15:09 +0200)]
isPasswordStoredOnlyInMemory: if password is empty — it is was memory-only pass

4 years agocreateActionGroupPopup: SPEEDSEARCH is the default value for selectionAidMethod,...
Vladimir Krivosheev [Tue, 25 Oct 2016 08:47:30 +0000 (10:47 +0200)]
createActionGroupPopup: SPEEDSEARCH is the default value for selectionAidMethod, cleanup

4 years agoPY-21230 Open numeric container viewers from "View" hyperlink appcode/171.451
Liana.Bakradze [Mon, 10 Oct 2016 14:53:02 +0000 (17:53 +0300)]
PY-21230 Open numeric container viewers from "View" hyperlink

4 years agopartition: introduce GROUP option dbe/171.448
Gregory.Shrago [Mon, 24 Oct 2016 23:23:27 +0000 (02:23 +0300)]
partition: introduce GROUP option

4 years agoCleanup (missing 'final')
Roman Shevchenko [Tue, 25 Oct 2016 14:52:29 +0000 (16:52 +0200)]
Cleanup (missing 'final')

4 years agomaven: tests fix
Vladislav.Soroka [Tue, 25 Oct 2016 14:42:29 +0000 (17:42 +0300)]
maven: tests fix

4 years ago[followup] Fix SizedIcon
Anton Tarasov [Tue, 25 Oct 2016 14:23:30 +0000 (17:23 +0300)]
[followup] Fix SizedIcon

4 years agoIDEA-162169 describe auto-scrolling bounds rubymine/171.447
Sergey Malenkov [Tue, 25 Oct 2016 14:08:03 +0000 (17:08 +0300)]
IDEA-162169 describe auto-scrolling bounds

4 years agoAdd/refactor JBUI.JBIcon/ScalableJBIcon/ValidatingScalableJBIcon
Anton Tarasov [Tue, 25 Oct 2016 14:01:54 +0000 (17:01 +0300)]
Add/refactor JBUI.JBIcon/ScalableJBIcon/ValidatingScalableJBIcon

- Refactored: EmptyIcon, LayeredIcon, RowIcon, CachedImageIcon, LazyIcon
- JBUI.scale missed LayeredIcon's

4 years agoIDEA-163101 MacPathChooserDialog — isFileSelectable is not used correctly
Denis Fokin [Tue, 25 Oct 2016 13:57:36 +0000 (16:57 +0300)]
IDEA-163101 MacPathChooserDialog — isFileSelectable is not used correctly

4 years agoTo Kotlin conversion
Denis Fokin [Tue, 25 Oct 2016 11:13:33 +0000 (14:13 +0300)]
To Kotlin conversion

4 years agocreate test action: choose one of dependent modules only when exactly one exists...
Anna.Kozlova [Tue, 25 Oct 2016 13:37:31 +0000 (15:37 +0200)]
create test action: choose one of dependent modules only when exactly one exists with test root (IDEA-163111)

4 years agoreplace reflection with optional dependency
Anna.Kozlova [Tue, 25 Oct 2016 13:03:25 +0000 (15:03 +0200)]
replace reflection with optional dependency

4 years agobuild scripts: use more restrictive since/until build range for non-bundled plugins...
nik [Tue, 25 Oct 2016 13:20:41 +0000 (16:20 +0300)]
build scripts: use more restrictive since/until build range for non-bundled plugins (163.xxx.* instead of 163.*)

4 years ago[Parameter Name Hints] do not show in exception constructors
Yaroslav Lepenkin [Tue, 25 Oct 2016 13:09:04 +0000 (16:09 +0300)]
[Parameter Name Hints] do not show in exception constructors

4 years ago[Parameter Name Hints] introduced getBlackListDependencyLanguage to parameter hints...
Yaroslav Lepenkin [Tue, 25 Oct 2016 12:38:38 +0000 (15:38 +0300)]
[Parameter Name Hints] introduced getBlackListDependencyLanguage to parameter hints extension

4 years agocleanup pycharm/171.445
Egor.Ushakov [Tue, 25 Oct 2016 12:21:15 +0000 (15:21 +0300)]
cleanup

4 years agoA better fix for multiple line comments before statement start
Rustam Vishnyakov [Tue, 25 Oct 2016 12:10:15 +0000 (15:10 +0300)]
A better fix for multiple line comments before statement start

4 years agoIDEA-133087 Maximize action is available for floating tool window, but does nothing
Vassiliy.Kudryashov [Tue, 25 Oct 2016 12:13:42 +0000 (15:13 +0300)]
IDEA-133087 Maximize action is available for floating tool window, but does nothing

4 years agoRevert: deadlock with search under ref table lock (IDEA-161849) (11beb1709d3d01899944...
Anna.Kozlova [Tue, 25 Oct 2016 12:13:16 +0000 (14:13 +0200)]
Revert: deadlock with search under ref table lock (IDEA-161849) (11beb1709d3d018999444d701d056e804dac2775)
no search is performed inside isTestCase anymore

4 years agocheck annotations if they contain given meta annotations
Anna.Kozlova [Tue, 25 Oct 2016 12:08:31 +0000 (14:08 +0200)]
check annotations if they contain given meta annotations

4 years agoEA-90451 - assert: MultipleRootsMoveDestination.getOrCreateDirectoryForSource
Anna.Kozlova [Tue, 25 Oct 2016 10:28:50 +0000 (12:28 +0200)]
EA-90451 - assert: MultipleRootsMoveDestination.getOrCreateDirectoryForSource

4 years agoAnother fix for indent after semicolon for var statement with line comments
Rustam Vishnyakov [Tue, 25 Oct 2016 11:59:47 +0000 (14:59 +0300)]
Another fix for indent after semicolon for var statement with line comments

4 years agoFIXED WEB-23872 JavaScript Indentation Problem with "var" over multiple lines
Rustam Vishnyakov [Tue, 25 Oct 2016 10:24:46 +0000 (13:24 +0300)]
FIXED WEB-23872 JavaScript Indentation Problem with "var" over multiple lines

4 years agoCleanup (warnings) appcode/171.442 clion/171.443
Roman Shevchenko [Tue, 25 Oct 2016 11:54:41 +0000 (13:54 +0200)]
Cleanup (warnings)

4 years agoMerge branch 'dany/groovy-logback' idea/171.444 pycharm/171.440
Daniil Ovchinnikov [Tue, 25 Oct 2016 11:44:17 +0000 (14:44 +0300)]
Merge branch 'dany/groovy-logback'

4 years agoFix PY-8938 PEP 8: line too long quick fix doesn't exist (at least for strings)
Valentina Kiryushkina [Wed, 7 Sep 2016 15:49:54 +0000 (18:49 +0300)]
Fix PY-8938 PEP 8: line too long quick fix doesn't exist (at least for strings)

Use "Fill Paragraph" action instead of "Reformat File" for too long lines

4 years agovcs: remove unnecessary inheritance
Aleksey Pivovarov [Tue, 25 Oct 2016 11:22:11 +0000 (14:22 +0300)]
vcs: remove unnecessary inheritance

4 years agoPY-11208 Fixed: False positive for mock.patch.object
Semyon Proshev [Tue, 18 Oct 2016 11:14:33 +0000 (14:14 +0300)]
PY-11208 Fixed: False positive for mock.patch.object

Update PyStdlibClassMembersProvider to provide more members for unittest.mock.patch

4 years agoStreamApiMigrationInspection: var scope removed (IDEA-CR-14823)
Tagir Valeev [Tue, 25 Oct 2016 11:20:37 +0000 (18:20 +0700)]
StreamApiMigrationInspection: var scope removed (IDEA-CR-14823)

4 years agoMerge remote-tracking branch 'origin/master'
Valentin Fondaratov [Tue, 25 Oct 2016 11:06:35 +0000 (14:06 +0300)]
Merge remote-tracking branch 'origin/master'

4 years ago[Parameter Name Hints] refactoring, removed language field from hints provider extension
Yaroslav Lepenkin [Tue, 25 Oct 2016 10:28:55 +0000 (13:28 +0300)]
[Parameter Name Hints] refactoring, removed language field from hints provider extension

4 years agohack to allow ill-configured projects where libraries depend on project classes to...
Alexey Kudravtsev [Tue, 25 Oct 2016 10:43:18 +0000 (13:43 +0300)]
hack to allow ill-configured projects where libraries depend on project classes to find usages of these classes in libraries: IDEA-99773 Find usages CTRL-ALT-F7 does not have scope Project & Libraries anymore

4 years agocleanup
Alexey Kudravtsev [Tue, 25 Oct 2016 10:40:07 +0000 (13:40 +0300)]
cleanup

4 years agodata race when HighlightingSession disposed but HighlightingSessionImpl.myAddHighligh...
Alexey Kudravtsev [Tue, 25 Oct 2016 10:39:08 +0000 (13:39 +0300)]
data race when HighlightingSession disposed but HighlightingSessionImpl.myAddHighlighterInEDTQueue didn't apply all its highlighters yet

4 years agodebug log is always expanded on TeamCity: yet another attempt
Alexey Kudravtsev [Tue, 25 Oct 2016 10:36:40 +0000 (13:36 +0300)]
debug log is always expanded on TeamCity: yet another attempt

4 years agoEA-79704 - Throwable: DebugUtil.currentStackTrace webstorm/171.437
Dmitry Batrak [Tue, 25 Oct 2016 10:26:57 +0000 (13:26 +0300)]
EA-79704 - Throwable: DebugUtil.currentStackTrace

4 years agorefactoring to prepare compiling evaluator caching
Egor.Ushakov [Tue, 25 Oct 2016 10:02:46 +0000 (13:02 +0300)]
refactoring to prepare compiling evaluator caching

4 years ago[java] module files change tracker - dumbing down (IDEA-CR-14933)
Roman Shevchenko [Tue, 25 Oct 2016 09:51:57 +0000 (11:51 +0200)]
[java] module files change tracker - dumbing down (IDEA-CR-14933)

4 years agoIDEA-157763 Settings repository for IDE: new server API (file storage)
Alexander Lobas [Tue, 25 Oct 2016 09:44:33 +0000 (12:44 +0300)]
IDEA-157763 Settings repository for IDE: new server API (file storage)

4 years agoMerge branch 'ruby-attach-to-process'
Valentin Fondaratov [Tue, 25 Oct 2016 09:22:19 +0000 (12:22 +0300)]
Merge branch 'ruby-attach-to-process'