Tagir Valeev
4f249e8bcb
[java-intentions] RedundantSuppressInspectionBase: handle case when there are several mergers for a single inspection
...
Part of IDEA-327705 IntellIj 2023.2: incorrect "Redundant suppression" when used from TeamCity for Inspections run
GitOrigin-RevId: a0fab7970e496163cd784c6e9892d97ad90341e6
2023-08-18 16:25:36 +00:00
Leonid Shalupov
2b9c734bfe
IDEA-304699 convert PredefinedSearchScopeProvider to Kotlin
...
GitOrigin-RevId: 6026cd2f906573a7668b7e65295dd25d39caa64b
2023-08-18 15:17:29 +00:00
Leonid Shalupov
290ca9ac8f
Rename .java to .kt
...
GitOrigin-RevId: 3fd2b4db3450a6c41f53e1a920cf9980fdaf6b4b
2023-08-18 15:17:27 +00:00
Alexey Belkov
c7d2b6aa5e
Apply Kotlin inspection "Join declaration and assignment" in some places
...
Additional cases after the fix of KTIJ-26651
GitOrigin-RevId: 4b235b661d5cb922cd7c4b0e3cbc7e2b6b329063
2023-08-17 17:07:33 +00:00
Andrei Klunnyi
faf2372b2f
[kotlin] KTIJ-25523 Scripts: support for standalone configuration flag
...
This commit introduces the following changes:
1. Script type (standalone or under-source-root) and therefore, its resolution
scope is now defined differently.
When `LanguageFeature.SkipStandaloneScriptsInSourceRoots` (Kotlin 1.9) is on
and `-Xallow-any-scripts-in-source-roots` compiler flag is not specified,
a script type is defined exclusively by its `ScriptCompilationConfiguration.isStandalone`
flag. From now on, the actual script location in the project tree doesn't play any role.
Exclusion is made for the set of scripts not yet migrated to the new scheme:
[.gradle.kts, .ws.kts, .teamcity.kts].
2. Editor notification panel wording was slightly changed to reflect the new approach.
^KTIJ-25523 fixed
GitOrigin-RevId: 8b201d69144e960b94889919cdcfb8f08da5a5df
2023-08-17 16:59:26 +00:00
Alexey Kudravtsev
50f7a23ead
rename for clarity, move to encapsulate
...
GitOrigin-RevId: 83fbc4f457807cb595622b611e8a6b860c30a265
2023-08-17 15:35:20 +00:00
Alexey Kudravtsev
275703d1c9
cleanup
...
GitOrigin-RevId: 259f2fcef4fb0f74d98294f9ad44eb37c106a548
2023-08-17 15:35:19 +00:00
Tagir Valeev
6327ce9f8d
[analysis-impl] Better HighlightInfo#toString
...
GitOrigin-RevId: 5c4dc44c29d6f2a08f2426c68bc2896c8bbc7ccf
2023-08-17 11:16:36 +00:00
Anna Kozlova
7f50505a12
Merge branch 'kt-master'
...
# Conflicts:
# .idea/libraries/kotlinc_kotlin_stdlib.xml
# community/.idea/libraries/kotlinc_kotlin_stdlib.xml
GitOrigin-RevId: aa39418f04a5672d55c6fcdb7fa40572c255182c
2023-08-16 12:20:45 +00:00
Vladimir Dolzhenko
d920606d1a
[kotlin] Regroup highlighting modules, p.2
...
GitOrigin-RevId: 01caec663d11e19deec0e0e71072376ef5588367
2023-08-15 04:13:16 +00:00
Alexey Kudravtsev
e6a1d8da05
remove the "ignore CLion for the time being" patch since they've fixed their annotators
...
GitOrigin-RevId: fa1db7204fce3403ca668b92acfbe9f607b2d5cc
2023-08-14 12:56:08 +00:00
Tagir Valeev
0d9c9c392f
[java] Cosmetic
...
GitOrigin-RevId: 90aa0a6926c47b59fb6fe29e64e02a1785ddafa1
2023-08-14 12:18:22 +00:00
Dmitrii Naumenko
309206f69b
LookupUtil.kt: extract insertLookupInDocumentWindow method
...
GitOrigin-RevId: 059edd7744b9ee5e29d8d29304f948b43d81e7ba
2023-08-09 18:57:31 +00:00
Vladimir Krivosheev
8e9c80ca68
cleanup
...
GitOrigin-RevId: 8af9e5f0b72acc9f3691ec7007df5385bf134000
2023-08-02 23:33:00 +00:00
Vladimir Krivosheev
da8b7e3131
cleanup
...
GitOrigin-RevId: 15226b5d5cf801ccc5edbba306232f904e87db60
2023-08-02 23:32:54 +00:00
Tagir Valeev
e67e95619f
[java-dfa] IDEA-327174 Report always true/false when result of floating-point computation may be NaN
...
GitOrigin-RevId: 270985f171a16c41dc8f11cb1b53a400804c38c2
2023-08-02 10:52:05 +00:00
Tagir Valeev
66d5a034d5
[mod-command] Move Presentation to top-level
...
GitOrigin-RevId: d9e495719328ca4fa9bb25bc8ce9a9d24c5ca5ce
2023-07-31 13:41:35 +00:00
Tagir Valeev
5f7ba99e21
[mod-command] ModCommands utility methods moved to ModCommand interface itself
...
GitOrigin-RevId: 56d8829b42d0942fd3a10bf6cdeca934f44f036e
2023-07-31 13:41:31 +00:00
Tagir Valeev
3e9a5182b4
[mod-commands] ActionContext moved to top-level
...
GitOrigin-RevId: 8a4621b5b48fed952c8a2865c8699039e42b1edb
2023-07-28 08:52:46 +00:00
Alexey Kudravtsev
db1d5be5f4
diagnostics for EA-884534 T: BackgroundUpdateHighlightersUtil.createOrReuseHighlighterFor
...
GitOrigin-RevId: cfc5068b2694881b5cdc28ed14cb69b281190055
2023-07-27 12:48:37 +00:00
Vladimir Krivosheev
44bb3924c6
bring back intellij.platform.diagnostic module
...
GitOrigin-RevId: 7c3c0f0bccc96d030412506d927597d9cb21fde3
2023-07-26 20:57:44 +00:00
Vladimir Krivosheev
3a0f9da265
use list
...
GitOrigin-RevId: 76f11dd4d5ac4c64a296b30c4d62badae9c94643
2023-07-26 20:57:43 +00:00
Vladimir Krivosheev
b3ed61706f
cleanup
...
GitOrigin-RevId: 024ea0d5fecba0f32ec37799a4221c871a37cea6
2023-07-26 20:57:39 +00:00
Dmitry Avdeev
22ccb85572
IDEA-326286 'Insert semicolon' quick action should add a semicolon at the end of the statement, not at the caret
...
passing problem offset for fixes that rely on caret
GitOrigin-RevId: c02c16dfa7e7cd467376128e593a4859a8e8d8dd
2023-07-26 18:15:51 +00:00
Roman Shevchenko
ae617f6f8f
Cleanup (minor optimization; dead code; typos; formatting)
...
GitOrigin-RevId: 35e754f16a3e6509fee308d661eeb0a1bbc37daf
2023-07-26 11:51:46 +00:00
Alexey Kudravtsev
0fe316ad02
notnull
...
GitOrigin-RevId: f1b77fe7585cb7aa7644c8242d4ce0b4623abf96
2023-07-25 17:17:19 +00:00
Tagir Valeev
2ba515c4fd
[mod-command] ModCommandActionQuickFixUberWrapper: avoid repeating calls of getPresentation() when priority, etc., is requested
...
GitOrigin-RevId: 751bd765ccfdfd2be66aa278fbfdf6fbdd25bade
2023-07-25 15:02:07 +00:00
Tagir Valeev
648bf9a267
[mod-commands] QuickFixWrapper#unwrap: simplified, warning fixed
...
GitOrigin-RevId: ad53c968621fb72504891d36e1bf440ed901e45a
2023-07-25 13:55:46 +00:00
Tagir Valeev
1f57958769
[mod-commands] Move ModCommandServiceImpl to analysis-impl to avoid lang-impl dependency
...
Also: InjectionEditService moved to core-api
GitOrigin-RevId: 47ff0c48c7cfef21a5b14e20083d5116885f58f8
2023-07-24 14:49:02 +00:00
Tagir Valeev
c0b3b031e7
[mod-commands] SetInspectionOptionFix -> UpdateInspectionOptionFix (ModCommand)
...
GitOrigin-RevId: a1916285a58398848a6ce3c477399b3a86370efc
2023-07-24 14:48:52 +00:00
Tagir Valeev
176f6a543e
[mod-commands] ModUpdateInspectionOptions; used in several places
...
Also AddToInspectionOptionListFix; deduplicated
GitOrigin-RevId: e9e5beb4537af0c2944ad2ba69d1cf5346073311
2023-07-24 14:48:50 +00:00
Tagir Valeev
8b322ca8a6
[intention-actions] SetInspectionOptionFix: support global inspections automatically
...
GitOrigin-RevId: 14204fbf236a81183fbc9c534a228253c28d1ca6
2023-07-24 14:48:49 +00:00
Artem Bukhonov
685a0eb285
[rdct] Make AvailabilityCondition an enum class
...
(cherry picked from commit 2f24d72eb6c1f1dafa1eceb215d26e3e2d0c1ad8)
IJ-MR-110885
GitOrigin-RevId: 1fa959fdf24d290f467dee4a7884928a252297de
2023-07-21 21:22:12 +00:00
Artem Bukhonov
3ea521c2f7
[rdct] Add API for action availability hints. It helps to check availability on a thin client in more proper way.
...
See doc for EditorActionAvailabilityHint.
In order to pass this hints to a frontend the new extensions mechanism is added for highlighters model.
(cherry picked from commit 4c3933f125a8b68d2dde2bbea432e128247256c3)
IJ-MR-110885
GitOrigin-RevId: 7e92b0b1b33dcef6d088564b73f9c5a58e7ed9f1
2023-07-21 21:22:06 +00:00
Alexey Kudravtsev
d4a9e25915
more diagnostics
...
GitOrigin-RevId: 93bc9a3f525533f47f2d6e07391ab040b7029f75
2023-07-21 17:09:41 +00:00
Dmitry Krasilschikov
71a806d11d
IDEA-325095 SE text search: add shortcuts for text search filter actions
...
GitOrigin-RevId: 233acf27edebaeb1b92dbd38e7836d0088b06ed7
2023-07-21 13:25:51 +00:00
Tagir Valeev
996490dfe5
[mod-commands] ModCommandAction#unwrap replaced with CommonIntentionAction#asModCommandAction
...
First steps to decouple ModCommand from IntentionAction. ModCommand basic API ideally should not depend on IntentionAction
GitOrigin-RevId: d49460caccf504a8ef16e38b4912b7091ffaa83b
2023-07-21 11:17:24 +00:00
Tagir Valeev
3b11539d71
[java-dfa] DfConstantType: support 'is' relation to process object types in Kotlin correctly
...
Fixes KTIJ-26269 Constant conditions: false negative with 'when' clause, sealed interface and object
GitOrigin-RevId: 6982344006eadc0e59dcaed6c4242983119c6108
2023-07-21 11:17:15 +00:00
Dmitry Krasilschikov
df9c83f4a3
IDEA-324827 correct presentation for File Maks filter in empty text
...
GitOrigin-RevId: 361436b574fe94d95f88131306eb14d8ceab85ce
2023-07-21 09:53:05 +00:00
Alexey Kudravtsev
06774c75bf
IDEA-325940 Introduce "minimumSeverity" concept to Annotators/Inspections
...
GitOrigin-RevId: 3130129a6778bfae27f747dd2220e6d9f734eaa3
2023-07-20 17:56:56 +00:00
Alexey Kudravtsev
797d3e9486
cleanup
...
GitOrigin-RevId: 7f9f1d97279fe0cef9ead269d9568de77e613633
2023-07-20 17:56:53 +00:00
Vladimir Krivosheev
65217a8594
convert HighlightingPassTracer to kotlin
...
GitOrigin-RevId: ce6a412564aa84d76eae9d05827648656f6e2a1a
2023-07-20 16:00:14 +00:00
Vladimir Krivosheev
d01eedfd2b
Rename .java to .kt
...
GitOrigin-RevId: d8e652611249a953706c6b46826b3f542e45f457
2023-07-20 16:00:13 +00:00
Vladimir Krivosheev
ab9cf82cf5
cleanup
...
GitOrigin-RevId: 1f972baef31a5d9df6752a2920bd123bc3bdf9ec
2023-07-20 16:00:12 +00:00
Vladimir Krivosheev
348fdca35b
convert TextEditorBackgroundHighlighter to kotlin
...
GitOrigin-RevId: bc0d4702dfae449919e94d424cab141b337d928e
2023-07-20 16:00:11 +00:00
Vladimir Krivosheev
7fdf40af6a
Rename .java to .kt
...
GitOrigin-RevId: 398405cbc90706371e77a3a7c015e1dd7e92e98d
2023-07-20 16:00:10 +00:00
Alexey Kudravtsev
87f7099afd
cleanup
...
GitOrigin-RevId: f1b54909426cf20e66cc1c660faf89a01c902a98
2023-07-20 13:07:20 +00:00
sergey.vasiliev
fbf4ffdc5a
PsiDynaReference cleanup + LinkedHashMap for PathManager
...
GitOrigin-RevId: f3a52910ab785ed674f3a7c7924406169b20626b
2023-07-20 12:25:21 +00:00
Alexey Kudravtsev
5d19cf1058
encapsulate AnnotationSessionImpl creation to make it possible to add more info there
...
GitOrigin-RevId: 02b20264bcc3d4a96ca560440730235ea98c772d
2023-07-20 12:11:34 +00:00
Alexey Kudravtsev
e1f84b5ba0
encapsulate internals of AnnotationSession to be able to change the impl
...
GitOrigin-RevId: 5f5cf9d508a33748b6c60748a5a23575a333bfe2
2023-07-19 20:08:33 +00:00