Commit Graph

2490 Commits

Author SHA1 Message Date
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
Denis.Zhdanov
1a58b28535 IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
Arrangement settings are linked with the arrangement rules editing UI
2012-08-27 19:21:45 +04:00
Anna Kozlova
0a0c7c5f63 lambda: spaces around arrow 2012-08-27 18:45:23 +04:00
peter
85903981fc IDEA-90349 Auto-completion should always prefer exact match 2012-08-27 16:44:15 +02:00
Anna Kozlova
6b1343fded fix testdata 2012-08-27 17:31:51 +04:00
Denis.Zhdanov
f183023405 IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
1. Standard settings-based entry matcher (de)serialization;
2. Refactoring;
2012-08-27 16:54:37 +04:00
Anna Kozlova
a85c808676 lambda: do not warn about unhandled exceptions from lambda on call site 2012-08-27 15:50:42 +04:00
Anna Kozlova
9c4504cfdf lambda: do not even try to infer from return value when value depends on params 2012-08-27 15:20:21 +04:00
Denis.Zhdanov
8eb9deaf3a IDEA-19061 Integrate the Rearranger-plugin into core-IDE
Add ability to add new arrangement rules
2012-08-25 01:22:21 +04:00
Roman Shevchenko
3ad72015bf Stop using deprecated method 2012-08-24 22:19:12 +04:00
Roman Shevchenko
eefc0d3462 Cleanup 2012-08-24 22:19:11 +04:00
Anna Kozlova
cf4b4e6831 eliminateWildcards -> GenericsUtil; lambda: eliminate wildcards before formal types declaration (IDEA-90578) 2012-08-24 21:24:08 +04:00
Anna Kozlova
899e8dccfa extend insert declaration/add cast intentions for the one line ref statement (IDEA-90448) 2012-08-24 12:39:03 +04:00
Denis.Zhdanov
0e8672d58e IDEA-19061 Integrate the Rearranger-plugin into core-IDE
Added ability to remove match rules
2012-08-24 09:41:43 +04:00
Denis.Zhdanov
62f2a68cd0 IDEA-19061 Integrate the Rearranger-plugin into core-IDE
'Replace condition' operation is provided (e.g. for type change like 'from field to method')
2012-08-23 19:37:26 +04:00
Anna Kozlova
4e1b641b66 annotators: do not propagate all intentions available in editor to the batch mode as they can show dialogs, etc (IDEA-90380) 2012-08-23 18:06:16 +04:00
Denis.Zhdanov
c38865bbaa IDEA-19061 Integrate the Rearranger-plugin into core-IDE
ArrangmentSettingsNode -> ArrangementMatchCondition
2012-08-23 13:34:41 +04:00
Denis.Zhdanov
e4c4ad1643 IDEA-19061 Integrate the Rearranger-plugin into core-IDE
Correct tree merge when non-first rule should be merged down
2012-08-22 23:45:13 +04:00
Denis.Zhdanov
ca387d7ee3 IDEA-90457 Wrapping inserts two line breaks instead of one
Correct tab-less string processing
2012-08-22 23:27:24 +04:00
Denis.Zhdanov
0d3fae35e9 IDEA-19061 Integrate the Rearranger-plugin into core-IDE
Correct tree merge when single node is replaced
2012-08-22 23:19:37 +04:00
Anna Kozlova
aa53173be4 preselect current member when generating (IDEA-90391) 2012-08-22 20:48:13 +04:00
Anna Kozlova
9558ec4df4 introduce injected fragment as string (IDEA-90322) 2012-08-22 20:48:09 +04:00
Denis.Zhdanov
aa78ca0308 IDEA-19061 Integrate the Rearranger-plugin into core-IDE
1. Fix tree merge algorithm;
2. Refresh rule models tree nodes on other model change;
3. Fix tests;
2012-08-22 20:27:38 +04:00
Anna Kozlova
4692f23230 lambda: forbid inference method params types from return value 2012-08-22 15:46:13 +04:00
Anna Kozlova
9a4e0f00d0 lambda: redundant lambda param types 2012-08-22 14:08:27 +04:00
Denis.Zhdanov
d9511284da IDEA-19061 Integrate the Rearranger-plugin into core-IDE
1. Correct rule editing on multi-row change;
2. Handle a rule tree's root visibility;
2012-08-21 23:30:42 +04:00
nik
7dfb6bbcc0 unneeded files deleted from testData - 3 2012-08-21 17:26:15 +04:00
nik
78aab52558 unneeded files deleted from testData - 2 2012-08-21 17:26:15 +04:00
Anna Kozlova
a5c50473a3 lambda: skip some cyclic inference cases 2012-08-21 17:06:23 +04:00
nik
ebb7b40808 IDEA-89930: I have to invoke Make multiple times and get "package doesn't exist" after updating code 2012-08-21 15:13:26 +04:00
Denis.Zhdanov
d2dcc40aad IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
Finish DefaultMutableTreeNode -> ArrangementTreeNode transition
2012-08-21 14:52:31 +04:00
Anna Kozlova
a0d858fa5b lambda: effectively final parameters: copy in final variable if needed - never make implicitly final 2012-08-21 14:39:41 +04:00
nik
d3111ef2ca unneeded files deleted from testData 2012-08-21 11:30:44 +04:00
Denis.Zhdanov
3a97ab0970 IDEA-19061 Integrate the Rearranger-plugin into core-IDE
refactoring
2012-08-20 23:27:58 +04:00
Denis.Zhdanov
f1679987b8 IDEA-19061 Integrate the Rearranger-plugin into core-IDE
Performing tree modification via the tree model (the goal is to propagate the modification events to the tree ui)
2012-08-20 22:26:09 +04:00
Denis.Zhdanov
9899440429 IDEA-19061 Integrate the Rearranger-plugin into core-IDE
Handle a situation when the root is not shown
2012-08-20 22:26:09 +04:00
Anna Kozlova
d2b956c808 lambda: check formal types for equality 2012-08-20 21:47:21 +04:00
Anna Kozlova
8b0455ce93 lambda: convert anonymous to lambda inspection & fix 2012-08-20 21:02:43 +04:00
Denis.Zhdanov
9dfc9406b7 IDEA-19061 Integrate the Rearranger-plugin into core-IDE
Correct nullability contract
2012-08-20 19:33:21 +04:00
Denis.Zhdanov
cf315a18c5 IDEA-19061 Integrate the Rearranger-plugin into core-IDE
Correctly refreshing tree nodes now
2012-08-20 19:17:01 +04:00
Denis.Zhdanov
4f5f66866f IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
Refreshing tree nodes on changes (work in progress)
2012-08-20 17:36:09 +04:00
Denis.Zhdanov
a3954bd5aa IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
1. Corrected node removal logic;
2. Corresponding tests are added;
2012-08-20 17:02:51 +04:00
Anna Kozlova
b6a278b60f lambda return type checks: consider void-compatible/value-compatible block 2012-08-20 16:59:18 +04:00
Anna Kozlova
122cccf567 lambda: correct error reporting according to b.50 2012-08-20 15:26:47 +04:00
Anna Kozlova
05c0cfbb5e lambda: accept Object when return type is void 2012-08-20 15:26:46 +04:00
Anna Kozlova
a060e747ab lambda: return type void-compatibility checks extracted 2012-08-20 15:26:45 +04:00
Denis.Zhdanov
a406824efd IDEA-19061 Integrate the Rearranger-plugin into core-IDE
Tree modification utilities
2012-08-19 23:19:11 +04:00
Anna Kozlova
1fa0a6ade4 lambda: void return type compatibility (initial); functional interfaces without method params error messages 2012-08-17 22:45:25 +04:00