Commit Graph
113 Commits
Author SHA1 Message Date
Bas Leijdekkers fbd4f30cb1 SSR: report more bad search and replacement patterns (related to IDEA-102898) 2016-11-08 15:26:36 +01:00
Bas Leijdekkers 8fd99aaaa2 SSR: improve multi-matching references qualified with this or super (IDEA-144697) 2016-11-07 17:08:10 +01:00
Bas Leijdekkers 84e361cf67 SSR: fix matching super calls 2016-10-19 19:26:37 +02:00
Bas Leijdekkers 163ca24685 SSR: make some methods public for easier extension (IDEA-162805) 2016-10-19 14:28:29 +02:00
Bas Leijdekkers 49564f7ffd SSR: fix method body whitespace and restore test 2016-10-13 10:15:41 +02:00
Bas Leijdekkers 266bd8d709 SSR: fix unmatched member replacement in Java 2016-10-13 10:15:39 +02:00
Bas Leijdekkers db546f6911 SSR: copy implements, extends and type parameters correctly when replacing classes with inner classes 2016-09-26 15:03:19 +02:00
Bas Leijdekkers d36dd6587f SSR: cleanup java replace handler 2016-09-26 15:03:17 +02:00
Bas Leijdekkers 3cf1ba922c SSR: handle parentheses in read/write detection 2016-09-26 15:03:16 +02:00
Anna.Kozlova 78d1492242 explicit types to diamonds 2016-08-08 17:08:03 +02:00
Bas Leijdekkers 9aa6a55984 SSR: use PsiTreeUtil.lastChild() instead of own implementation 2016-06-04 20:45:48 +02:00
Anna.Kozlova 36ee7203f6 anonym -> lambda 2016-05-18 12:04:12 +02:00
Bas Leijdekkers 7582e25009 SSR: find diamond types with pattern with explicit types 2016-04-25 18:48:31 +02:00
Bas Leijdekkers 48a292b315 SSR: cleanup predefined java templates 2016-04-25 18:48:31 +02:00
Bas Leijdekkers ddecc8c93c SSR: make simple generic method pattern work 2016-04-25 18:48:30 +02:00
Bas Leijdekkers d9288e4b42 SSR: find parameterized method calls (IDEA-154740) 2016-04-25 09:24:43 +02:00
Bas Leijdekkers 9f4d5f85ae SSR: allow expression constraints on complete match 2016-03-26 15:38:01 +01:00
Bas Leijdekkers 09f2422699 SSR: better types for script variables 2016-03-26 15:37:58 +01:00
Bas Leijdekkers 9ecde83fc9 SSR: report many more java pattern problems in search dialog (IDEA-126794) 2016-03-07 14:45:27 +01:00
Bas Leijdekkers 876932b1bb SSR: fix finding packageLocal and instance fields 2016-03-05 11:46:17 +01:00
Bas Leijdekkers 613871ca43 SSR: fix bad psi tree when replacing parameter 2016-03-05 11:46:15 +01:00
Bas Leijdekkers c7595ad7b4 SSR: fix exception when search pattern method, replacement pattern method and replaced method have no body 2016-03-05 11:46:15 +01:00
Bas Leijdekkers 50e7b23972 IDEA-152313 (Structural replace with local variable definition leads to inconsistent state with IDEA error highlighter) 2016-03-05 11:46:14 +01:00
Alexey Kudravtsev e549fba03e cleanup 2016-02-17 18:20:42 +03:00
Bas Leijdekkers ec56e22ca0 SSR: small simplification 2015-11-06 20:55:36 +01:00
Bas Leijdekkers c2ef9b756d SSR: cleanup MatchResultImpl & related 2015-11-06 20:55:35 +01:00
Bas Leijdekkers 7312c98275 SSR: test that the type of variables in script are as expected 2015-11-06 20:55:35 +01:00
Anna Kozlova 062fcda742 fix unsorted array search 2015-11-06 16:21:29 +01:00
Bas Leijdekkers 894ccaf10e SSR: make scripting variable types a little easier 2015-11-04 21:16:35 +01:00
Bas Leijdekkers cde46ffdc1 IDEA-146951 (Structural Search fails with '<' in search in pattern) 2015-10-28 22:21:56 +01:00
Bas Leijdekkers 7aa7a0b082 SRR: easier searching for methods 2015-10-06 17:08:48 +02:00
Bas Leijdekkers 247b885ce9 SRR: improve java array declaration matching 2015-10-02 16:16:42 +02:00
Bas Leijdekkers eb4b2613f7 SSR: cleanup java type matching 2015-10-02 16:16:42 +02:00
Bas Leijdekkers cc5281e6e3 SSR: when replacing pattern method without body, copy body from matched element (part of IDEA-88738) 2015-09-30 17:53:27 +02:00
Bas Leijdekkers f5c8a63044 SSR: match multiple fields declared in single declaration correctly in incomplete code (IDEA-CR-4531) 2015-09-29 12:03:07 +02:00
Bas Leijdekkers ad8fb6a043 SSR: cleanup collection of named elements 2015-08-03 23:46:29 +02:00
Roman Shevchenko 921bf31337 Cleanup (formatting) 2015-07-23 18:31:55 +02:00
Roman Shevchenko 0afda74389 [java] Java 9's try-with-resources in structural search 2015-07-22 16:28:53 +02:00
Bas Leijdekkers 758d550979 IDEA-141680 (SSR "use static import if possible" corrupts generics invocations) 2015-06-25 15:41:11 +02:00
Bas Leijdekkers 4de06c31fb SSR: keep order of modifiers when replacing annotation 2015-06-12 17:35:41 +02:00
Bas Leijdekkers af42d7dffd SSR: replace members correctly (IDEA-127444 & IDEA-127835) 2015-06-03 22:50:09 +02:00
Bas Leijdekkers b2e25c361e SSR: don't forget unmatched class content (Java) 2015-06-03 22:50:09 +02:00
Bas Leijdekkers 0761b6dfc3 SSR: proper replacing for multiple (Java) variables in a single declaration 2015-06-03 22:50:08 +02:00
Bas Leijdekkers 8190148d3e SSR: fix matching multiple fields in a single declaration 2015-06-03 22:50:08 +02:00
Bas Leijdekkers 10fe972f35 SSR: do not generate illegal modifier combinations when replacing 2015-05-31 20:49:51 +02:00
Bas Leijdekkers f2f46e97ef SSR: improve replacement of polyadic expressions and assertion statements 2015-05-30 15:36:42 +02:00
Bas Leijdekkers c6213bcc04 SSR: keep unmatched resource lists and finally blocks when replacing try/catch statements 2015-05-29 18:26:16 +02:00
Bas Leijdekkers 8bb61bd162 SSR: replacement: cleanup handling of no substitution 2015-05-29 18:26:16 +02:00
Bas Leijdekkers a8b486d275 SSR: cleanup 2015-05-29 18:26:15 +02:00
Bas Leijdekkers 042abe8ed5 SSR: improve polyadic expression matching 2015-05-27 16:40:29 +02:00