Commit Graph
2511 Commits
Author SHA1 Message Date
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
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