Commit Graph

1067 Commits

Author SHA1 Message Date
Roman Shevchenko
91e642ac49 Project Coin try-with-resources support (exception handling, part 1) 2011-02-18 15:37:38 +01:00
Roman Shevchenko
40046e9177 Project Coin try-with-resource support (parser, PSI) 2011-02-18 15:37:37 +01:00
peter
a5c7e832df fix test data? 2011-02-18 15:08:20 +01:00
anna
90e0e831ee varargs: prefer object for primitive varargs only 2011-02-18 10:53:17 +01:00
Denis Zhdanov
5fe8f15981 IDEA-65434 Ctrl+Shift+Enter bug in conditional blocks
Corrected situation when we complete statement with empty code block and code style is set to keep simple instructions in one line
2011-02-18 12:03:12 +03:00
peter
1cc5e6339b IDEA-65583:
insert import when completing a class reference with existing generics
on tab, replace the generics, if any
2011-02-17 20:54:09 +01:00
Roman Shevchenko
6b44b057fa More fair handle of PsiDisjunctionType; introduce variable for multi-catch types 2011-02-17 17:52:21 +01:00
peter
66bafd7c05 IDEA-65286 JAVA: autocomplete triggers within double-value 2011-02-17 17:23:34 +01:00
Alexey Kudravtsev
6c65c04303 unnecessary calls to getMockJDK() removed in tests 2011-02-17 14:00:16 +03:00
anna
84e7a9ae7a unchecked warnings as fair inspection 2011-02-17 09:48:44 +01:00
Denis Zhdanov
cee90781bd IDEA-57891 Reformat file: run under modal progress
1. Added ability to stop formatting;
2. Corrected 'formatting under progress' processing;
2011-02-17 11:31:52 +03:00
peter
d43faca81d IDEA-65252 Static nested classes are first proposal on values 2011-02-16 18:32:14 +01:00
peter
7414445e89 completion stats should care of class qualified names (IDEA-65112) 2011-02-16 18:32:12 +01:00
Alexey Kudravtsev
156a91c5fd WrapInCommand annotation in tests 2011-02-16 12:58:20 +03:00
anna
27ec83e3d7 inline parameter: allow to inline as local for methods with usages (IDEA-65536) ; respect write access for parameters with constant values ( IDEA-65535) 2011-02-16 09:48:39 +01:00
anna
87e7f6aa02 add warning "unchecked generic array creation for vararg parameter" 2011-02-16 09:48:39 +01:00
anna
5c24e5a3c6 redundant unchecked warning inspection 2011-02-16 09:48:38 +01:00
anna
96f96ad61a fake 2011-02-16 09:48:37 +01:00
anna
04d3758e69 @SafeVarargs inspection: find all methods which can be annotated as 2011-02-16 09:48:36 +01:00
anna
bc30469828 extract method: search deep for type parameters used in extracted fragment 2011-02-16 09:48:36 +01:00
anna
898f2cc1bc project coin: @SafeVarargs applicability 2011-02-16 09:48:35 +01:00
peter
9c2441c587 Merge branch 'master' into sort 2011-02-15 15:47:42 +01:00
peter
ec40eab2f2 items that are prefixes of other items should go first
Java expected type also should go first, and win
current class should be preferred in completion (IDEA-64703)
2011-02-14 21:21:32 +01:00
peter
dff7be3956 teach classifiers to present their criteria in a readable form 2011-02-14 19:16:56 +01:00
Roman Shevchenko
68ce5423cb Project Coin multi-catch support 2011-02-14 19:00:07 +01:00
Roman Shevchenko
2895e52f6b Omit non-method parameters on Java stub building; cleanup 2011-02-14 19:00:06 +01:00
Roman Shevchenko
f36e46e3d9 Utility test method extracted 2011-02-14 19:00:06 +01:00
Roman Shevchenko
9fd8e17864 Java parser test case fixed to better support level-specific tests 2011-02-14 19:00:06 +01:00
Roman Shevchenko
b10155b5c7 Stop testing/using old Java parser 2011-02-14 19:00:05 +01:00
Roman Shevchenko
d019d4e9cc Typos in tests 2011-02-14 19:00:05 +01:00
anna
13d5d02daa inline: insert sync on class object when static sync method is inlined (IDEA-65449) 2011-02-14 14:14:32 +01:00
anna
9b28b9cf01 extract method: pre/post expressions checks fixed (IDEA-65476 ) 2011-02-14 14:14:32 +01:00
anna
c9b3c94af2 varargs: prefer Object... (IDEA-55412) 2011-02-11 19:01:34 +01:00
Alexey Kudravtsev
d177894331 cleanup 2011-02-11 17:12:49 +03:00
nik
683c0caf7d eliminated dependency on PathManagerEx from production code 2011-02-11 15:29:51 +03:00
anna
5f06751b53 check if abstract test class has non abstract inheritor -> its test methods are used 2011-02-10 19:25:54 +01:00
anna
e68e835f94 EA-25055 - NPE: ExtractMethodProcessor.addToMethodCallLocation 2011-02-10 15:36:15 +01:00
Alexey Kudravtsev
c87ad3fbd2 resolve static method: IDEA-64926 2011-02-10 13:29:38 +03:00
peter
34ecc0214b a commented test for IDEA-64703 2011-02-09 16:17:08 +01:00
peter
abbd179ca7 more well-defined access 2011-02-09 16:17:03 +01:00
peter
397977cfe8 simpler lookup element comparables 2011-02-09 16:17:01 +01:00
peter
6a1666584d prefer local variables to methods (IDEA-64703) 2011-02-09 16:17:00 +01:00
peter
2efc3fa640 move completion sorting checks to the fixture 2011-02-09 16:16:59 +01:00
peter
d7579aabc7 fixture-based completion sorting tests 2011-02-09 16:16:57 +01:00
Roman Shevchenko
83b19698e4 More logging on performance tests; failure condition fixed 2011-02-09 12:15:42 +01:00
Denis Zhdanov
0241cd8831 IDEA-58293 Java Formatter: Respect 'space after semicolon' setting for 'for' loop with empty 'after loop' operation
1. 'Space after semicolon' setting value is preserved for the empty 'for' loop condition;
2. Corresponding test is added;
2011-02-08 16:23:59 +03:00
Roman Shevchenko
c0c2afe8d4 Insert/remove underscores intentions 2011-02-08 12:20:57 +01:00
Roman Shevchenko
e75d85ba43 Project Coin numeric literals (IDEA-64808) 2011-02-08 12:16:20 +01:00
Alexey Kudravtsev
be9220e9d0 moved java resolve tests to community 2011-02-08 13:00:23 +03:00
Denis Zhdanov
226df6d6df IDEA-64725 Race Condition when editing field annotations results in incorrect line wrapping
1. Corrected annotation wrap calculation in case of incomplete fields;
2. Corresponding test is added;
2011-02-07 16:52:21 +03:00