Commit Graph
10812 Commits
Author SHA1 Message Date
peter 020d2e48ad simplify PermanentDeleteFix (IDEA-CR-15631) 2016-11-11 13:21:58 +01:00
Anna.Kozlova 29b96470b4 inplace change signature: ensure detached/keep track of document change offset being invalidated by consequence changes 2016-11-11 12:46:01 +01:00
Alexey Kudravtsev 97e38ad11d cleanup 2016-11-11 14:00:11 +03:00
Anna.Kozlova d7485f0574 temp reject inplace change signature for super methods 2016-11-11 10:13:43 +01:00
Tagir Valeev 0fa3853dfb IDEA-163767: fixed for assignment, tests for assignment and ternary 2016-11-11 13:24:09 +07:00
Tagir Valeev 1d74e0af9d IDEA-163767 Simplify optional.isPresent() inspection doesn't suggest simplify trivial case 2016-11-11 13:14:55 +07:00
Tagir Valeev 9fe8c96b78 OptionalUtil#getMapTypeArgument: check nulls; remove 0-arg check 2016-11-11 12:02:36 +07:00
Tagir Valeev 7e574d661c IDEA-163764 "Replace Optional.isPresent() checks with functional-style expressions" create uncompilable code
IDEA-163463 Stream API migration: type argument before map appears sometimes when it's unnecessary
2016-11-11 11:28:44 +07:00
Tagir Valeev 67c4dfb483 Moved TypeUtils#getMethodReturnType -> PsiTypesUtil; used in LambdaUtil#getFunctionalInterfaceType amd PsiTypesUtil#getExpectedTypeByParent (IDEA-CR-15590) 2016-11-11 10:23:15 +07:00
Anna.Kozlova 71d9282b6c cascade safe delete/make static: don't start for methods with overriders (IDEA-162814) 2016-11-10 19:10:39 +01:00
peter 613c65bda9 make some quick fixes not require write action 2016-11-10 17:55:08 +01:00
Anna.Kozlova fd89b0ed18 introduce variable: distinguish lambda parameters but allow param free expressions (IDEA-163785) 2016-11-10 17:47:28 +01:00
Anna.Kozlova 20858b539e create test: if already exist, don't close initial dialog to eventually apply changes (IDEA-163452) 2016-11-10 10:52:14 +01:00
Anna.Kozlova 3b9bfd4c99 create test in same root: store answer per project (IDEA-163448) 2016-11-10 10:52:14 +01:00
Anna.Kozlova 848c1f215c inplace change signature: no detection, explicit action 2016-11-10 10:52:14 +01:00
Anna.Kozlova 6e84d187aa logging for EA-91053 - NPE: ExpectedTypesProvider$MyParentVisitor.findClassesWithDeclaredMethod 2016-11-10 10:52:14 +01:00
Dmitry Batkovich a3e003a945 unused return value: do not highlight methods with super 2016-11-10 10:36:29 +03:00
Tagir Valeev 4465e4420b TypeUtils#getMethodReturnType extracted 2016-11-10 11:48:45 +07:00
Tagir Valeev 898b985223 PsiDiamondTypeUtil#removeRedundantTypeArguments 2016-11-10 10:15:48 +07:00
Vladimir Krivosheev fe612d8088 remove app level fireProfileChanged/fireProfileChanged 2016-11-09 18:39:49 +01:00
Vladimir Krivosheev 33ab2e75be do not init project inspection profile on updateProfile — it will be done in any case (was already discussed and confirmed, this part of code was not updated) 2016-11-09 18:39:49 +01:00
Rustam Vishnyakov 2190bd7b27 Skip array content when searching for statement start (fixes WEB-24067 Some bugs with reformat code) 2016-11-09 19:06:34 +03:00
Roman Shevchenko 1a5ec5d9ab [platform] restores Kotlin compatibility; deprecates exposed fields 2016-11-09 13:45:07 +01:00
Rustam Vishnyakov fea1de9262 Fixed WI-33855 Indent is missing on the next line after pressing enter after do keyword 2016-11-09 13:24:14 +03:00
Anna.Kozlova 5d198925b9 provide empty default value when required 2016-11-09 10:16:01 +01:00
Tagir Valeev ff8a32476a StreamApiMigrationInspection: NPE fixed (EA-91387) 2016-11-09 12:27:15 +07:00
Alexey Utkin 9c4899c533 IDEA-160744 'Stop' field should be renamed + update preview 2016-11-08 16:34:48 +03:00
Anna.Kozlova 97aa05e7db replace processor with 1-limit with FindProcessor to stop at first element 2016-11-08 14:20:36 +01:00
Anna.Kozlova 65f7e7098f update moved file 2016-11-08 14:20:36 +01:00
Anna.Kozlova 112385d68d split write action so dialogs won't be shown from inside 2016-11-08 14:20:36 +01:00
Anna.Kozlova 26f30df96d show first result and start background thread to check the rest when search for implementations 2016-11-08 10:15:19 +01:00
Tagir Valeev 63b119cae8 ExpressionUtils.getAssignmentTo 2016-11-08 10:32:21 +07:00
Tagir Valeev 1227db0d42 JavaDoc for OptionalUtil#getOptionalElementType; MethodCallUtils#isCallToStaticMethod created and used; ExpressionUtils#isIdentityMapping -> isReferenceTo; used where applicable (IDEA-CR-15464). 2016-11-08 10:19:29 +07:00
peter bdb25aa4b8 run intentions under transaction (IDEA-CR-15393) 2016-11-07 15:05:26 +01:00
Dmitry Batkovich 5ff69b4d34 unused return value local inspection: don't treat void return types 2016-11-07 14:34:39 +03:00
Tagir Valeev 21564bba7b IDEA-163627 Simplify optional.isPresent() inspection could better handle some specific cases
IDEA-163462 Simplify Optional.isPresent() ? Optional.get() : ...
2016-11-07 17:23:00 +07:00
Dmitry Batkovich 5463bccdfd introduce local tool for unused return value 2016-11-07 12:56:30 +03:00
Dmitry Batkovich efc139e019 unused return value fix should replace return-statements in write action 2016-11-07 12:56:30 +03:00
Dmitry Batkovich 9f7f48cb3b unused return value inspection: do not cache quick fix (otherwise it doesn't work after inspection re-run) 2016-11-07 12:56:30 +03:00
Tagir Valeev acbb7bddda StreamToLoopInspection: added ExplicitCollectTerminalOperation; StreamVariable simplified; guard checks added (IDEA-CR-15249) 2016-11-07 12:19:09 +07:00
Anna.Kozlova d29d141809 change signature detection: exclude spaces at method signature tail 2016-11-04 19:39:36 +01:00
peter 54c6d66720 JavaClassNameInsertHandler: avoid EA-89320 - ISE: OffsetMap.getOffset 2016-11-04 16:33:21 +01:00
peter 857263f5dc prevent SOE on cyclic inheritance (EA-91135 - SOE: ExpectedTypesProvider.processAllSuperTypes) 2016-11-04 15:15:16 +01:00
peter 3675d5d890 catch INRE during deprecated check in favorites view (IDEA-163426) 2016-11-04 15:15:16 +01:00
Vladimir Krivosheev dd4cfd5e67 inherit-compiler-output — do not write default value (false) 2016-11-04 14:42:18 +01:00
Anna.Kozlova f481d55656 show member chooser in transaction to avoid unexpected psi modifications 2016-11-04 11:57:00 +01:00
peter db479037bf find usages and implementations should start in a transaction 2016-11-04 09:26:59 +01:00
Vladimir Krivosheev 2fba7f1d89 deprecate ExportableComponent 2016-11-03 17:03:14 +01:00
Anna.Kozlova 9c7b1ab1c4 definitions search: distinguish show implementations and goto implementations 2016-11-03 16:38:40 +01:00
Anna.Kozlova 188a32d193 remove cache (IDEA-CR-15349) 2016-11-03 16:38:40 +01:00