Bas Leijdekkers
1c2887a09c
Java: basic support for headings when converting Javadoc to Markdown
...
GitOrigin-RevId: 0b8d1dcfa1324ff783a9b412b6fb330bbc6b0646
2024-08-09 11:14:15 +00:00
Bas Leijdekkers
ebbf5a1d20
Java: fix <br> support when converting Javadoc to Markdown
...
GitOrigin-RevId: d85489271ee65ff043f039eda4bfa82f8e50db77
2024-08-09 11:14:15 +00:00
Mikhail Pyltsin
cb37003541
[java-inspections] IDEA-357323 Propose case null during adding all cases
...
GitOrigin-RevId: 6d7ffccc28d64ed0f52db0235c41796d1d81284e
2024-08-09 11:00:42 +00:00
Mikhail Pyltsin
0f5aa949cb
[java-inspections] IDEA-357190 Support JEP477 - Remove unnecessary qualification is not suggested when it can be
...
- check if class is already imported
GitOrigin-RevId: 11a43bf80302194a4f8b34125de2bb741f1f3bac
2024-08-09 11:00:42 +00:00
Bas Leijdekkers
91cff4a4f1
Java: inspection for migration to Markdown documentation comments (IDEA-357191)
...
GitOrigin-RevId: 94d6c21d713073df58e2f6fb2bbd348a7039b9ce
2024-08-08 20:19:46 +00:00
Alexey Kudravtsev
7e84bf94d4
highlighting: pass toolId correctly to HighlightInfos from various sources
...
GitOrigin-RevId: 43afc5944671ad1eb211a29269e008613722b8c7
2024-08-08 14:23:57 +00:00
Alexey Kudravtsev
4045e43368
encapsulate and make structured RedBlackTree.VERIFY, DebugUtil.CHECK
...
GitOrigin-RevId: ffc073d412e94e91874f00f46c1f451272e778b4
2024-08-08 10:30:54 +00:00
Mikhail Pyltsin
f1eb1a3c67
[java] IDEA-357289 Run gutters stop working in dumb mode
...
GitOrigin-RevId: da4ffa069933bab51d722dd65266e2939f58daf3
2024-08-07 19:52:49 +00:00
Gregory.Shrago
c98b16d7a2
migrate non-typesafe getData: community
...
GitOrigin-RevId: 9925045d5302a768b5f57d9f965c96c631d14114
2024-08-07 02:37:34 +00:00
Aleksey Dobrynin
24f3b86d83
[java, highlighting, import-module] Check access module names for Module Import Declarations IDEA-356710
...
IJ-CR-141484
GitOrigin-RevId: aa63518be14907a230b0ca92189df6e552da36c5
2024-08-06 18:46:57 +00:00
Aleksey Dobrynin
2616038ffc
[java, import-module] resolve "import module" jep 476 IDEA-355535
...
IJ-CR-140196
GitOrigin-RevId: 3c445405dbab1dcbb84050ce2353a03a8ce100aa
2024-08-06 14:50:39 +00:00
Bas Leijdekkers
4426c2fc85
Java: create field from parameter with method type parameter type correctly (IDEA-357162)
...
GitOrigin-RevId: 3a9947fa58b394f0e0b5377fbe75702f3d4b8f6a
2024-08-06 10:48:28 +00:00
Bas Leijdekkers
24aaef624d
Java: fix false positive on reference to enum constant (IDEA-357156)
...
GitOrigin-RevId: 7c833e46823ab41c9bdf275308ccee226d7e1a5f
2024-08-06 10:48:28 +00:00
Bas Leijdekkers
5c96c794ed
Java: fix one more case where "invert if" loses comment (IDEA-252033)
...
GitOrigin-RevId: 8bba0c15ca98a31a29ffc8a0d46effca9d96d27f
2024-08-06 10:48:28 +00:00
Bas Leijdekkers
e39764dd13
Java: allow "invert if" in more places and cases
...
GitOrigin-RevId: f3d942d13ed72b7f94e189bb9d155b64c4603a97
2024-08-06 10:48:28 +00:00
Bas Leijdekkers
d335ac32c4
Java: parse parentheses with a call with lambda argument correctly (IDEA-200212)
...
GitOrigin-RevId: 98fcbb3b793ebfcfa636ac7d27ef21158c64eee7
2024-08-04 12:09:09 +00:00
Mikhail Pyltsin
6b7ef5d3e1
[java-intentions] IDEA-357080 Convert switch to if with boolean selector: omit second condition
...
GitOrigin-RevId: 77851a64e022155488fcc45b2fc15791c61fedce
2024-08-02 22:53:47 +00:00
Mikhail Pyltsin
d3b39b27a9
[java-inspection] IDEA-357079 Convert switch expression to old style switch with boolean selector: do not add default branch
...
GitOrigin-RevId: c02a9cd74b36adbf1e46c012cce3ef4c490c4eb9
2024-08-02 22:53:47 +00:00
Mikhail Pyltsin
e9fdbf0b00
IJ-CR-141547 [java-inspections] IDEA-356841 Convert to switch expression generates invalid code on line comments
...
- support comments in the middle
GitOrigin-RevId: a56684193791a8dfc086843756796d0cbd5cf571
2024-08-02 18:19:13 +00:00
Aleksey Dobrynin
ab45ebd22f
[java, complete, import-module] enhance code completion ordering: support transitive dependencies and implicit imports
...
GitOrigin-RevId: 737e01da30f0619ecae83693062e8b22adb5f6f3
2024-08-02 16:06:21 +00:00
Tagir Valeev
655bf65a7d
[java-refactoring] Inline variable: ignore references from method calls
...
Fixes IDEA-356914 Exception in Inline variable on red code
GitOrigin-RevId: ca785f72ba4b99fed0a0f3410a21df7dd13b7c5a
2024-08-02 14:18:00 +00:00
Tagir Valeev
eafd66854b
[java-stubs] TypeInfo: fix annotation parsing for multi-parameter generic types (IDEA-356112)
...
GitOrigin-RevId: 154294caab47747e81b80de26ca1bffd919fce98
2024-08-02 14:18:00 +00:00
Vladimir Krivosheev
696f7393dd
IJPL-159035 SpotlightPainter - get rid of MergingUpdateQueue
...
GitOrigin-RevId: 5f6c5c4cc41aec3d829284ca4a511e6c6696ceb1
2024-08-01 23:00:42 +00:00
Mikhail Pyltsin
ccf2a6bae5
[java-inspections] IDEA-356982 PsiImplicitClass is created for certain invalid code and renders the whole file gray
...
- skip implicit classes in unused analysis
GitOrigin-RevId: 6eb880108723b3623b0cc449d76f9f87942fc8b7
2024-08-01 16:00:34 +00:00
Bas Leijdekkers
c72b96d481
Java: enable Pratt parser by default (IDEA-305898)
...
GitOrigin-RevId: 597cfc30aeff88a7791e9e185b5c08426844d4da
2024-08-01 12:35:28 +00:00
Bas Leijdekkers
c8215f8fbc
Java: more sensible parse of incomplete binary expression (IDEA-305898)
...
GitOrigin-RevId: 3d3b59be1621fea7a4702109e1d654b47c5c76f7
2024-08-01 12:35:28 +00:00
Bas Leijdekkers
bc91c92493
Java: remove broken code from test data (IDEA-305898)
...
GitOrigin-RevId: 82874c8bb5b89e0a18ca77582b61d6836c021379
2024-08-01 12:35:28 +00:00
Bas Leijdekkers
c122a5897f
Java: remove heavily broken code from test data(IDEA-305898)
...
GitOrigin-RevId: 4bffa1842be6eaa4e9a48b8b5ee0ec381a6ff93f
2024-08-01 12:35:28 +00:00
Mikhail Pyltsin
4a9f1b4fee
[java-inspections] IDEA-356945 'insert default branch' suggests uncompilable code
...
GitOrigin-RevId: 44f277da31601775e3ce75021155bf7c37a6311c
2024-08-01 12:29:33 +00:00
Mikhail Pyltsin
1c6e73ad39
[java-inspections] IDEA-356841 Convert to switch expression generates invalid code on line comments
...
GitOrigin-RevId: 840ad7d5fe656b7cc443b67df30f60b0bb35b41d
2024-08-01 12:29:33 +00:00
Aleksey Dobrynin
44e14f0283
[java, highlighting, import-module] Check access module names for Module Import Declarations DEA-356710
...
GitOrigin-RevId: 819c182488bd0b4aeffb8518373da35aabf311ca
2024-07-31 17:00:00 +00:00
Aleksey Dobrynin
85c104a858
[java, complete, import-module] Check access module names for Module Import Declarations DEA-356710
...
GitOrigin-RevId: ef96cf46f062068539cc417a3e130172fd4b6132
2024-07-31 17:00:00 +00:00
Alexandr Suhinin
78b48990af
[extract method] test: fix extract recommender inspection
...
GitOrigin-RevId: 583f3ef6c77e17b6baa1f0643aafa69d8b900302
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
f6db6a0ef8
[extract method] reduce time spent in EDT
...
GitOrigin-RevId: fe147367255483d73d51a5e56a294ec41582948f
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
3e5384ad28
[extract method] move to coroutines (start)
...
GitOrigin-RevId: 092eee5b5501c1cab48e54a371a22ee198887af6
2024-07-31 14:26:46 +00:00
Alexandr Suhinin
ed6d7fbc6d
[extract method] IDEA-356707: simplify and speedup name suggestion
...
GitOrigin-RevId: 5a8baeec399127391f8e2069e6915f322c524458
2024-07-31 14:26:46 +00:00
Tagir Valeev
90543d0e24
[java-inspections] InlineVariableFix: avoid PSI writes after highlighting
...
Highlighting causes PSI commit and reformatting. It looks like modifying PSI after that may cause problems. Probably we can fix it later in ModCommand API, but for now we can just reorder things.
Fixes IDEA-355992 "Inline variable" quick-fix doesn't work if the variable initializer is on the next line
GitOrigin-RevId: f0a2418ac5618f91291b1f74ad2168d26c612447
2024-07-31 11:41:55 +00:00
Liudmila Kornilova
cd97efcf15
IJPL-159372 Freeze caused by IndexableFilesCollector (don't iterate over all files inside one big RA)
...
Replace EmptyProgressIndicator with null
GitOrigin-RevId: 8427c2343de5e2a173eaf126ed3f854976ee6b45
2024-07-31 10:43:08 +00:00
Bas Leijdekkers
a35a9f91ba
Java: improve error highlighting for unknown annotation method
...
GitOrigin-RevId: 6fdb6e2f397280cf4795cbd09ddcc1461a5897ff
2024-07-30 22:37:25 +00:00
Bas Leijdekkers
1bdb332af2
Java: better error recovery on annotation parsing (IDEA-209573)
...
GitOrigin-RevId: a600121ecbd9fa6338237f0d3802486c7f8a5656
2024-07-30 22:37:25 +00:00
Bas Leijdekkers
0274e2096d
Java: remove unuseful parser test (IDEA-305898)
...
GitOrigin-RevId: 1af85dda474342a1b70bedfd17ab6b469b93465c
2024-07-30 22:37:25 +00:00
Bas Leijdekkers
c014a1f2f1
Java: render incomplete polyadic expressions correctly (IDEA-356837)
...
GitOrigin-RevId: 6b9de40ba5ba85a0a27a1e7e8f85150058510fc9
2024-07-30 22:37:25 +00:00
Tagir Valeev
330a18544a
[java-dfa] Ignore type annotations hierarchy on local variables
...
Fixes IDEA-348069 Local variable holding result of JSpecify-`@Nullable`-annotated method in `@NullMarked` package is unexpectedly non-null
GitOrigin-RevId: c43ef9636dd903250ae698d30e571d2df7f793d8
2024-07-30 16:34:11 +00:00
jocelynluizzi13
0e11a2c3d7
[java-inspections] Extract some methods to reuse from j2k
...
PR#2795
Reviewed-by: Tagir Valeev <tagir.valeev@jetbrains.com >
GitOrigin-RevId: 46a62d8839160286ad8fe15c41dee30a923b545c
2024-07-30 16:34:11 +00:00
Tagir Valeev
01e84b64d3
[java-inspections] Annotate parameter as Nullable: support record components (IDEA-356915)
...
GitOrigin-RevId: d9d972ba2559077b345aa65e447f7b24025be23c
2024-07-30 16:34:11 +00:00
Tagir Valeev
79b2382bf4
[java-psi] Support type annotations when parsing the lightAST (IDEA-356112)
...
GitOrigin-RevId: 0b1f29ad6b31b2b9e8d3f90db0e6431263cd3905
2024-07-30 16:34:11 +00:00
Georgii Ustinov
6a72b8abb5
[Java. Code Formatting] Fix broken test for newline in method call arguments
...
IDEA-165216
GitOrigin-RevId: fb63484f5410c3e4749f3453fd87d5b9ca25a645
2024-07-29 19:15:53 +00:00
Georgii Ustinov
c9243c5975
[Java. Code Formatting] Add new tests to JavaFormatterNewLineAfterLBraceTest
...
IDEA-165216
GitOrigin-RevId: 313a43a7c081c604ca96be3b68f231a18d998650
2024-07-29 19:15:53 +00:00
Georgii Ustinov
5813964716
[Java. Code Formatting] Add tests for idempontent formatting for java method declarations
...
IDEA-165216
GitOrigin-RevId: cc5cd68d5c16b737052765809c075d4a473fa7ad
2024-07-29 19:15:53 +00:00
Liudmila Kornilova
7ebe97331d
Revert "IDEA-261095: fix indexID is removed twice on plugin unloading"
...
This reverts commit 2b40c44635948b0f2b36b148f428b2e29f8dc331.
GitOrigin-RevId: 0ca007453ed8b70f516120d822529e94b08db71d
2024-07-29 18:10:51 +00:00