Bas Leijdekkers
dd0e596d3d
Java: replace with text block should not be available on non-string literals (IDEA-354921)
...
GitOrigin-RevId: b86751e38c0349fcafd72ed04b39ed5283c2c06a
2024-06-14 13:20:41 +00:00
Tagir Valeev
64327f79d6
[java-inspections] IDEA-346242 Add 'minimal java version' clause automatically to inspection descriptions, based on the required feature(s)
...
GitOrigin-RevId: 50a25148d4d36c46e9552b3123d1ef966b40a2c2
2024-02-15 15:28:00 +00:00
Tagir Valeev
340c4d40ba
[java] IDEA-345355 Refactor HighlightingFeature (in progress)
...
JavaFeature.isAvailable moved to PsiUtil, as we cannot get PsiElement language level inside frontback-api module
GitOrigin-RevId: 8092b1f55f0d90af5bc570f2fb49cdf9ef94485a
2024-02-08 10:07:48 +00:00
Tagir Valeev
7625b3c7a2
[java] IDEA-345355 Refactor HighlightingFeature (in progress)
...
Merge JavaLanguageFeature into JavaFeature
GitOrigin-RevId: 212b31d072450df03fc9eeeeb2cf0861b2b32bc1
2024-02-08 10:07:28 +00:00
Tagir Valeev
d8aa739e97
[java] IDEA-345355 Refactor HighlightingFeature (in progress)
...
Use JavaLanguageFeature instead of HighlightingFeature
GitOrigin-RevId: ad24840c3e810521c82da3873ec42aa3fadb4c0d
2024-02-08 10:07:18 +00:00
Bas Leijdekkers
019144e115
Java: make quick fix available to create text block from any string literal (IDEA-287070)
...
GitOrigin-RevId: c6393e03f710177d526f07e121a768a7eb5e0ad2
2024-01-16 16:20:59 +00:00
Andrey Cherkasov
019a6852f4
[java] Make extension classes final
...
GitOrigin-RevId: 1aae04982598568a111e8c78b9a71c9d2b4aa150
2023-12-13 20:02:09 +00:00
Bas Leijdekkers
09d35674b1
Java: create text block from any string concatenation (quick-fix only IDEA-263493)
...
GitOrigin-RevId: a312536b2e7b42aa2c7cf69beb896dd64b3a037e
2023-10-30 10:30:18 +00:00
Tagir Valeev
be9a7b3ed9
[mod-commands] Move ModCommands, PsiUpdateModCommandAction, and PsiUpdateModCommandQuickFix to analysis-api module
...
ModCommand clients should be able to avoid lang-api
GitOrigin-RevId: d85285f99e69067c35e9a1a3ea0787264406bc1d
2023-07-21 11:17:28 +00:00
Tagir Valeev
fe8778f422
[mod-command] Rename EditorUpdater -> ModPsiUpdater; move to analysis-api
...
GitOrigin-RevId: 41f8d5eb372f78e2c2c7d3a1257214c2b8c5f000
2023-06-22 10:54:21 +00:00
Tagir Valeev
29e678487a
[mod-command] 36 more quick-fixes converted to ModCommand
...
GitOrigin-RevId: e896b23b230cd8475035579fd9d27a719ed8c291
2023-05-17 12:33:58 +00:00
Andrey Cherkasov
50c04d921f
Revert "[java-inspections] TextBlockMigration: Suggest converting part of a string concatenation to the text block"
...
This reverts commit 8cbb8bcd7b0492e5657cfe69613cb27ff6e49414.
GitOrigin-RevId: 661bf51388bfc0c07b7f01dd182c76a82f70ae9b
2023-02-13 16:06:57 +00:00
Andrey Cherkasov
d68ca18c8c
Revert "[java-inspections] TextBlockMigration: Suggest the quick-fix not only when the cursor is on a line break"
...
This reverts commit c22c5b0019577717d11264bc22d6b19b98d0749a.
GitOrigin-RevId: 09e3e3b93698ec6e3489fe3c42827df78d66c22f
2023-02-13 16:06:52 +00:00
Andrey Cherkasov
eb301c2cd0
[java-inspections] TextBlockMigration: Suggest the quick-fix not only when the cursor is on a line break
...
IDEA-301162
GitOrigin-RevId: c22c5b0019577717d11264bc22d6b19b98d0749a
2023-02-07 17:12:22 +00:00
Andrey Cherkasov
0ed222c537
[java-inspections] TextBlockMigration: Suggest converting part of a string concatenation to the text block
...
IDEA-238736
GitOrigin-RevId: 8cbb8bcd7b0492e5657cfe69613cb27ff6e49414
2023-02-07 17:12:17 +00:00
Tagir Valeev
394fd38cb5
[inspections] Automatically convert createOptionsPanel() to getOptionsPane() in simple cases
...
GitOrigin-RevId: 8377376db858deac58eead81e92b286c1b099e10
2022-12-10 17:06:42 +00:00
Tagir Valeev
26aea361f0
[java-inspections] TextBlockMigration: properly escape ending space
...
GitOrigin-RevId: 8cbd99ecf3b4b9c068e30317e930eae150a007d9
2022-09-29 12:58:36 +00:00
Tagir Valeev
c3f0e4decd
[java-inspections] TextBlockMigration: do not report if there are comments in-between
...
GitOrigin-RevId: 970d43e2694bccc0ca98c7ad3abb61477e4d937f
2022-09-27 18:02:25 +00:00
Bas Leijdekkers
b74f3979be
No need to insert indent() call on text block when last line does not end with newline (IDEA-300620)
...
GitOrigin-RevId: bcbf7b9724fe8795c8e6ea6395a30fec8a956044
2022-09-09 14:22:02 +00:00
Bas Leijdekkers
be05972846
enable preview and test it for "Text block can be used" inspection
...
GitOrigin-RevId: 4f3bfcad8779c08b298408c6b9745076348ceda2
2022-08-05 14:46:20 +00:00
Alexey Kudravtsev
3f2a2eaf34
JavaElementVisitor: notnull
...
GitOrigin-RevId: e4b356ce28796e2631b0a631b5108e0348b77baf
2022-06-11 23:31:48 +00:00
Roman Ivanov
1c9e7f963a
[java] extract inspections out of java-impl
...
GitOrigin-RevId: db5268b62f2806101f56575b6e7184b8bd59f0e1
2021-10-01 09:23:32 +00:00