Commit Graph

369 Commits

Author SHA1 Message Date
nik
952d7a15ea [platform] move properties used in java.psi* modules to JavaPsiBundle (IDEA-209382)
GitOrigin-RevId: bb845bfcca5563227b02947d28913b5070ed03f5
2020-02-14 07:51:31 +00:00
Bas Leijdekkers
c49e231d56 SSR: match enum constant argument lists and initializers (IDEA-231441)
GitOrigin-RevId: c7ba6b448e4d9bf385f0ce68cdfd40179655aa4d
2020-01-28 16:39:09 +00:00
Peter Gromov
6d71b92a62 make synthetic enum valueOf/values methods part of PsiClass#getMethods
because all other synthetic methods from records and plugins are also there
inspired by IDEA-CR-57031

GitOrigin-RevId: 9a8b345adaded83fe13980a28db5d9f9acc7450d
2020-01-21 06:38:24 +00:00
Tagir Valeev
78a91459c4 Array annotations changed to type-use style (not compilable now)
GitOrigin-RevId: 68aa4ba200618083684599228e13dfdba35967a4
2020-01-16 08:11:51 +00:00
Bas Leijdekkers
d3810916a7 SSR: simplify pattern error checking api and code, reduce duplication
GitOrigin-RevId: ed0ae44c33252006b045c9c1200f7632ea4ec153
2020-01-14 14:02:28 +00:00
Bas Leijdekkers
2845a92acd SSR: simplify pattern creation for java by using code fragments
GitOrigin-RevId: 99dc19ea2fc1d9ff0c042378d1986eaffbc6a6c1
2020-01-14 14:02:28 +00:00
Bas Leijdekkers
ce06b1699b SSR: minor simplification
GitOrigin-RevId: 7cb8c19a16446909ec562c65d836cf3d1ca83b03
2020-01-14 14:02:28 +00:00
Bas Leijdekkers
01883f5e38 SSR: fix error border after changing file type
put callback in current document instead of document from dialog creation

GitOrigin-RevId: c81c5e63db08def242ffcc4846b07af5a6d67cf0
2020-01-07 15:35:01 +00:00
Dmitry.Krasilschikov
38f6f13df8 LAB-62 get rid of static *Bundle usages: more fields
GitOrigin-RevId: 69ded152ad5996ae07c45dc4fd6ff20224d25572
2020-01-01 11:03:11 +00:00
Dmitry.Krasilschikov
8718df4f50 LAB-62 get rid of static *Bundle usages: more fields with readable name
GitOrigin-RevId: a57e5216970e96c9e4ff5139ca8f5566835ca2e6
2019-12-31 17:02:19 +00:00
Dmitry.Krasilschikov
81be21f0e8 LAB-62 get rid of static *Bundle usages: more "bundle" fields with readable name
GitOrigin-RevId: 6c3695d146c1a01a904d3231903cf19ceb1f743c
2019-12-31 16:31:26 +00:00
Dmitry.Krasilschikov
925b542280 LAB-62 get rid of static *Bundle usages: more fields - replace getNAME() with more readable getName()
GitOrigin-RevId: 21134371a0a08ffc5f0023fa6551142631625d8b
2019-12-31 16:31:26 +00:00
Dmitry.Krasilschikov
3d68526667 LAB-62 get rid of static *Bundle usages: replace getNAME() with more readable getName()
GitOrigin-RevId: 9fd617248e5b405d2094ce949d1810555e0bf814
2019-12-31 16:31:26 +00:00
Dmitry.Krasilschikov
f0a9c5f83b LAB-62 get rid of static *Bundle usages: more private static fields
replace `private static String X = *Bundle.message(...)` with
```protected static String getX() {
    return *Bundle.message(...)
}
```

GitOrigin-RevId: 5de111f477a214e87d22226974c3fdf0e10fcbb0
2019-12-29 19:03:50 +00:00
Bas Leijdekkers
4e2f58edc3 SSR: support regex type filter and allow to select/switch in UI (IDEA-229632)
GitOrigin-RevId: 4dfb5e223b5a1e667f83496787efc84726604a9c
2019-12-23 15:07:19 +00:00
Bas Leijdekkers
016e77ab20 SSR: match enhanced switch statements and switch expressions (IDEA-203910)
GitOrigin-RevId: 92b929008336c713597dbaf7d98346b6a89f8b5d
2019-12-10 18:38:18 +00:00
Bas Leijdekkers
8c09bc5c4a SSR: cleanup
GitOrigin-RevId: 85719d1e666accfda0c65acccdddc1817bb6ebc4
2019-12-10 18:38:18 +00:00
Yuriy Artamonov
4954832e92 @NotNull for PsiElementVisitor visit methods
GitOrigin-RevId: 6a67f22e668694096a3cbf31dfdc5b1d8f37bba3
2019-12-05 09:07:56 +00:00
Bas Leijdekkers
83a67cdaa9 SSR: keep formatting when complete modifier list is reused in replacement
GitOrigin-RevId: 27cc6d2e2054d8b5914fff4f90e987128ec40a37
2019-11-22 14:38:25 +00:00
Bas Leijdekkers
80b440df83 SSR: remove extra semicolon (IDEA-227210)
GitOrigin-RevId: 33a0b298fe7796738cb092a5bce0e934debab5cd
2019-11-20 10:40:07 +00:00
Bas Leijdekkers
1c43cee370 IG: rename compareClasses() -> matchClasses() like other similar methods in the class
GitOrigin-RevId: e8b6f7aba88004428b8a7780e391bf7a740dae03
2019-11-20 10:40:07 +00:00
Bas Leijdekkers
78353334b2 SSR: don't cache extension data
GitOrigin-RevId: e780ddf1890a394923e958f554143d56685bdc1b
2019-11-12 16:40:42 +00:00
Bas Leijdekkers
947336a03d SSR: allow to search for javadoc text and tags at the same time (IDEA-224957)
GitOrigin-RevId: 1ea674c6f228b80dcd633fb16f0a31810edf73bf
2019-11-07 02:40:58 +00:00
Bas Leijdekkers
0a633053a2 SSR: fix replacing multiple fields and comments in single declaration (IDEA-225633)
GitOrigin-RevId: 6f221d70425b6cccec96bf8c74c9af9cc8b026bb
2019-11-07 02:40:58 +00:00
Bas Leijdekkers
8ddda74a3c SSR: keep existing white space and comments between elements (IDEA-196360)
GitOrigin-RevId: 7c320093375e83e035b201707d498fce160f27ab
2019-11-07 02:40:58 +00:00
Bas Leijdekkers
cde2b58e6c SSR: fix matching multiple fields and comments in single declaration (IDEA-225633)
GitOrigin-RevId: 3e442ba6d44a7fecd206e151971908101cfcbd58
2019-11-07 02:40:58 +00:00
Alexey Kudravtsev
62aa1dfc10 cleanup: shorten to ContainerUtil.set()
GitOrigin-RevId: e2fda80cefc82f47c1ec53e6dad64129fd68d030
2019-10-22 11:05:24 +00:00
Bas Leijdekkers
50aeca7134 SSR: fix replacement with unmatched annotation variable (IDEA-224120)
GitOrigin-RevId: 485810a93e157d562ab9e83cdcc77b65e669a698
2019-10-04 15:11:39 +00:00
Bas Leijdekkers
bfb8367066 SSR: replace annotation parameters more reliably (IDEA-223146)
GitOrigin-RevId: a6342b4ef5920b380d850cc2ead087321848a559
2019-09-26 15:32:15 +00:00
Bas Leijdekkers
40dcf18936 SSR: myMatchingVisitor.setResult() cleanup
GitOrigin-RevId: c7153791077a9c4f1d3d78cee05b7da49010e988
2019-09-26 15:32:15 +00:00
Bas Leijdekkers
d08442fdf7 SSR: receiver parameter matching (IDEA-223337)
GitOrigin-RevId: c2f79ced912753fd3905f5e5397a83a082ff7256
2019-09-26 15:32:15 +00:00
Bas Leijdekkers
5c6f30f39b SSR: replace unmatched annotation attributes when one or more attributes are matched (IDEA-65982)
GitOrigin-RevId: 48db8105a93da890dc9291c24ef00bbacc4e780d
2019-09-04 18:31:43 +00:00
Bas Leijdekkers
97ab732293 SSR: more robust annotation parameter replacement (IDEA-65982)
GitOrigin-RevId: 8d91acf04c0ced4ee089c81c57e4219b22c641f2
2019-09-04 18:31:43 +00:00
Bas Leijdekkers
13d824e053 SSR: replace multiple occurrences of the same variable correctly (IDEA-65982)
GitOrigin-RevId: 5f0e7dacb53b1f0b1fd1bf4ed846a504acd1a9b9
2019-09-04 18:31:43 +00:00
Bas Leijdekkers
06362aa74f SSR: replace variable number of parameters with fixed type correctly (IDEA-221361)
GitOrigin-RevId: c40c08c08cf15b4c9642634a517945e81585e32e
2019-08-30 16:02:59 +00:00
Bas Leijdekkers
157555e84a SSR: substitute annotation parameters correctly (IDEA-65982)
GitOrigin-RevId: 7863a7de0a75eb941c332c49ae5b2b02c7e418ef
2019-08-30 16:02:59 +00:00
Bas Leijdekkers
45b1dd86d5 SSR: replace unmatched annotation parameters (IDEA-65982)
GitOrigin-RevId: 6d1ea1e62449c72188d9fc38eb7da347751e881c
2019-08-30 16:02:59 +00:00
Alexey Kudravtsev
aa15bf419c cleanup
GitOrigin-RevId: 7beb4a01069538c999487ce53c03a49b6e46dcdb
2019-07-15 18:07:02 +03:00
Bas Leijdekkers
312fd6bba8 SSR: fix red border on error in replacement template (IDEA-218174)
GitOrigin-RevId: 46415180ce64bf7731e038b7f47767005a7fb8b9
2019-07-13 00:03:02 +03:00
Bas Leijdekkers
10a54a5361 SSR: fix AssertionError when searching for class (IDEA-218006)
GitOrigin-RevId: c61cf113b5d3d819c31c40c3d37d8ef769782178
2019-07-10 23:02:59 +03:00
Roman Shevchenko
854a6e5d2b [ssr] fixes 'break' statement matching
GitOrigin-RevId: 3d759a62b8e3095cc106e26f7c2ab97509f31314
2019-07-03 01:13:10 +03:00
Roman Shevchenko
90ef6314da [java] drops value break support
GitOrigin-RevId: dd17b9f4cc4dde37c0e3f8db6eae17251fe9681f
2019-07-03 01:13:10 +03:00
Bas Leijdekkers
66b28af3f1 SSR: improve & test JavaStructuralSearchProfile.shouldShowProblem()
GitOrigin-RevId: 10cc80084f7f29437af41f09a70548dd22cdc8a0
2019-07-02 06:52:16 +03:00
Bas Leijdekkers
aada4c656d SSR: provide proper context for existing member searches
GitOrigin-RevId: 8b0f0053c31b7f6115f3a496a665289e377f976c
2019-07-02 06:52:16 +03:00
Alexander Zolotov
391bda1c4b Update color schemes
- support the new Go colors

GitOrigin-RevId: 4ecd779a6ceae3f36b60c6656d9ff819fe844f89
2019-07-02 06:52:16 +03:00
Roman Shevchenko
04e6f4a623 Cleanup (warnings; typos; formatting)
GitOrigin-RevId: 1cad4232ba1d1f58c522aa26019d245e2bf6832d
2019-06-16 06:52:20 +03:00
Vyacheslav Karpukhin
d5fb24d414 Merge commit 'a85b798667f6a81500b21eda3c8d508a28cb969c' into slava/out_of_process_sim_and_dev
GitOrigin-RevId: ccfc7bb2ab1846fbf2c169f6262ffa412f3efb80
2019-06-16 06:51:48 +03:00
Dmitry Jemerov
da9e941d80 @NotNull for RunConfigurationExtension.updateJavaParameters()
GitOrigin-RevId: 5c472044f340aeaf67f3a81695814e70e3a125f0
2019-06-16 06:51:17 +03:00
Vyacheslav Karpukhin
24d766790c Merge commit 'a85b798667f6a81500b21eda3c8d508a28cb969c' into egorzhdan/coverage
GitOrigin-RevId: 55b653eb620e8dc5642c467b0308e447a5ac32a7
2019-06-16 06:50:45 +03:00
Bas Leijdekkers
281b232d8e SSR: fix tests
GitOrigin-RevId: fd5800a16af388184d3946b937446b84ebe53ae6
2019-06-16 06:42:26 +03:00