Commit Graph
28407 Commits
Author SHA1 Message Date
Egor.Ushakov 6ee30446dc EA-101327 - NPE: UnBoxingEvaluator.getInnerPrimitiveValue 2017-05-16 15:51:59 +03:00
Egor.Ushakov aa49eaec20 "filtered by" message when filtering is active 2017-05-16 15:51:59 +03:00
Alexander Zolotov f1d4a03836 Remove senseless but brittle test
The test checks that postfix template is NOT expanded by enter if an abbreviation was typed fast and completion lookup was not appeared before pressing Enter.

However, there is nothing wrong in expanding template if lookup was fast enough to appear before pressing Enter.

The second test should be kept, as it checks that Postfix template is expanded no matter is there lookup with template in it or not.
2017-05-16 14:57:49 +03:00
Anna Kozlova c01cdc6f1c varargs for java < 1.8 (IDEA-CR-21051) 2017-05-16 14:54:11 +03:00
Irina.Chernushina bde87d913a correct test info - sometimes static methods of LightQuickFixTestCase are called from other tests, so static project instance from LightQuickFixTestCase should not be used 2017-05-16 13:47:51 +02:00
Alexey Kudravtsev f6700b7e42 removed nonsensical comments generated by default code templates 2017-05-16 14:13:53 +03:00
Dmitry Batkovich 202266f5ad prefer most used weigher: if definition for a class is not found - it's not an error (a class can be introduced after last compilation) 2017-05-16 13:24:42 +03:00
Nicolay Mitropolsky 342da40713 UastCreateMethodFix new method finding simplification 2017-05-16 12:13:09 +02:00
Egor.Ushakov e8fecbf8c8 minor cleanup 2017-05-16 13:11:05 +03:00
Egor.Ushakov 03e940353a filter arrays and collections prototype 2017-05-16 13:11:05 +03:00
Egor.Ushakov 23898c3756 catch errors during filtering task 2017-05-16 13:11:04 +03:00
Egor.Ushakov b103d487e7 toString for debug 2017-05-16 13:11:04 +03:00
Egor.Ushakov 6e6b64fd16 cleanup : use StreamEx 2017-05-16 13:11:04 +03:00
Anna Kozlova 5459a3b0e0 update testdata (IDEA-CR-21114) 2017-05-16 11:39:50 +03:00
Vladimir Krivosheev 4ddc817883 remove ModifiableModel, migrate to use setToolEnabled 2017-05-16 10:25:13 +02:00
Dmitry Batkovich 8dbb78c788 method chain completion: use ExpressionLookupItem 2017-05-16 11:01:49 +03:00
Anna Kozlova 350f588c09 unused declaration: take refs from literals into account (IDEA-172447) 2017-05-16 09:08:10 +03:00
Tagir Valeev cf28cc4419 DfaFactMap/DfaFactType introduced (reviewed: IDEA-CR-20337) 2017-05-16 10:32:31 +07:00
Konstantin Bulenkov 8364b60fed Merge remote-tracking branch 'origin/master' 2017-05-16 01:16:00 +03:00
Anna Kozlova d634c51afe javadoc: include all throws unchecked exceptions from all super methods (IDEA-152938) 2017-05-15 18:59:37 +03:00
Dmitry Batkovich d7483f646d method chain completion: simplify code 2017-05-15 17:43:41 +03:00
Dmitry Batkovich f65f8430fb method chain completion: inline new keyword 2017-05-15 17:43:41 +03:00
Dmitry Batkovich 11d7d9e4cd method chain completion: remove unused method 2017-05-15 17:43:40 +03:00
peter 582f0f9571 IDEA-CR-20904 fixes after review (IDEA-123301 Show a warning if 'List<@Nullable X>' is passed to a place where 'List<@NotNull X'> is expected)
supported maps, inheritance, returns, functional expressions
2017-05-15 16:16:19 +02:00
Vladimir Krivosheev 8753c5d96a simplify — introduce forceCloseProject (test only)
Since Kotlin is not used, have to introduce such method to avoid (false, true, false, true, guessWhatIDo)
2017-05-15 16:09:08 +02:00
Dmitry Batkovich ba7f988b9b method chain completion: rename 2017-05-15 17:03:57 +03:00
Dmitry Batkovich 18592664b7 method chain completion: remove sub lookup element (automatic argument insertion) 2017-05-15 16:27:16 +03:00
Roman Shevchenko a56d2a511b [java] moves modular runtime detection code to util class 2017-05-15 15:23:40 +02:00
Dmitry Batkovich d4277c4ab3 cleanup: rename 2017-05-15 15:53:05 +03:00
Vladimir Krivosheev 16fdca9f08 cleanup — default implementation of processSentToBackground 2017-05-15 14:36:45 +02:00
Yaroslav Lepenkin c8b6a6500b [IDEA-167425] formatter: fixed misplaced rbrace position 2017-05-15 14:39:41 +03:00
peter f6885971b9 NullableStuffInspectionTest: use jdk 8 2017-05-15 13:32:46 +02:00
Alexey Kudravtsev 4b0a2282b2 remove redundant overrides of default methods 2017-05-15 13:51:44 +03:00
Nicolay Mitropolsky 17cb516d89 UastCreateMethodFix moved to com.intellij.codeInsight.daemon.impl.quickfix and refactored 2017-05-15 12:38:02 +02:00
Tagir Valeev 887708387d Objects.requireNonNull is not pure as it executes the passed lambda 2017-05-15 17:02:44 +07:00
Dmitry Batkovich d38f680fd6 type migration: fix type parameter migration for invalid code EA-100944 2017-05-15 12:56:11 +03:00
Pavel Dolgov c7d8ad3401 Java: Don't reuse cached ControlFlow when the context is not equivalent (IDEA-168768) 2017-05-15 12:34:52 +03:00
Tagir Valeev 67e97bc713 ObviousNullCheckInspection: ignore null literals 2017-05-15 15:11:38 +07:00
Konstantin Bulenkov 8414ba735a assign name for toolbar
Signed-off-by: Konstantin Bulenkov <kb@jetbrains.com>
2017-05-15 10:26:26 +03:00
Konstantin Bulenkov 19e1c7a395 ActionPlaces.UNKNOWN -> real name for toolbars
Signed-off-by: Konstantin Bulenkov <kb@jetbrains.com>
2017-05-15 10:24:56 +03:00
Konstantin Bulenkov a2b0786287 ActionPlaces.UNKNOWN -> real name for toolbars
Signed-off-by: Konstantin Bulenkov <kb@jetbrains.com>
2017-05-15 10:24:15 +03:00
Konstantin Bulenkov eb0fc02834 ActionPlaces.UNKNOWN -> real name for toolbars
Signed-off-by: Konstantin Bulenkov <kb@jetbrains.com>
2017-05-15 10:23:59 +03:00
Konstantin Bulenkov 5cc79961e9 name place for package chooser toolbar
Signed-off-by: Konstantin Bulenkov <kb@jetbrains.com>
2017-05-15 10:22:22 +03:00
Konstantin Bulenkov b11e693bda name artifact editor toolbar
Signed-off-by: Konstantin Bulenkov <kb@jetbrains.com>
2017-05-15 10:17:58 +03:00
peter 29672cb324 java smart completion: prefer all items with exactly expected type, not only classes (IDEA-169490) 2017-05-15 09:16:00 +02:00
peter 75f8c42d7f let FunctionalExpressionCompletionProvider and MethodReferenceCompletionProvider work in different contexts to avoid duplicate variants 2017-05-15 09:07:29 +02:00
Tagir Valeev 1305a60e44 IDEA-172798 "Immutable collection creation can be replaced" to remove temporary variable used for assignment 2017-05-15 13:21:05 +07:00
Tagir Valeev b3339b7cfd IDEA-165108 Objects.requireNonNull with argument of primitive type should be reported as warning 2017-05-15 13:08:30 +07:00
Maxim.Mossienko 094d0b26fe Stray swap file in intellij-community (IDEA-172846) 2017-05-14 08:10:10 +02:00
Maxim.Mossienko fa12df795c (instead of numerous stub index locks) use stub_updating_index's lock for processing stubs, flushing, clearing, disposing
as side effect accessing stub indices during processing other stub indices is allowed
2017-05-14 01:36:12 +02:00