Commit Graph
8284 Commits
Author SHA1 Message Date
peter d408fdc798 IDEA-161250 Semicolon added in the middle of code 2016-09-15 12:03:42 +02:00
Tagir Valeev be442cdaca IDEA-161258 Add Java-8 migration fix to use Map.getOrDefault() where appropriate 2016-09-15 16:51:37 +07:00
Tagir Valeev 8c3bbd3b2c IDEA-161260 Migration to findFirst(): Support more expression kinds in the last return statement 2016-09-15 16:30:49 +07:00
Tagir Valeev f3e1bd900e IDEA-161194 Add inspection to optimize Stream.filter(...).findAny().isPresent() to anyMatch(...) 2016-09-15 13:20:50 +07:00
Tagir Valeev 5a5929c43f IDEA-161260 Stream API Migration: support findFirst() patterns 2016-09-15 12:13:11 +07:00
Tagir Valeev 8722eec61f IDEA-161202 Replace Collections.sort with List.sort in Java-8 2016-09-15 11:24:08 +07:00
Tagir Valeev 9cac1fb1e7 ComparatorCombinatorsInspection: same family name; naturalOrder()/reverseOrder() support 2016-09-15 10:36:03 +07:00
peter 0517ecae8e don't try to complete anonymous outer class method references (IDEA-CR-13773) 2016-09-14 16:48:21 +02:00
Yaroslav Lepenkin 673461c204 [Parameter Name Hints] show hint for vararg if any of it's params is literal 2016-09-14 17:11:23 +03:00
Yaroslav Lepenkin 0f38f85e55 [Parameter Name Hints] rewriting test with InlayModel 2016-09-14 14:43:33 +03:00
Yaroslav Lepenkin 06db71cea0 [Parameter Name Hints] show for varargs, extracted name hints tests to separate suite 2016-09-14 14:43:33 +03:00
Maxim.Mossienko 7b5b5f20d6 IDEA-159341
Replace in file: Regex for start of line matches twice on empty lines
2016-09-14 13:26:54 +02:00
Maxim.Mossienko dd946ffbe9 Regex Find always case-sensitive with non-english characters (IDEA-104681) 2016-09-14 12:25:50 +02:00
Tagir Valeev c4606516e7 IDEA-CR-13639 LambdaCanBeMethodReferenceInspection refactored, more detailed option messages 2016-09-14 15:50:16 +07:00
Tagir Valeev e47c438b25 IDEA-CR-13704 ComparatorCombinatorsInspection: support block lambdas; EquivalenceChecker used 2016-09-14 12:31:14 +07:00
peter 250331a1d2 generate runtime assertions for any default notnull annotation (IDEA-76782) 2016-09-13 17:55:46 +02:00
peter 4ca9fb5197 java completion: include outer classes into display name and lookup string after new (IDEA-160509) 2016-09-13 17:55:46 +02:00
peter 2b69e1d7ec IDEA-160958 Smart completion should suggest method references of outer class 2016-09-13 17:55:44 +02:00
peter 7de306e76b IDEA-161034 Code completion should be provided for static method references too 2016-09-13 17:55:44 +02:00
peter 3198ad655d IDEA-161074 Constant field completion breaks formatting 2016-09-13 17:55:42 +02:00
Maxim.Mossienko f2eccfa6c5 remove selection made during search when nothing was found 2016-09-13 15:18:31 +02:00
Dmitry Batkovich d7bbe1e387 TreeUtil.Traverse is @FunctionalInterface now + lambdify usages 2016-09-13 13:38:14 +03:00
Tagir Valeev e2c7ca2fff IDEA-161007 Support method chains and comparingInt/Long/Double 2016-09-13 16:03:36 +07:00
Tagir Valeev c29dc4e3a4 IDEA-161002 Support cases like if(...) { for(...) {...} } return false; 2016-09-13 12:21:27 +07:00
Tagir Valeev 9540aeb8c2 IDEA-CR-13640 Suggest variable name based on type 2016-09-13 11:35:14 +07:00
peter 83e006b1c1 IDEA-161070 Memory leaks of LightVirtualFiles 2016-09-12 17:01:15 +02:00
Roman Shevchenko 210e6844ac Merge remote-tracking branch 'origin/master' 2016-09-12 17:14:46 +03:00
Roman Shevchenko 48ce294241 [java] javadoc in modules 2016-09-12 17:13:22 +03:00
Anna Kozlova fe3c8e1843 create from usage: setup extends/implements list according to created pairs (IDEA-160973) 2016-09-12 14:40:07 +03:00
Tagir Valeev dc37f19e2b IDEA-161007 Add new inspection to make comparator lambdas use Comparator.comparing() combinators (Currently only simple comparators supported) 2016-09-12 17:50:47 +07:00
Tagir Valeev 6da7838df4 IDEA-161002 anyMatch/noneMatch disabled for non-final vars; allMatch is supported 2016-09-12 14:28:24 +07:00
Tagir Valeev 821b6c83f0 IDEA-CR-13651 BoolUtils.getNegatedExpressionText() used and fixed for float/double (to preserve semantics for NaNs) 2016-09-12 11:36:31 +07:00
peter f62c4f3d91 fail harder, but recover, when wrong line separators are inserted into a document
don't let PSI/document text inconsistency remain there forever
2016-09-09 21:43:46 +02:00
peter 2a7de43773 let LibraryRuntimeClasspathScope include library source (IDEA-160975) 2016-09-09 21:43:46 +02:00
Alexey Kudravtsev bd2bb911f0 Removed deprecated OWN_THREAD, SHARED_THREAD. Made Alarm more strict by not accepting POOLED_THREAD without disposable 2016-09-09 14:37:06 +03:00
Alexey Kudravtsev cd4c1b08ae new inspection: deprecated member is used 2016-09-09 13:53:38 +03:00
Tagir Valeev 884043aacc IDEA-161002 Migration to Stream API: convert return true/return false to anyMatch/noneMatch 2016-09-09 17:41:19 +07:00
Roman Shevchenko eb95ee1eab [java] module dependency quick fixes 2016-09-09 12:36:08 +03:00
Tagir Valeev 610a2a914b IDEA-151523 Method reference is not created unconditionally now (for complex qualifier or non-final field it could be incorrect) 2016-09-09 13:58:56 +07:00
Tagir Valeev 6d5901be86 IDEA-160946 Labeled continue is excluded; understand if(..) continue else {...}; more tests 2016-09-09 11:22:00 +07:00
Roman Shevchenko f15e6d0419 Merge remote-tracking branch 'origin/master' 2016-09-08 22:36:05 +03:00
Roman Shevchenko 09cb3081a8 [java] resolves Java module references according to a project model 2016-09-08 22:34:26 +03:00
Roman Shevchenko c11ddd6215 [tests] generalizes module-info tests 2016-09-08 20:11:06 +03:00
Pavel Dolgov 9d7e978baf Java inspection: Added lambda expression tests for "Move return to computation" inspection (IDEA-121153) 2016-09-08 16:22:07 +03:00
Pavel Dolgov 898ab196d9 Java inspection: Check if the returned variable is read in the 'finally' block of an enclosing 'try' statement in "Move return to computation" inspection (IDEA-121153) 2016-09-08 16:22:07 +03:00
Pavel Dolgov 6212f4138a Java inspection: Don't look for assignment chains in nested code blocks in "Move return to computation" inspection (IDEA-121153) 2016-09-08 16:22:07 +03:00
Tagir Valeev 29097076aa IDEA-160946 Stream API migration: understand if(...) continue at the beginning of the loop 2016-09-08 18:19:27 +07:00
Vladimir Krivosheev 104bf64557 path.kt — change package to com.intellij.util.io 2016-09-08 12:13:08 +02:00
Tagir Valeev c4b6464524 IDEA-160802 fixed case with collection summing 2016-09-08 16:53:51 +07:00
Tagir Valeev 55c8f0cf46 IDEA-151523 Replace with collect when working with an existing collection 2016-09-08 15:22:06 +07:00