Commit Graph
12 Commits
Author SHA1 Message Date
Tagir Valeev c09250da45 CommentTracker#replaceAndRestoreComments: try to keep comments after the statement (not move them to the front) 2018-10-08 14:09:24 +07:00
Anna.Kozlova d9e6f8d96e surround with closeable: don't include unrelated variables (IDEA-159434) 2017-12-20 18:39:09 +01:00
Anna.Kozlova 7f91247966 surround with auto-closeable: ensure final is restored from existing var
otherwise with generateFinalLocals=true, non-final variables could be made final which leads to red code
2017-12-04 15:14:28 +01:00
Anna.Kozlova 7d71f6f236 preserve comments: surround with auto-closeable 2017-12-04 12:57:44 +01:00
Anna.Kozlova 6d20d8614a preserve comments: surround with auto-closeable 2017-11-27 18:05:19 +01:00
Roman Shevchenko 1f6af9e047 [java] "Surround with try-with-resources" template ditched in favor of intention action (IDEA-149130, IDEA-152348) 2016-03-03 10:28:22 +01:00
Roman Shevchenko f8581b839b EA-45951, EA-58568 (PSI traversal fixed; test added) 2015-06-19 13:44:33 +03:00
Roman Shevchenko a45a48cdac IDEA-103114 ("Surround with try-with-resources" fixed to not lose last declaration element) 2013-03-25 18:30:12 +01:00
Roman Shevchenko eb25a5dda0 IDEA-93289 (count usages; mixed case) 2012-11-04 21:32:10 +01:00
Roman Shevchenko 42eb417800 IDEA-93289 (count usages; simple case) 2012-11-04 21:32:10 +01:00
Roman Shevchenko 8cc5dae048 IDEA-93289 (test) 2012-11-02 21:50:43 +01:00
Roman Shevchenko 668afd0260 IDEA-81171 (Surround AutoCloseable - initial implementation) 2012-02-12 23:50:22 +01:00