Denis.Zhdanov
e76b02dc4e
IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
...
1. Arrangement API provides 'dependent entries' concept now;
2. Java static and instance initialization blocks are defined to be 'dependent arrangement entries';
3. Corresponding tests are added;
4. Default java arrangement rules are expanded in order to preserve old 'generated class members order';
5. Test data is corrected;
2012-09-06 13:21:41 +04:00
Denis.Zhdanov
4a4aa01505
IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
...
1. 'Constructor' entry type is defined and supported at java rearranger;
2. Test data fixes;
2012-09-06 13:21:41 +04:00
Anna Kozlova
d474aa3f1c
lambda: take into account substitution interface with method -> functional interface;
...
do not infer return type parameters when lambda parameter type was calculated, no substitution caching here (IDEA-90875)
2012-09-06 13:07:11 +04:00
peter
93e974e331
minimize CompletionAutoPopupTestCase
2012-09-05 16:02:45 +02:00
Anna Kozlova
f73177c04e
lambda: correct message when lambda params are incompatible (IDEA-91016)
2012-09-04 21:05:05 +04:00
Anna Kozlova
d83b1f12c7
lambda: skip conditional condition during inference from return value
2012-09-04 21:05:03 +04:00
Roman Shevchenko
b579aab18b
LoadProjectTest moved to CE
2012-09-04 19:46:56 +04:00
peter
2e722afde9
IDEA-90900 Complete statement works incorrectly in some simple cases
2012-09-04 16:39:54 +02:00
nik
163227c22f
external compiler: test data simplified
2012-09-04 12:20:48 +04:00
Anna Kozlova
844ee5e89b
testada
2012-09-04 11:33:41 +04:00
nik
c3cbe77d24
ui designer configuration moved to new jps model
2012-09-04 11:07:39 +04:00
Anna Kozlova
659d9f3251
lambda: smart completion: substitute return type; respect one line lambda as return statement (IDEA-90941; IDEA-90944)
2012-09-03 21:27:13 +04:00
Anna Kozlova
49a08fce9e
anonymous->lambda: forbid for recursive calls (IDEA-90964)
2012-09-03 21:27:12 +04:00
Anna Kozlova
2996ce4b20
lambda: simple inference in case of conditional expressions (IDEA-90812)
2012-09-03 21:27:11 +04:00
Anna Kozlova
70299ca094
lambda: do not mark cast redundant when functional interface won't be found otherwise
2012-09-03 18:27:57 +04:00
Anna Kozlova
f324594bc3
lambda: create method from usage with lambda arg (IDEA-90957)
2012-09-03 18:27:56 +04:00
Anna Kozlova
d71e11473a
lambda: convert anonymous to lambda in invalid context with cast; add cast when functional interface type won't be found otherwise (IDEA-90863)
2012-09-03 18:27:55 +04:00
Anna Kozlova
2a8bc16266
lambda: do not mark cast as redundant if lambda would be placed in invalid context
2012-09-03 18:27:53 +04:00
Anna Kozlova
25456a1938
lambda: add cast if lambda var was inlined in ref expression (IDEA-90879)
2012-09-03 18:27:52 +04:00
Anna Kozlova
01ed7837b9
redundant lambda param types: inspection->intention
2012-09-03 18:27:50 +04:00
Anna Kozlova
c7781bb05f
lambda: take care of diamonds
2012-09-03 18:27:49 +04:00
Anna Kozlova
8797c54ace
lambda: get info for return types from type arguments
2012-09-03 12:42:35 +04:00
Denis.Zhdanov
1e064846f2
IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
...
1. Package-private modifier is correctly parsed for java arrangement entries now;
2. Cutting blank lines on arrangement is corrected;
2012-09-03 11:25:29 +04:00
Denis.Zhdanov
976fe5321d
IDEA-90860 Reformat Code breaks Copyright/Header
...
Test fixes
2012-09-01 22:03:10 +04:00
Denis.Zhdanov
79d2e31132
IDEA-90860 Reformat Code breaks Copyright/Header
...
1. Don't preserve blank lines when formatter is called explicitly on operations like refactoring;
2. Test data is corrected;
2012-09-01 19:38:42 +04:00
Denis.Zhdanov
3d15472599
IDEA-90860 Reformat Code breaks Copyright/Header
...
1. Block.getSpacing() contract is refined;
2. Java formatter tests don't strip line feeds and trailing spaces now;
3. Test data is corrected;
2012-09-01 18:43:06 +04:00
Anna Kozlova
434cd952b7
Merge remote-tracking branch 'origin/master'
2012-08-31 21:55:05 +04:00
Anna Kozlova
24252e4741
testdata fixed
2012-08-31 21:46:38 +04:00
Denis.Zhdanov
80ca1f8035
IDEA-90860 Reformat Code breaks Copyright/Header
...
A test is added
2012-08-31 19:03:44 +04:00
Anna Kozlova
87804891cf
redundant lambda param type: check with resulted lambda
2012-08-31 18:41:45 +04:00
Anna Kozlova
b199a1b76c
lambda & raw types
2012-08-31 18:40:56 +04:00
Anna Kozlova
1d0922ead8
lambda: lambda on vararg place
2012-08-31 15:34:20 +04:00
Anna Kozlova
2c05b4d750
lambda: functional interface can contain multiple default methods
2012-08-31 15:34:16 +04:00
Denis.Zhdanov
328aa58823
IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
...
Arrangement is blank lines aware now
2012-08-31 15:33:12 +04:00
Anna Kozlova
e48926ccb0
inspection/intention to collapse/expand lambda body (IDEA-90827)
2012-08-31 11:27:38 +04:00
Denis.Zhdanov
a6c8c31272
IDEA-19061 Integrate the Rearranger-plugin into core-IDE
...
1. Making arrangement blank lines aware;
2. Refactoring;
2012-08-31 09:32:48 +04:00
Anna Kozlova
bb0b0c008a
convert anonym class to onle-line lambda if possible (IDEA-90820)
2012-08-30 20:14:36 +04:00
Anna Kozlova
76fe4475b1
lambda smart completion: choose functional interface method instead of containing method (IDEA-90809)
2012-08-30 20:14:33 +04:00
Anna Kozlova
4580e8da2a
allow to inline array index expression (IDEA-90740)
2012-08-30 13:38:51 +04:00
peter
fc59ce102b
cache lookup element statistic info and don't try to calculate it after insertion when everything could have become invalid (EA-38180)
2012-08-29 17:19:29 +02:00
peter
a3291b8b2e
middle matching with one char prefix
2012-08-29 13:47:44 +02:00
Denis.Zhdanov
f0e64fdfd8
IDEA-19061 Integrate the Rearranger-plugin into core-IDE
...
1. Enum and interface are recognised by java rearranger now;
2. Java rearranger tests are added;
2012-08-28 19:01:12 +04:00
peter
f412b09ef8
be prepared to middle matching with one char prefix
2012-08-28 16:24:51 +02:00
Denis.Zhdanov
8df3da1cd3
IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
...
1. Changed arrangement rules are correctly persistet and restored at the code style settings xml now;
2. Refactoring;
2012-08-28 15:43:59 +04:00
Anna Kozlova
1791683f27
inplace rename: delegate qualification to the common method (IDEA-90679)
2012-08-28 14:59:10 +04:00
Roman Shevchenko
84b395ef58
Get rid of "file-based library" concept
2012-08-28 14:26:30 +04:00
Alexey Kudravtsev
808c40dd6e
moved to the same package
2012-08-28 12:55:27 +04:00
Anna Kozlova
a386c22bc3
lambda check for ambiguity: prefer functional interfaces without type param dependencies (commented)
2012-08-28 12:20:49 +04:00
Anna Kozlova
ece63f3c92
correct lambda inference inside new expressions
2012-08-28 12:20:48 +04:00
Anna Kozlova
2956c09aff
testdata fixed according to new code style
2012-08-27 20:37:38 +04:00