Commit Graph
12771 Commits
Author SHA1 Message Date
Anna.Kozlova 20ebd5fee1 postpone open files in the editor after write action completes
EA-114507 - assert: NoSwingUnderWriteAction.lambda$watchForEvents$
2018-01-12 10:49:32 +01:00
Alexey Utkin fa46368c86 Merge remote-tracking branch 'origin/master' 2018-01-12 11:32:54 +03:00
Alexey Utkin 524516114f CPP-2906 OC-13262 Code Fold of control flow statements (if/else, do/while, for, switch)
move java-code to shared package
2018-01-12 11:28:40 +03:00
Anna.Kozlova 796d03edf9 ExpressionUtil to be reused in ControlFlowUtil 2018-01-11 19:31:43 +01:00
Dmitry Batrak bc744fbb88 fix hint popup for enum's 'valueOf' method
following IDEA-CR-28445
2018-01-11 19:59:09 +03:00
Dmitry Batkovich bc7d9fa388 unused declaration: do no suggest delete/comment container when problem has been provided by satellite inspection 2018-01-11 19:52:37 +03:00
Dmitry Batkovich 9e17a01768 reduce code duplication among remove parameter fixes 2018-01-11 19:22:27 +03:00
peter 89c7f615b4 analyze stacktrace, normalize: don't eat backslashes 2018-01-11 16:47:15 +01:00
Pavel Dolgov 68bbf879b6 Java: Test for fix for "unresolved package" error in module-info.java (IDEA-176421) 2018-01-11 18:17:50 +03:00
Pavel Dolgov bf89486dfa Java: Fix "unresolved package" error in module-info.java by creating a class in that package (IDEA-176421) 2018-01-11 18:17:50 +03:00
Dmitry Batrak 7a1d26e771 fix hint popup for enum's 'valueOf' method 2018-01-11 17:52:17 +03:00
Alexey Utkin 47b533f84f CPP-2906 Code Fold of control flow statements (if/else, do/while, for, switch)
ObjectiveC implementation and tests
2018-01-11 14:26:35 +03:00
Alexey Utkin 52f1eace5d Merge remote-tracking branch 'origin/master' 2018-01-11 14:23:18 +03:00
Alexey Kudravtsev 2902055cba cleanup 2018-01-11 14:16:44 +03:00
Alexey Utkin 3611ec302c Merge remote-tracking branch 'origin/master' 2018-01-11 13:38:46 +03:00
Roman Ivanov b77e1f16be EndlessStreamInspection created: IDEA-155216 2018-01-11 17:34:23 +07:00
Roman Ivanov 52ffac3745 MoveConditionToLoopInspection inspection created: IDEA-117791 2018-01-11 17:34:22 +07:00
Alexey Utkin 356657307b CPP-2906 Code Fold of control flow statements (if/else, do/while, for, switch)
move java-code to shared package
2018-01-10 18:33:05 +03:00
Anna.Kozlova bd93a780b8 preserve imports specified in test templates during optimize on-the-fly
IDEA-90048;IDEA-131092
2018-01-10 15:16:43 +01:00
peter 80875741b8 IDEA-174659 Autocomplete generic parameters according to type restriction 2018-01-10 15:11:03 +01:00
peter e230b13716 java completion: improve constructor reference suggestions
show class qualified name (IDEA-182806)
add navigation to the class
as a result, sorting by proximity now works, and so lambdas have to be preferred explicitly
2018-01-10 12:38:47 +01:00
peter 0b4e9557d2 java completion: relax non-initialized field filtering to avoid false positives (IDEA-174744) 2018-01-10 10:00:25 +01:00
Tagir Valeev 50666e1183 Unnecessary null check before instanceof removed 2018-01-10 13:26:21 +07:00
peter 1712207c49 IDEA-126898 Auto-complete for places where exceptions are expected should favor subclasses of Throwable and should also analyze method body for runtime exceptions thrown. 2018-01-09 23:22:33 +01:00
Anna.Kozlova ee559693e0 add static import: don't suggest private inner by default (IDEA-158284) 2018-01-09 17:32:57 +01:00
Roman Shevchenko ccfea79efd [java] "surround with try-with-resources" can't be used on a broken code (IDEA-181271) 2018-01-09 17:19:40 +01:00
Alexey Kudravtsev 1021f8e0c1 IDEA-184196 No "Implements via subclass" icon when a method is final 2018-01-09 17:59:00 +03:00
Pavel Dolgov c46aa58e77 Java: Updated tests for creating unresolved class for Java 9 service (IDEA-183452) 2018-01-09 17:31:19 +03:00
Pavel Dolgov b2a7e2738c Java: UI for choosing source root when creating unresolved class for Java 9 service (IDEA-183452) 2018-01-09 17:31:19 +03:00
Pavel Dolgov 7958911fd7 Java: Create unresolved class for Java 9 service interface (IDEA-183452) 2018-01-09 17:31:19 +03:00
Pavel Dolgov d9575a696a Java: Create unresolved class for Java 9 service implementation (IDEA-183452) 2018-01-09 17:31:19 +03:00
Anna.Kozlova 2caa975229 add warning for replace write occurrences (IDEA-157922) 2018-01-09 13:08:57 +01:00
Bas Leijdekkers 941003eae3 IG: remove redundant "Constant 'if' statement" inspection 2018-01-09 12:41:53 +01:00
peter d4ab5f0efb java completion: don't delete everything if class name coincides with package (IDEA-180284) 2018-01-08 20:52:44 +01:00
peter 9d1de0c271 IDEA-179871 Automatically use nullable annotations in constructor generation 2018-01-08 20:52:44 +01:00
Anna.Kozlova 0d68a7724a getUseScope() (IDEA-CR-28320) 2018-01-08 19:30:15 +01:00
Roman Shevchenko 0c60dfb4a6 [java] handling for automatic modules with invalid names (IDEA-184590)
Shows a descriptive error, doesn't suggest "add requires" quick fix, and excludes such modules from completion.
2018-01-08 18:57:45 +01:00
peter 9c671df7d1 complete Collectors methods inside collect() call (IDEA-181449) 2018-01-08 18:52:37 +01:00
Anna.Kozlova 41ebb4f647 goto implementation: narrow scope to file for private methods()IDEA-184663 2018-01-08 17:05:50 +01:00
peter 1e7a28353a IDEA-178428 Support unescaping JSON strings in Analyze stacktrace 2018-01-05 21:15:06 +01:00
Anna Kozlova bd49d9f065 add static import: check all expected types (IDEA-153378) 2018-01-05 20:05:51 +01:00
Anna Kozlova 442e7f64e2 resolve import conflict with implicit imports (IDEA-100555) 2018-01-05 20:05:50 +01:00
Anna Kozlova 0ff8a66173 allow to configure prefix/suffix for test/implementation (IDEA-86808/IDEA-161300) 2018-01-05 15:16:15 +01:00
Anna Kozlova 4d07d18899 fix presentable string (IDEA-184563) 2018-01-04 18:23:27 +01:00
peter e1036c438c java completion: use a single way to find previous interesting PSI (IDEA-184555) 2018-01-04 16:14:50 +01:00
peter fda735bd1b fix "Simplify if" generating unreachable code (IDEA-182501) 2018-01-03 21:53:54 +01:00
peter e133d0ff51 FunctionalExpressionCompletionProvider: improve naming (IDEA-CR-28274) 2018-01-03 21:12:10 +01:00
Anna Kozlova 26649ec323 move inner to upper level: fix qualifiers in new exprs (IDEA-171287) 2018-01-03 21:10:47 +01:00
Anton Lobov 458061e440 WEB-28071 Automatically add close bracket for TypeScript Generics
+ refactor typing handlers for generics for all affected languages
2018-01-03 17:55:50 +01:00
peter f79c0a63d2 java completion: don't suggest inacessible method/constructor references (IDEA-182311) 2018-01-03 16:12:19 +01:00