Commit Graph

500 Commits

Author SHA1 Message Date
Vladimir Krivosheev
ef0323d07c IJ-MR-162467 don't export intellij.platform.core
GitOrigin-RevId: 05f350c1c087be1bf9b46d8bdac5345a65f55958
2025-06-13 21:52:48 +00:00
Louis Vignier
a6981a4688 [ssr] Fix Java SSR after the javadoc lexer changes
GitOrigin-RevId: 87fa31142e1cf0acd9d8c2f3c738fe481cbda2fe
2025-06-13 15:12:12 +00:00
Vladimir Krivosheev
539d5197ad don't export intellij.platform.util.diff
GitOrigin-RevId: 2b25166fd986c0b897636a290a97f1b2927352ce
2025-06-09 21:02:56 +00:00
Vladimir Krivosheev
65fe061584 IJ-MR-162467 don't export intellij.platform.analysis
GitOrigin-RevId: fcbcb68010b58cb507fee2c47473758b999e471b
2025-06-04 11:16:33 +00:00
Vladimir Krivosheev
7cf9ef2b29 update bazel files
GitOrigin-RevId: e78f86bd17affd7892fd1af8e157f033906b1865
2025-05-09 15:36:06 +00:00
Vladimir Krivosheev
644a6b2e81 IJ-MR-162467 don't export intellij.platform.editor.ui
GitOrigin-RevId: 8894abe16fb347de7649bfb2d7888b6e6fe0232c
2025-05-09 14:20:40 +00:00
Max Medvedev
0e5df35887 IDEA-359853 rename PsiKeywords to JavaKeywords
GitOrigin-RevId: 549c1b35265414221b6b83ed1b5c426418ad032e
2025-04-03 11:33:32 +00:00
Max Medvedev
0ce5d6986a IDEA-359853 deprecated constants in PsiKeyword
GitOrigin-RevId: 94f23984ad8f4f467fed1f01f47b2a9b46242cac
2025-04-03 00:36:42 +00:00
Bas Leijdekkers
2bf2a2367a SSR: fix Java record replacement (IJPL-19722)
GitOrigin-RevId: 522d43f48a24bd0a248b953b6c82f2f7f29864b4
2025-03-25 19:47:36 +00:00
Bas Leijdekkers
df8fd23e38 SSR: replace vararg argument list with array correctly (IJPL-181662)
GitOrigin-RevId: 2ace44320ca2dee80c379671264f0623cc8b63c6
2025-03-21 11:51:49 +00:00
Bas Leijdekkers
932672f8c5 Java: introduce PsiDocToken.isDocToken() utility method
GitOrigin-RevId: 885df2430d8f8cf18e599c6614f59762168e4a61
2025-03-20 18:24:49 +00:00
Vladimir Krivosheev
8707c636a2 fix Tag visibility
GitOrigin-RevId: a5241ec67b1377523443d84e60b3225e82d7b929
2025-02-18 12:35:48 +00:00
Vladimir Krivosheev
0bc1cf1557 update bazel files
GitOrigin-RevId: 7320d3eff3aba093692ce66839c720ece6d7c4db
2024-12-30 11:28:24 +00:00
Vladimir Krivosheev
25233df1b1 cleanup - isEmpty
GitOrigin-RevId: 100d69abb6a423556574a72e82508fdb8f5d7fa3
2024-12-27 14:41:14 +00:00
Vladimir Krivosheev
2c56b99fd5 do not export intellij.platform.testFramework
GitOrigin-RevId: 4c2c86b3ba376268aba04487e363685656fea2e3
2024-12-26 22:08:08 +00:00
Vladimir Krivosheev
051ed2529b cleanup
GitOrigin-RevId: 6fa4f979e0a6641885e2225eb985b13713373ac5
2024-12-26 14:56:01 +00:00
Vladimir Krivosheev
98799639aa do not use _test as lib - test targets do not support this
GitOrigin-RevId: f2f49db4294b6a64040dbbd5f1d95e972cbd70a3
2024-12-15 18:32:30 +00:00
Vladimir Krivosheev
17916c90f8 libraries -> lib, resources, opt-in, test deps
GitOrigin-RevId: db66ee95dcb0f0553b40c9cc56cd6afed8634cdd
2024-11-27 13:53:42 +00:00
Aleksandr.Govenko
86e037e396 KTIJ-30925 [ssr] Refactor typed variable handling in ReplacementBuilder
Moved typed variable utility methods from MatchUtil and Replacer to StructuralSearchProfile

GitOrigin-RevId: 0a80d063ea663bb708de118a6db0b6268b3b6147
2024-08-13 16:24:08 +00:00
Bas Leijdekkers
98fbecdc6c Small simplification for Java SSR
GitOrigin-RevId: d21660329312bed45f24253d71ddc0bedd4a8e24
2024-08-12 13:37:26 +00:00
Tagir Valeev
440654c48f Pattern variable can be used fixes; other warning fixes
GitOrigin-RevId: 49f37e7f5d748be50ee66fdf66a5c9b98b1b7432
2024-06-18 19:55:23 +00:00
Bas Leijdekkers
66ad661ec7 SSR: better matching for comments on Java methods (IJPL-149678)
GitOrigin-RevId: e66768fcb9adbf0fd7ca0be950d4da41373a918d
2024-06-10 23:42:46 +00:00
Bas Leijdekkers
816d61b8bf SSR: trim matched Java comment text for better replacement (IJPL-149678)
GitOrigin-RevId: 666966f921849703e13309480b35287411c4d008
2024-06-10 23:42:46 +00:00
Bas Leijdekkers
7d482a46ce SSR: fix copying unmatched elements when replacing Java element with new name (part of IJPL-149678)
GitOrigin-RevId: 72e77d0a9238f67fbf5229730b3d89b035bac874
2024-06-10 23:42:46 +00:00
Vladimir Krivosheev
a936474ee7 IJPL-148249 intellij.java.structuralSearch as a v2 module
GitOrigin-RevId: d540bab6fb28d6b8bee8df5697c3667211d20d50
2024-04-15 19:06:34 +00:00
Tagir Valeev
d0cf7b359a [java] IDEA-345498 Remove explicit Java 20-preview support and parenthesized patterns
GitOrigin-RevId: 8d646035979e3ec0a7de3c6f58a4e6ec9967bdbd
2024-02-12 19:12:36 +00:00
Bas Leijdekkers
9ae3ed1388 Java: fix weird code in SSR.
GitOrigin-RevId: 357c19bf630b9f1c8c4dc5d0a615793ce334f075
2024-02-11 16:31:17 +00:00
Andrey Cherkasov
019a6852f4 [java] Make extension classes final
GitOrigin-RevId: 1aae04982598568a111e8c78b9a71c9d2b4aa150
2023-12-13 20:02:09 +00:00
Bas Leijdekkers
86c22aeb2f SSR: relax replacement template check
GitOrigin-RevId: 419923fbe5c761e856e208e8e8610ff22199136d
2023-09-22 18:20:35 +00:00
Bas Leijdekkers
af2a6e9ac5 SSR: adjust boxing predefined templates for accurate results when not matching case (IDEA-289719)
GitOrigin-RevId: 3bacd68d85b86757751decd948113244d274e532
2023-05-10 14:19:27 +00:00
Bas Leijdekkers
b73f850953 SSR: fix same variable multi-matching (IDEA-319542, KTIJ-279)
GitOrigin-RevId: ca34b89c2f7371cfeb1628f97bc8c9c0f95f31e5
2023-05-04 10:20:31 +00:00
Bas Leijdekkers
dff38351e3 SSR: copy unmatched method call qualifiers (IDEA-319489)
GitOrigin-RevId: daa7a4f3d3b61336fc680f1243f260f165b0fb84
2023-05-04 10:20:26 +00:00
Bas Leijdekkers
d54705b1f1 SSR: don't loose comma when replacing array elements (IDEA-319000)
GitOrigin-RevId: 47e3fd4fdadaab66075c37732891af09e3167974
2023-04-27 10:21:51 +00:00
Bas Leijdekkers
849a907d38 SSR: replace multiple Java type parameters correctly (IDEA-315080)
GitOrigin-RevId: bc119f5b3e9a61c4edb5eaf9b4b9f4b179ba205d
2023-03-10 14:19:59 +00:00
Alexey Kudravtsev
9f5b60b0f0 replace some usages of ContainerUtil.set() with immutable sets to get rid of unclear-semantic methods
GitOrigin-RevId: 3ba1266af01d64a228c10df59b18c4ac797c2a9b
2023-02-20 19:11:19 +00:00
Alexey Kudravtsev
6ac37bc1fd replace immutableList() with more standard List.of()
GitOrigin-RevId: fd32b6aece21a1be81fcfaab7b4a71092eaf9939
2023-02-08 19:09:49 +00:00
Tagir Valeev
e9832acb26 [java] Use pattern variables; other minor cleanup
GitOrigin-RevId: e2345bd54d92f6676c6fbc55955e85cbdc5c2793
2023-02-01 17:09:26 +00:00
Nikolay Chashnikov
8ce3039acf cleanup: get rid of usages of deprecated constants from PsiType (IDEA-309438)
GitOrigin-RevId: 3373eb8b47af51b9f6dd71e565f773d69e8a3218
2023-01-26 16:11:57 +00:00
Nikolay Chashnikov
37ce2ff8a6 cleanup: remove redundant '@author' tags from javadoc comments - 10
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created.

GitOrigin-RevId: c9da0e5b671b6049f85db4824ea81782e2977d77
2023-01-18 17:01:57 +00:00
Andrew Kozlov
b1c8a846a1 [structuralSearch] package prefix added
GitOrigin-RevId: 4379e126c6581d26d7eb28d28bcad79a94c08379
2022-11-08 19:15:59 +00:00
Andrew Kozlov
da90030b16 [structuralSearch] resources directory
GitOrigin-RevId: 4b542ba0b8299271ac2dc95e9d97e5eb8661f20e
2022-11-08 19:15:54 +00:00
Nikolay Chashnikov
d855d8e8e8 [platform] refactoring: extract interface from PackageDirectoryCache
It's used from several (bundled) plugins, so it makes sense to define clear API for it. This will also make it simpler to reuse it for incremental directory index (IDEA-276394).

GitOrigin-RevId: 5f924bbfeb440f0ecee49e59da5252f34a05ab87
2022-11-04 19:37:07 +00:00
Bas Leijdekkers
7d03a2f6c2 SSR: fix Java lambda body matching (related to IDEA-303994)
GitOrigin-RevId: 87bcf07795aa7c1fa2fbc318dd80e372de207c76
2022-11-03 11:47:59 +00:00
Bas Leijdekkers
19892c969b SSR: don't match a Java method call's method expression (IDEA-303948)
GitOrigin-RevId: f570cadf8725da85276bda5611d5a36e993597b5
2022-10-17 16:07:05 +00:00
Bas Leijdekkers
0f35100f2d SSR: care about indirect super classes when constructing index query
GitOrigin-RevId: 5489aa5976ed8141584946b311381f72b0718b83
2022-09-28 16:44:22 +00:00
Tagir Valeev
5759075a7f Text blocks (small part)
GitOrigin-RevId: d75f3223e371b87748c4073d1cebab24a29fbae7
2022-09-23 20:46:42 +00:00
Tagir Valeev
1fd6c091c9 Enhanced switch used
GitOrigin-RevId: a8490688ad056e615437f107756ea3a3329f4262
2022-09-16 10:19:24 +00:00
Bas Leijdekkers
c7c709a23a SSR: split utility class to make testing easier
GitOrigin-RevId: 4cfbc0832ff5b223fa8b60a238e74dc2e9f3067f
2022-08-24 16:29:32 +00:00
Bas Leijdekkers
eadb618797 SSR: cleanup
GitOrigin-RevId: 33699912bcb8021186e1362d415bc27caa62b290
2022-08-24 09:14:23 +00:00
Bas Leijdekkers
d24bdfaa04 SSR: handle regex starting with [ in string constraints
GitOrigin-RevId: 064972727d13785d31be7c748cc02395ffad79f2
2022-08-24 09:14:19 +00:00