Commit Graph
224143 Commits
Author SHA1 Message Date
Tagir Valeev ee605ddc46 AssignFieldFromParameterAction: check whether final field is already initialized 2018-07-06 17:52:50 +07:00
Anton Tarasov c2a864e180 IDEA-194995 slow scrolling in svg viewer 2018-07-06 13:21:25 +03:00
Roman Shevchenko ed35574ff7 Cleanup (unneeded 'throws') 2018-07-06 12:14:06 +02:00
Tagir Valeev 1676cc3ff8 IntentionPolicy: typo fixed (IDEA-CR-34618) 2018-07-06 17:07:22 +07:00
Tagir Valeev 069b588cde testParenthesesDontChangeIntention: fixes according to review IDEA-CR-34618
1. Support deparenthesizing in UnnecessaryConstantArrayCreationExpressionInspection; remove from exceptions
2. Link to IDEA-179081
3. Pull up shouldSkipByFamilyName
4. Explanatory comment on skipping elements with start offset equals to caret position
2018-07-06 17:03:12 +07:00
Roman Shevchenko c802e28988 [platform] fixes symlink resolve in Windows file access helper (unnecessary warning) 2018-07-06 12:01:23 +02:00
Anna.Kozlova 304edc4e19 extract method object: reuse component with highlighting for signature preview (IDEA-195081) 2018-07-06 11:58:07 +02:00
Mikhail Sokolov 31775c5fdd IDEA-195025 New SE: Show all plugins in "Actions" 2018-07-06 12:53:57 +03:00
nik 1e27288040 devkit: automatically load optional dependencies in tests (IDEA-183006)
Tests of a plugin may depends on code from optional dependencies of that plugin so we need to enable such depedencies when running tests.
2018-07-06 12:38:26 +03:00
Tagir Valeev c08578a8b8 AnonymousCanBeLambdaInspection: support parenthesized anonymous class 2018-07-06 16:30:52 +07:00
Tagir Valeev 7f9840045c JavaIntentionPolicy: more exceptions 2018-07-06 16:30:51 +07:00
Roman Shevchenko 8522de3eed Cleanup (formatting) 2018-07-06 11:26:56 +02:00
Nicolay Mitropolsky 6c12113b5a getContainingMethodOrLambdaReturnType moved to AnalysisUastUtil (IDEA-CR-34609) 2018-07-06 12:24:31 +03:00
Roman Shevchenko 3d189cd131 Cleanup (drops unneeded .dll entry point) 2018-07-06 11:17:15 +02:00
Kirill Likhodedov f467f3e035 git: cleanup: remove unused method 2018-07-06 12:14:40 +03:00
Kirill Likhodedov c7f9bb567f git: NotNull 2018-07-06 12:13:48 +03:00
Roman Shevchenko 5dea1916d9 [platform] migrates Windows filesystem helper to plain C 2018-07-06 10:44:18 +02:00
Dmitry Batkovich cc3caac53c inspection settings: check selection paths not null EA-123220 2018-07-06 11:14:32 +03:00
Tagir Valeev 9b9e133042 JavaCodeInsightSanityTest#testParenthesesDontChangeIntention 2018-07-06 15:13:15 +07:00
Tagir Valeev abc5d98a07 InlineStreamMapAction: testdata fixed 2018-07-06 15:13:14 +07:00
Tagir Valeev df28f9a4c0 RedundantExplicitCloseInspection: support parentheses in close(); fixed support of resource expression; check field qualifiers 2018-07-06 15:13:13 +07:00
Tagir Valeev b0cc9d68d4 InlineStreamMapAction: support parenthesized chain 2018-07-06 15:13:12 +07:00
Tagir Valeev 5639829e97 LambdaCanBeMethodReferenceInspection: support parentheses around whole lambda body 2018-07-06 15:13:11 +07:00
Roman Shevchenko f7956ff371 [project] better 64-bit target detection in Windows helpers' CMake files 2018-07-06 10:10:14 +02:00
Dmitry Batkovich 8dce10b8d8 EA-123487 use alternative resolve to find discovered tests in dumb mode 2018-07-06 11:08:16 +03:00
Roman Shevchenko 09bcb06270 [platform] Windows file watcher fixes, binaries+tests (IDEA-192665)
It no longer rejects paths with symlinks/junctions, but checks that they do not point to UNC paths.
2018-07-06 09:42:58 +02:00
Roman Shevchenko 16f59f289b [platform] fixes symlink resolve in Windows file access helper (platform part, binaries, tests) 2018-07-06 09:40:21 +02:00
Nicolay Mitropolsky f802d0c8c6 [reactor] *NonBlockingScopeInspection should check lambdas also 2018-07-06 10:08:56 +03:00
Anna.Kozlova 345acde567 cleanup IDEA-CR-34595 2018-07-06 09:02:36 +02:00
Roman Shevchenko 8b8a15d13f [platform] fixes symlink resolve in Windows file access helper (native part) 2018-07-06 09:00:44 +02:00
Tagir Valeev fe6ebf0a01 ConvertCompareToToEqualsIntention: support parentheses 2018-07-06 13:58:56 +07:00
Tagir Valeev 4d1b9a6653 I18nInspection: support parenthesized variable initializer 2018-07-06 13:58:55 +07:00
Tagir Valeev 83c4c3764d ImplicitNumericConversionInspection: support array access 2018-07-06 13:58:54 +07:00
Tagir Valeev ebc827e11a LiteralAsArgToStringEquals: fix quick-fix and test 2018-07-06 13:58:53 +07:00
Tagir Valeev c69fc7d594 LengthOneStringInConcatenationInspection: support parentheses 2018-07-06 13:58:52 +07:00
Tagir Valeev 1325835ce7 StreamToLoop: support parenthesized collectors 2018-07-06 13:58:52 +07:00
Tagir Valeev eda88dd574 DataFlowInspection: unwrap parentheses when checking if redundant assignment is inside class initializer 2018-07-06 13:58:51 +07:00
Tagir Valeev 5777239b52 ExtractToMethodReferenceIntention: fix for anonymous class argument 2018-07-06 13:58:50 +07:00
Tagir Valeev 18cf75762b CharToStringPredicate: reuse StringToCharPredicate#isInConcatenationContext 2018-07-06 13:58:49 +07:00
Tagir Valeev d327e1acdc FoldExpressionIntoStreamInspection: deparenthesize when testing whether it's too simple case 2018-07-06 13:58:48 +07:00
Tagir Valeev cf64d92692 AddJavadocIntention: disable at field initializers
Add JavaDoc was available at initializer in some rare cases, e.g. "String foo = b<caret>ar;" (initializer is a simple reference), which was inconsistent and confusing (will the action add JavaDoc to "foo" or to "bar"?
2018-07-06 13:58:47 +07:00
Tagir Valeev ce5858ed26 ReplaceNullCheckInspection: support parentheses in condition 2018-07-06 13:58:46 +07:00
Tagir Valeev 5f3842bf99 RedundantArrayForVarargsCallInspection: support parenthesized array 2018-07-06 13:58:45 +07:00
Tagir Valeev c3778b8706 CreateLocalVarFromInstanceofAction: use EquivalenceChecker which is more robust (in particular against parentheses) 2018-07-06 13:58:44 +07:00
Tagir Valeev 79ab032b1b ReturnSeparatedFromComputationInspection: support parentheses 2018-07-06 13:58:44 +07:00
Tagir Valeev d516456163 CountingLoop: support parenthesized condition 2018-07-06 13:58:43 +07:00
Tagir Valeev f0ce91414c LiteralAsArgToStringEquals: support parenthesized literal 2018-07-06 13:58:42 +07:00
Tagir Valeev 6a0d246b06 SizeReplaceableByIsEmpty: support parentheses 2018-07-06 13:58:41 +07:00
Tagir Valeev 3b93111a69 ImplicitNumericConversionInspection: long x = (100): convert to 100L instead of (long)(100) 2018-07-06 13:58:40 +07:00
Tagir Valeev afa5acddf0 ConstantSubexpressionPredicate: don't treat expression as subexpression if it's just parenthesized 2018-07-06 13:58:39 +07:00