Commit Graph
10739 Commits
Author SHA1 Message Date
Vladimir Krivosheev 6dbe6b27f5 avoid InspectionProfileImpl class cast 2016-10-27 16:30:27 +02:00
Yaroslav Lepenkin 027df2e7c9 [Parameter Name Hints] do not show hints for generic builders (IDEA-163214) 2016-10-27 16:08:30 +03:00
Dmitry Batkovich 085dbbf603 show lambda text in hierarchy tree 2016-10-27 15:50:00 +03:00
Dmitry Batkovich d923922426 render functional expressions in same way as anonymous classes in show implementations 2016-10-27 15:42:44 +03:00
Ivan Bessonov d2622e1a62 Ability to store LANGUAGE_LEVEL in file user data, required for correct work of GWT client inclusion/exclusion patterns 2016-10-27 14:42:38 +03:00
Anna.Kozlova 252a076718 remove invokeLater as code works inside EDT anyway
EA-89708 - assert: PsiDocumentManagerBase.commitAllDocuments
2016-10-27 11:49:19 +02:00
Anna.Kozlova 54aaa0158c EA-90615 - NPE: ConstructorParameterOnFieldRenameRenamer.<init> 2016-10-27 11:49:19 +02:00
Anna.Kozlova 2886f6d968 @NotNull 2016-10-27 11:49:19 +02:00
Tagir Valeev a71f76403a variable.getUseScope() removed from ReferencesSearch (IDEA-CR-14823) 2016-10-27 10:49:26 +07:00
Anna.Kozlova 6d2b61eb19 restore create subclass for decompiled classes (IDEA-163147) 2016-10-26 19:13:17 +02:00
Tagir Valeev 2f311f5823 StreamApiMigrationInspection: add guard checks for control flow offsets (EA-90493) 2016-10-26 12:35:59 +07:00
Dmitry Batkovich 7b35665044 java functional expressions: render functional expressions in show implementation using stubs if possible 2016-10-25 21:35:36 +03:00
Anna.Kozlova 48931b33c8 create test action: choose one of dependent modules only when exactly one exists with test root (IDEA-163111) 2016-10-25 15:43:56 +02:00
Yaroslav Lepenkin 69b0ba44e8 [Parameter Name Hints] do not show in exception constructors 2016-10-25 16:09:04 +03:00
Anna.Kozlova b5efcf9fc7 EA-90451 - assert: MultipleRootsMoveDestination.getOrCreateDirectoryForSource 2016-10-25 14:14:57 +02:00
Tagir Valeev e5c3eee6b1 StreamApiMigrationInspection: var scope removed (IDEA-CR-14823) 2016-10-25 18:22:15 +07:00
Yaroslav Lepenkin 8c52bd3f9c [Parameter Name Hints] refactoring, removed language field from hints provider extension 2016-10-25 13:59:44 +03:00
Tagir Valeev 6e3d0c6c0e IDEA-163082 "can be replaced with addAll" inspection suggests a recursive call; support "this" qualifier for collect/addAll conversion 2016-10-25 11:38:24 +07:00
Tagir Valeev 4ce59ee865 Stream API Migration: do not add type arguments if a type is a wildcard type 2016-10-25 11:10:08 +07:00
peter 1cabe6b391 TypeMigrationLabeler invokeLater: be prepared to possible PSI invalidations 2016-10-24 18:12:27 +02:00
Alexey Kudravtsev 677a5280eb annotate varargs methods with SafeVarargs or add corresponding external annotation to get rid of yellow callsites 2016-10-24 15:11:30 +03:00
Tagir Valeev d51f09d0d5 Stream API Migration: fix cases when boxed collection is iterated with primitive parameter (inspired by PR https://github.com/JetBrains/intellij-community/pull/455 by FHannes) 2016-10-24 17:44:45 +07:00
Anna.Kozlova 6562174c08 EA-90397 - NPE: SafeDeleteJavaCallerChooser.lambda$null$ 2016-10-24 12:31:29 +02:00
Tagir Valeev 7620508bc3 Stream API migration: ignore mutable variables in nested lambdas/anonymous classes; add type argument to map/mapToObj calls where necessary 2016-10-24 11:01:06 +07:00
Tagir Valeev aff7104a99 Stream API migration: add narrowing cast if necessary when replacing += with sum() 2016-10-24 10:28:29 +07:00
peter 9c49c62530 replace AccessToken write action API usages with lambda-passing 2016-10-22 10:24:28 +02:00
Roman Shevchenko 0994cb6d50 Merge remote-tracking branch 'origin/master' 2016-10-21 18:28:09 +02:00
Roman Shevchenko 28e8e4a22a Cleanup (dead code; warnings; formatting) 2016-10-21 18:21:32 +02:00
Roman Shevchenko 116065fe63 [java] JRT file system API 2016-10-21 18:07:30 +02:00
Anna.Kozlova 260c6317c8 inline local: go through lambda/inner class hierarchy evenly (IDEA-162909) 2016-10-21 14:52:31 +02:00
Anna.Kozlova 8a276d0bf4 introduce variable: allow introduction of expression from inside for loop if independent from loop vars (IDEA-162911) 2016-10-21 14:52:31 +02:00
Tagir Valeev 3df2d1925d IDEA-162945 Stream API migration: support cases where variable is modified and reassigned 2016-10-21 15:09:35 +07:00
Tagir Valeev 8c6088647b IDEA-162875 Stream API migration: support conversion to BufferedReader.lines() 2016-10-21 12:10:10 +07:00
Dmitry Batkovich 9f2b0f3a33 type migration: fix some warnings 2016-10-20 23:37:56 +03:00
Anna.Kozlova 94105ecee4 inline to anonymous: allow to inline from library (IDEA-162893) 2016-10-20 19:04:25 +02:00
Anna.Kozlova 6d286a5ec7 add module dependency: check if there are modules to add dependency on 2016-10-20 19:04:25 +02:00
Anna.Kozlova bf60885576 inline chained constructor from library class 2016-10-20 19:04:25 +02:00
peter 9ffa29ca2d doPostponedFormatting after formatting in completion after new (IDEA-CR-14717) 2016-10-20 18:16:36 +02:00
Anton Tarasov b0737a9f3a [followup] IDEA-162563 Action menus do not have icons under HiDPI linux
- New interface: JBUI.JBIcon. EmptyIcon now implements it.
- New method: JBUI.scale(JBIcon)
2016-10-20 16:12:56 +03:00
Anna.Kozlova 22c8ebf4bf hide add new array expression for non inferred types 2016-10-20 13:14:23 +02:00
Anna.Kozlova 8952680a73 completion: infer Throwable for thrown bounds in completion so more candidates would be applicable (IDEA-162710) 2016-10-20 13:14:23 +02:00
Roman Shevchenko 611018f2fa Merge remote-tracking branch 'origin/master' 2016-10-20 09:45:42 +02:00
Tagir Valeev 74ae9731a8 IDEA-162694 Improve "Merge filter chain" intention 2016-10-20 11:19:25 +07:00
peter 1831c53320 constructor completion: implement anonymous methods after arg live template (IDEA-CR-14717) 2016-10-19 19:27:57 +02:00
peter 5b863d7817 constructor completion: insert the chosen constructor and position the caret accordingly (IDEA-CR-14717) 2016-10-19 19:27:57 +02:00
Roman Shevchenko d77241c459 [java] extracts module virtual file detection routine 2016-10-19 18:12:44 +02:00
Tagir Valeev 19af166e5d IDEA-CR-14593: MethodRefCanBeReplacedWithLambdaInspection#isWithSideEffects -> LambdaRefactoringUtil#canConvertToLambda; mapToFlatMap extracted 2016-10-19 16:25:20 +07:00
peter 2824ee87e4 java completion: fix "{} ()" when choosing anonymous class constructor with parameters 2016-10-19 09:23:15 +02:00
Yaroslav Lepenkin 45bce36692 [Parameter Name Hints] show for binary and polyadic expressions 2016-10-18 18:08:36 +03:00
Yaroslav Lepenkin 7a6ccee859 [Parameter Name Hints] added couple more filtered items 2016-10-18 17:12:36 +03:00