idea/community.git
5 years agoMerge branch 'master' into PY-9727
Ilya.Kazakevich [Wed, 9 Dec 2015 20:20:27 +0000 (23:20 +0300)]
Merge branch 'master' into PY-9727

5 years agopytest and nosetest added
Ilya.Kazakevich [Wed, 9 Dec 2015 20:17:21 +0000 (23:17 +0300)]
pytest and nosetest added

5 years agotype migration tests fixed
Dmitry Batkovich [Wed, 9 Dec 2015 19:49:42 +0000 (22:49 +0300)]
type migration tests fixed

5 years agoMerge remote-tracking branch 'origin/master'
Yann Cébron [Wed, 9 Dec 2015 19:07:48 +0000 (20:07 +0100)]
Merge remote-tracking branch 'origin/master'

5 years agoIDEA-149092 Navigate to Action class from plugin.xml can cross module boundaries
Yann Cébron [Wed, 9 Dec 2015 19:06:40 +0000 (20:06 +0100)]
IDEA-149092 Navigate to Action class from plugin.xml can cross module boundaries

5 years agopotentially compatible for ll < 1.8
Anna Kozlova [Wed, 9 Dec 2015 19:05:59 +0000 (20:05 +0100)]
potentially compatible for ll < 1.8

5 years agoensure potential compatible for pertinent to applicability: when number of parameters...
Anna Kozlova [Wed, 9 Dec 2015 18:28:03 +0000 (19:28 +0100)]
ensure potential compatible for pertinent to applicability: when number of parameters is wrong methods which are not potentially compatible are not filtered (IDEA-149103)

5 years agoassignment: stop bounds promotion inside nested wildcards (IDEA-139161)
Anna Kozlova [Wed, 9 Dec 2015 17:21:29 +0000 (18:21 +0100)]
assignment: stop bounds promotion inside nested wildcards (IDEA-139161)

5 years agotestdata for IDEA-130243
Anna Kozlova [Wed, 9 Dec 2015 11:48:46 +0000 (12:48 +0100)]
testdata for IDEA-130243

5 years agotestdata for IDEA-139096
Anna Kozlova [Wed, 9 Dec 2015 11:41:01 +0000 (12:41 +0100)]
testdata for IDEA-139096

5 years agoAdd check if error not in ignoredError list
Valentina Kiryushkina [Fri, 4 Dec 2015 16:38:32 +0000 (19:38 +0300)]
Add check if error not in ignoredError list

It was possible to add an error code more than one time if we don't change caret position after adding ignored error for the first time

5 years agoIgnore PEP-8 naming conventions by error code
Valentina Kiryushkina [Fri, 4 Dec 2015 16:33:55 +0000 (19:33 +0300)]
Ignore PEP-8 naming conventions by error code

5 years agoSpecify pattern in string reference provider
Valentina Kiryushkina [Wed, 9 Dec 2015 12:01:55 +0000 (15:01 +0300)]
Specify pattern in string reference provider

5 years agoDo not resolve substitution chunk reference to dict and reference expression
Valentina Kiryushkina [Mon, 7 Dec 2015 09:46:27 +0000 (12:46 +0300)]
Do not resolve substitution chunk reference to dict and reference expression

Resolving such references leads to errors or undesirable behaviour if user's trying to rename element

5 years agoMinor Resolve only to string dict keys
Valentina Kiryushkina [Wed, 2 Dec 2015 17:31:14 +0000 (20:31 +0300)]
Minor Resolve only to string dict keys

5 years agoMinor Fix variables names
Valentina Kiryushkina [Wed, 2 Dec 2015 11:43:06 +0000 (14:43 +0300)]
Minor Fix variables names

5 years agoDo not resolve to reference expression in format argument. Resolve to dict key if...
Valentina Kiryushkina [Wed, 2 Dec 2015 11:06:03 +0000 (14:06 +0300)]
Do not resolve to reference expression in format argument. Resolve to dict key if format argument is dict literal expression

5 years agoPY-1779 Add autoclosing for triple quotes
Valentina Kiryushkina [Tue, 1 Dec 2015 12:28:53 +0000 (15:28 +0300)]
PY-1779 Add autoclosing for triple quotes

5 years agoCleanup
Valentina Kiryushkina [Tue, 1 Dec 2015 08:14:06 +0000 (11:14 +0300)]
Cleanup

5 years agoUse keyword text range as refrerence text range in order to use supreclass handleElem...
Valentina Kiryushkina [Fri, 27 Nov 2015 08:18:24 +0000 (11:18 +0300)]
Use keyword text range as refrerence text range in order to use supreclass handleElementRename. Resolve to  ReferenceExpression in star argument of format function

5 years agoAdd resolve and rename tests
Valentina Kiryushkina [Fri, 27 Nov 2015 08:07:39 +0000 (11:07 +0300)]
Add resolve and rename tests

5 years agoChange completion lookup policy to always autocomplete
Valentina Kiryushkina [Thu, 26 Nov 2015 11:57:01 +0000 (14:57 +0300)]
Change completion lookup policy to always autocomplete

5 years agoHandle rename
Valentina Kiryushkina [Wed, 25 Nov 2015 16:36:02 +0000 (19:36 +0300)]
Handle rename

5 years agoFix problem with adding completion from star argument, make element pattern more...
Valentina Kiryushkina [Wed, 25 Nov 2015 15:13:07 +0000 (18:13 +0300)]
Fix problem with adding completion from star argument, make element pattern more specific, merge completion provider classes

5 years agoLead to format arguments on Ctrl+Click on formatted string
Valentina Kiryushkina [Tue, 24 Nov 2015 17:36:14 +0000 (20:36 +0300)]
Lead to format arguments on Ctrl+Click on formatted string

5 years agoAdd tests for authocomplete in formated arguments and formatted strings
Valentina Kiryushkina [Tue, 17 Nov 2015 17:01:06 +0000 (20:01 +0300)]
Add tests for authocomplete in formated arguments and formatted strings

5 years agoAdd autocomplete for formatted strings
Valentina Kiryushkina [Tue, 17 Nov 2015 16:57:29 +0000 (19:57 +0300)]
Add autocomplete for formatted strings

5 years agoAdd autocomplete for string format arguments
Valentina Kiryushkina [Tue, 17 Nov 2015 09:00:39 +0000 (12:00 +0300)]
Add autocomplete for string format arguments

5 years agoAdd autocomplete for string format arguments
Valentina Kiryushkina [Tue, 17 Nov 2015 07:52:27 +0000 (10:52 +0300)]
Add autocomplete for string format arguments

5 years agoIDEA-148858 Memory leak for Swift file symbols clion/144.1981
Vassiliy.Kudryashov [Wed, 9 Dec 2015 17:17:17 +0000 (20:17 +0300)]
IDEA-148858 Memory leak for Swift file symbols

5 years agoFix module debugging in a new process (PY-17885)
Elizaveta Shashkova [Wed, 9 Dec 2015 17:07:04 +0000 (20:07 +0300)]
Fix module debugging in a new process (PY-17885)

We should change interpreter flag '-m' to debugger parameter '--module' in order to debug python modules

5 years agoenable debug logging in blinking test
Dmitry Batrak [Wed, 9 Dec 2015 17:06:03 +0000 (20:06 +0300)]
enable debug logging in blinking test

5 years ago[vfs] tracing in native file watcher and refresh worker
Roman Shevchenko [Wed, 9 Dec 2015 17:07:13 +0000 (18:07 +0100)]
[vfs] tracing in native file watcher and refresh worker

5 years agoIG: don't expect an array of generic type in "Suspicious 'Collection.toArray()' call...
Bas Leijdekkers [Wed, 9 Dec 2015 16:48:24 +0000 (17:48 +0100)]
IG: don't expect an array of generic type in "Suspicious 'Collection.toArray()' call" inspection

5 years agoIG: use correct JUnit Assert class when simplifying (IDEA-116423)
Bas Leijdekkers [Wed, 9 Dec 2015 16:30:57 +0000 (17:30 +0100)]
IG: use correct JUnit Assert class when simplifying (IDEA-116423)

5 years agoIG: add test
Bas Leijdekkers [Tue, 8 Dec 2015 19:46:35 +0000 (20:46 +0100)]
IG: add test

5 years agoSSR: enable case sensitive search for all predefined patterns (IDEA-149019)
Bas Leijdekkers [Tue, 8 Dec 2015 13:32:52 +0000 (14:32 +0100)]
SSR: enable case sensitive search for all predefined patterns (IDEA-149019)

5 years agoIG: detect synchronized collection in more cases
Bas Leijdekkers [Thu, 3 Dec 2015 20:42:16 +0000 (21:42 +0100)]
IG: detect synchronized collection in more cases

5 years agoguava type migration: wrong test data fixed
Dmitry Batkovich [Wed, 9 Dec 2015 16:52:33 +0000 (19:52 +0300)]
guava type migration: wrong test data fixed

5 years agoguava type migration: forgotten comparator from toSortedSet() is restored
Dmitry Batkovich [Wed, 9 Dec 2015 16:50:56 +0000 (19:50 +0300)]
guava type migration: forgotten comparator from toSortedSet() is restored

5 years agotype migration: allow to migrate elements with type parameters if root contains these...
Dmitry Batkovich [Wed, 9 Dec 2015 16:28:45 +0000 (19:28 +0300)]
type migration: allow to migrate elements with type parameters if root contains these type parameters (IDEA-147944)

5 years agoMerge remote-tracking branch 'origin/master'
Roman Shevchenko [Wed, 9 Dec 2015 16:13:23 +0000 (17:13 +0100)]
Merge remote-tracking branch 'origin/master'

5 years agoCleanup (binary compatibility restored; IDEA-CR-6817)
Roman Shevchenko [Wed, 9 Dec 2015 16:13:10 +0000 (17:13 +0100)]
Cleanup (binary compatibility restored; IDEA-CR-6817)

5 years agoallow specific regions to be removed on PSI invalidation (IDEA-131718) - required...
Dmitry Batrak [Wed, 9 Dec 2015 16:11:57 +0000 (19:11 +0300)]
allow specific regions to be removed on PSI invalidation (IDEA-131718) - required for folding of conditional compilation branches in CLion

fix typo

5 years agoCleanup (formatting)
Roman Shevchenko [Wed, 9 Dec 2015 16:11:27 +0000 (17:11 +0100)]
Cleanup (formatting)

5 years agoCleanup (formatting)
Roman Shevchenko [Wed, 9 Dec 2015 15:52:01 +0000 (16:52 +0100)]
Cleanup (formatting)

5 years agodo not show disabled drag cursor for the same line the breakpoint is on
Egor.Ushakov [Wed, 9 Dec 2015 15:46:39 +0000 (18:46 +0300)]
do not show disabled drag cursor for the same line the breakpoint is on

5 years agoguava type migration: process wildcards for transformAndConcat() IDEA-148094
Dmitry Batkovich [Wed, 9 Dec 2015 15:40:35 +0000 (18:40 +0300)]
guava type migration: process wildcards for transformAndConcat() IDEA-148094

5 years ago[platform] default log level set to warn; cleanup (IDEA-CR-7338)
Roman Shevchenko [Wed, 9 Dec 2015 15:39:38 +0000 (16:39 +0100)]
[platform] default log level set to warn; cleanup (IDEA-CR-7338)

5 years agoinspections: Fix all action use BatchQuickFix#applyFix if LocalQuickFix is instance...
Dmitry Batkovich [Wed, 9 Dec 2015 15:19:55 +0000 (18:19 +0300)]
inspections: Fix all action use BatchQuickFix#applyFix if LocalQuickFix is instance of BatchQuickFix instead of sequental application of LocalQuickFix-es

5 years agotype migration: unused field in TypeMigrationRules removed
Dmitry Batkovich [Wed, 9 Dec 2015 15:01:52 +0000 (18:01 +0300)]
type migration: unused field in TypeMigrationRules removed

5 years agobreakpoints dnd: check drop target and change caret appcode/144.1976 clion/144.1975
Egor.Ushakov [Wed, 9 Dec 2015 14:51:58 +0000 (17:51 +0300)]
breakpoints dnd: check drop target and change caret

5 years agoIDEA-144668 Ability to disable "Run config" and "test indicator" gutters: icons rendered
Dmitry Avdeev [Wed, 9 Dec 2015 14:46:05 +0000 (17:46 +0300)]
IDEA-144668 Ability to disable "Run config" and "test indicator" gutters: icons rendered

5 years agoIDEA-148164 Add translucent thumb over error stripes in the project view tree rubymine/144.1974
Sergey Malenkov [Wed, 9 Dec 2015 14:37:36 +0000 (17:37 +0300)]
IDEA-148164 Add translucent thumb over error stripes in the project view tree

5 years ago[test framework] cleaner behavior of CodeInsightTestFixture.copyFileToProject()
Roman Shevchenko [Wed, 9 Dec 2015 14:41:20 +0000 (15:41 +0100)]
[test framework] cleaner behavior of CodeInsightTestFixture.copyFileToProject()

5 years agonever downgrade Kotlin version when updating from sources: if currently bundled Kotli...
nik [Wed, 9 Dec 2015 14:24:21 +0000 (17:24 +0300)]
never downgrade Kotlin version when updating from sources: if currently bundled Kotlin plugin is newer than build/kotlinc, use the bundled plugin

5 years agoallow specific regions to be removed on PSI invalidation (IDEA-131718) - required...
Dmitry Batrak [Wed, 9 Dec 2015 14:20:46 +0000 (17:20 +0300)]
allow specific regions to be removed on PSI invalidation (IDEA-131718) - required for folding of conditional compilation branches in CLion

5 years agoIDEA-149081 Word "destructuring" is not in default dictionary in IDEA
Yann Cébron [Wed, 9 Dec 2015 14:20:45 +0000 (15:20 +0100)]
IDEA-149081 Word "destructuring" is not in default dictionary in IDEA

5 years agocenter dragged breakpoint image
Egor.Ushakov [Wed, 9 Dec 2015 13:18:32 +0000 (16:18 +0300)]
center dragged breakpoint image

5 years agoreverted fix for incorrect drag image offset (visible for example when dragging a...
Egor.Ushakov [Wed, 9 Dec 2015 13:16:29 +0000 (16:16 +0300)]
reverted fix for incorrect drag image offset (visible for example when dragging a breakpoint), simpler fix will follow

5 years agoCleanup (formatting)
Roman Shevchenko [Wed, 9 Dec 2015 13:18:20 +0000 (14:18 +0100)]
Cleanup (formatting)

5 years agomodules.xml reformatted
nik [Wed, 9 Dec 2015 13:09:40 +0000 (16:09 +0300)]
modules.xml reformatted

5 years agoAdded option to keep simple lambdas in one line (IDEA-148295)
Yaroslav Lepenkin [Wed, 9 Dec 2015 12:48:07 +0000 (15:48 +0300)]
Added option to keep simple lambdas in one line (IDEA-148295)

5 years agoAdded wrapped example o try-with-resource, so checking on any of checkboxes will...
Yaroslav Lepenkin [Wed, 9 Dec 2015 11:24:31 +0000 (14:24 +0300)]
Added wrapped example o try-with-resource, so checking on any of checkboxes will change something (IDEA-148908)

5 years agoReformat dialog on multiple files - disable rearrange if none of these files could...
Yaroslav Lepenkin [Wed, 9 Dec 2015 09:37:16 +0000 (12:37 +0300)]
Reformat dialog on multiple files - disable rearrange if none of these files could be rearranged (IDEA-148926)

5 years agoAdded prefix change listener for tracking state after char typing
Yaroslav Lepenkin [Thu, 3 Dec 2015 16:41:56 +0000 (19:41 +0300)]
Added prefix change listener for tracking state after char typing

5 years agoIDEA-119686 Cursor is blinking while dragging an icon in gutter
Egor.Ushakov [Wed, 9 Dec 2015 12:49:47 +0000 (15:49 +0300)]
IDEA-119686 Cursor is blinking while dragging an icon in gutter

5 years agoIDEA-148739 [follow-up]
Anton Tarasov [Wed, 9 Dec 2015 12:30:32 +0000 (15:30 +0300)]
IDEA-148739 [follow-up]

Cache retina images in "scale" instead of re-using "realIcon" which might have unwanted effective scale.

5 years agoresource bundle editor: use case insensitive comparator to compare property keys... phpstorm/144.1971
Dmitry Batkovich [Wed, 9 Dec 2015 12:19:28 +0000 (15:19 +0300)]
resource bundle editor: use case insensitive comparator to compare property keys in all places (IDEA-148792)

5 years agoMerge remote-tracking branch 'origin/master'
Vladimir.Orlov [Wed, 9 Dec 2015 12:10:26 +0000 (15:10 +0300)]
Merge remote-tracking branch 'origin/master'

5 years agoMerge remote-tracking branch 'origin/master'
Vladimir.Orlov [Wed, 9 Dec 2015 12:08:08 +0000 (15:08 +0300)]
Merge remote-tracking branch 'origin/master'

5 years agofixed incorrect drag image offset (visible for example when dragging a breakpoint)
Egor.Ushakov [Wed, 9 Dec 2015 12:06:38 +0000 (15:06 +0300)]
fixed incorrect drag image offset (visible for example when dragging a breakpoint)

5 years agoIDEA-CR-7349
Vladimir.Orlov [Wed, 9 Dec 2015 12:03:58 +0000 (15:03 +0300)]
IDEA-CR-7349

5 years agorevert: show usage word in find usage tree appcode/144.1968 clion/144.1969
Sergey Ignatov [Wed, 9 Dec 2015 11:49:11 +0000 (14:49 +0300)]
revert: show usage word in find usage tree

5 years agoIDEA-CR-7352 followup
Alexey Kudravtsev [Wed, 9 Dec 2015 11:47:26 +0000 (14:47 +0300)]
IDEA-CR-7352 followup

5 years agocleanup
Alexey Kudravtsev [Wed, 9 Dec 2015 11:47:00 +0000 (14:47 +0300)]
cleanup

5 years agocleanup
Alexey Kudravtsev [Tue, 8 Dec 2015 16:18:29 +0000 (19:18 +0300)]
cleanup

5 years agouse default language level for gradle-tests module
nik [Wed, 9 Dec 2015 11:41:06 +0000 (14:41 +0300)]
use default language level for gradle-tests module

5 years agogradle: get rid of cyclic dependency between tests gradle modules
Vladislav.Soroka [Wed, 9 Dec 2015 11:25:18 +0000 (14:25 +0300)]
gradle: get rid of cyclic dependency between tests gradle modules

5 years agoScan files on more threads [a=tomlu-google], pull request #333
Maxim.Mossienko [Wed, 9 Dec 2015 11:08:31 +0000 (12:08 +0100)]
Scan files on more threads [a=tomlu-google], pull request #333

5 years agosupporting version string format changes in java9: (IDEA-148995)
Eugene Zhuravlev [Wed, 9 Dec 2015 11:00:20 +0000 (12:00 +0100)]
supporting version string format changes in java9: (IDEA-148995)

5 years agocleanup, contiue MeteorDebugTest, move MeteorDebugProcess to JS Debugger module
Vladimir Krivosheev [Wed, 9 Dec 2015 10:56:29 +0000 (11:56 +0100)]
cleanup, contiue MeteorDebugTest, move MeteorDebugProcess to JS Debugger module

5 years agofixed incorrect drag image offset (visible for example when dragging in debugger...
Egor.Ushakov [Wed, 9 Dec 2015 10:58:10 +0000 (13:58 +0300)]
fixed incorrect drag image offset (visible for example when dragging in debugger variables tree)

5 years agocompilation fix
Vladislav.Soroka [Wed, 9 Dec 2015 10:36:40 +0000 (13:36 +0300)]
compilation fix

5 years agoIDEA-148739 [follow-up]
Anton Tarasov [Wed, 9 Dec 2015 10:28:37 +0000 (13:28 +0300)]
IDEA-148739 [follow-up]

1. Load @2x icons on Retina (JBUI.SCALE==1) in "scale".
2. Use "realIcon" when it's available instead of loading it anew.

5 years agotests from 'gradle' module extracted to a separate module to get rid of cyclic dependency
Vladislav.Soroka [Wed, 9 Dec 2015 10:22:23 +0000 (13:22 +0300)]
tests from 'gradle' module extracted to a separate module to get rid of cyclic dependency

5 years agoleast upper bound: pull unbounded wildcard up so types Number & Comparable<? extends...
Anna Kozlova [Wed, 9 Dec 2015 10:16:24 +0000 (11:16 +0100)]
least upper bound: pull unbounded wildcard up so types Number & Comparable<? extends Number & Comparable<?>> are produced instead of Number & Comparable<? extends Comparable<?>>
inferred type in bounds check cleanup: accept that inference result is not within its bounds and give the inference the second chance

5 years agonew inference: process type parameter lower bounds created during inference's bounds...
Anna Kozlova [Wed, 9 Dec 2015 10:05:53 +0000 (11:05 +0100)]
new inference: process type parameter lower bounds created during inference's bounds resolution to retrieve super substitutor

5 years agonew inference: resolve bounds: create valid fresh variables with non-denotable upper...
Anna Kozlova [Wed, 9 Dec 2015 10:04:10 +0000 (11:04 +0100)]
new inference: resolve bounds: create valid fresh variables with non-denotable upper bounds

5 years agoIDEA-148900 Editor slow when zooming
Dmitry Batrak [Wed, 9 Dec 2015 10:21:24 +0000 (13:21 +0300)]
IDEA-148900 Editor slow when zooming

don't use eagerly populated cache of char widths to speed up switching to a new font - usually we don't need all 128 first characters to render document text
as for lazy caching - it's implemented in JDK by FontMetrics instances

5 years agoguava type migration: when quick fix type is invalid, getText() throws exception...
Dmitry Batkovich [Wed, 9 Dec 2015 10:19:31 +0000 (13:19 +0300)]
guava type migration: when quick fix type is invalid, getText() throws exception (IDEA-149040)

5 years agowhen extracting root, remove leading slash for Windows in order to avoid java 9 incom...
Maxim.Mossienko [Wed, 9 Dec 2015 09:59:50 +0000 (10:59 +0100)]
when extracting root, remove leading slash for Windows in order to avoid java 9 incompatibilities

5 years agoanother attempt to fix blinking test
Dmitry Batrak [Wed, 9 Dec 2015 09:47:54 +0000 (12:47 +0300)]
another attempt to fix blinking test

5 years agoIDEA-148739 [follow-up] Enable gutter icons scaling by default
Anton Tarasov [Wed, 9 Dec 2015 09:28:13 +0000 (12:28 +0300)]
IDEA-148739 [follow-up] Enable gutter icons scaling by default

Set a limit to the cache of icons of different sizes. When a gutter icon is scaled up/down as one is zooming, it can take about 50 values. There's no need to keep all those sizes in the cache. Moreover, the cache is rather used for a "common case", when an icon is scaled to meet different modes, like "standard", "presentation" w/ combination of possible "scaled" state. So, "5" should be enough for the cache limit.

5 years agogradle tests: temporary added missing dependency
nik [Wed, 9 Dec 2015 09:24:11 +0000 (12:24 +0300)]
gradle tests: temporary added missing dependency

5 years agotry to fix blinking test
Dmitry Batrak [Wed, 9 Dec 2015 09:21:37 +0000 (12:21 +0300)]
try to fix blinking test

5 years agotests from 'gradle-tooling-extension-impl' module extracted to a separate module... appcode/144.1962 clion/144.1961 phpstorm/144.1960
nik [Wed, 9 Dec 2015 08:29:11 +0000 (11:29 +0300)]
tests from 'gradle-tooling-extension-impl' module extracted to a separate module to get rid of cyclic dependency with gradle module tests
 (we need this to set different language levels for 'gradle' module and 'gradle-tooling-extension-impl' module)

5 years ago* allow to remove collapsed fold regions on first code folding pass - so that 'approx...
Dmitry Batrak [Wed, 9 Dec 2015 07:56:08 +0000 (10:56 +0300)]
* allow to remove collapsed fold regions on first code folding pass - so that 'approximate' quick fold regions can be correctly replaced with fold regions calculated in background
* process all regions from the group in the same way - don't let only one region from the group to be removed

5 years agofix tests
Dmitry Batrak [Tue, 8 Dec 2015 16:07:15 +0000 (19:07 +0300)]
fix tests

5 years agoapp engine for java: specify 'web' framework as dependency only in IDEA Ultimate...
nik [Tue, 8 Dec 2015 19:28:47 +0000 (22:28 +0300)]
app engine for java: specify 'web' framework as dependency only in IDEA Ultimate to allow creating new app engine projects in CE