Commit Graph
474862 Commits
Author SHA1 Message Date
Codrin.Ogreanu edaef30179 IJPL-163132 Add KMP-compatible codePointAt and toCodePoint implementations to idea-flex-kotlin.skeleton
Also bumped to KFlex 1.10.13


Merge-request: IJ-MR-160215
Merged-by: Codrin Ogreanu <codrin.ogreanu@jetbrains.com>

GitOrigin-RevId: 5726f30797c1eb0341a5b0119cd82fdba9b5da2e
2025-04-12 16:12:54 +00:00
Petr 0175466dc6 PY-80195 Literals of Enums broken after import (2025.1 EAP)
Consider enum attribute of an unknown type an enum member.

GitOrigin-RevId: 72c2fd37f18e4dde65d735f1032495df5aeda791
2025-04-12 15:48:21 +00:00
Yuriy Artamonov 4474d793a5 [plugins] IJPL-183498 Incompatible plugins cannot be enabled after unloading
GitOrigin-RevId: 9a81dc2e2efb160f3cc135fef7e8be43761a979f
2025-04-12 15:04:29 +00:00
Yuriy Artamonov a4813ffc18 [plugins] IJPL-183064 Plugins: infinite loading of advertiser suggestions breaks editor notifications
GitOrigin-RevId: 7da131ac3357e39622e9a931f2a89ffba6c620b0
2025-04-12 15:04:29 +00:00
Yuriy Artamonov ee1b138d8c [plugins] IJPL-165544 Advertise plugins supporting ANSI codes in .log in editor
Only load the first 1000 symbols for ANSI detection

GitOrigin-RevId: e0f6b25eee000d6e879dab085d8e8e303ce06a5a
2025-04-12 15:04:29 +00:00
Alexander Zolotov 041c2b6f8e [syntax] add compiler plugin
GitOrigin-RevId: e311fdb450c237256fbd57b90f70e4ba33d32d22
2025-04-12 14:47:00 +00:00
Max Medvedev e49b702a52 IJPL-162853 extract getJavaElementTypeConverter
GitOrigin-RevId: 755c58c20fb918e3c813c22bd471766f559f3ac8
2025-04-12 14:47:00 +00:00
Max Medvedev 8efdc10b86 IJPL-162853 todo
GitOrigin-RevId: 784af016e32b4f8717876bf2db57ddf2b9f5c397
2025-04-12 14:47:00 +00:00
Max Medvedev 056212be71 IJPL-162853 kmp compatibility: use non-deprecated api
GitOrigin-RevId: d438f70978b5323e68aac519093d950fdaa057e9
2025-04-12 14:47:00 +00:00
Max Medvedev a3a4d22a9f IJPL-162853 kmp compatibility: assert -> require
GitOrigin-RevId: dd9b5f54184f68d725e69797cc75fb41735cd568
2025-04-12 14:47:00 +00:00
Max Medvedev 0f7382ac44 IJPL-162853 kmp compatibility: more imports
GitOrigin-RevId: 7b7ab0a6056e3e4739adaf2ee541a6795d87dc21
2025-04-12 14:47:00 +00:00
Max Medvedev 8a53dea89c IJPL-162853 kmp compatibility: clone->copyOf
GitOrigin-RevId: d42e019023cdfbad2398d855dd877cf61cf43f27
2025-04-12 14:47:00 +00:00
Max Medvedev 0a69176210 IJPL-162853 kmp compatibility: imports for jvm annotations
GitOrigin-RevId: 9790c3e95a372ee21d62adf6bd50a9e95da03b55
2025-04-12 14:47:00 +00:00
Max Medvedev 7cebc0a360 IJPL-162853 kmp compatibility: isDigit
GitOrigin-RevId: 03bab7a5423c3855cbdc4dbf3e51e8bc52a6501f
2025-04-12 14:47:00 +00:00
Max Medvedev dfb4bdf7e0 IJPL-162853 kmp compatibility: import for JvmOverloads
GitOrigin-RevId: da330715d16c2afafb476481d9d048d10eb51161
2025-04-12 14:47:00 +00:00
Max Medvedev 6fb2f359bd IJPL-162853 kmp compatibility: clone -> copyOf
GitOrigin-RevId: 46c23cb574bbb96713759002b08c6214098c18e6
2025-04-12 14:47:00 +00:00
Max Medvedev 6bb5415348 IJPL-162853 imports for JvmField
GitOrigin-RevId: bb6fe5b7484647dc305f95874ef8b4295666fe71
2025-04-12 14:47:00 +00:00
Max Medvedev f628228e40 IJPL-162853 imports for JvmStatic
GitOrigin-RevId: 5404c02ced091c422bf63be0fa802fa78375fe9b
2025-04-12 14:47:00 +00:00
Max Medvedev 903e3865b5 IJPL-162853 no javaClass on Kmp
GitOrigin-RevId: 6b983cc71692c6bb9baaf32b396fef9cc5910f42
2025-04-12 14:47:00 +00:00
Max Medvedev ff6bf2b94b IJPL-162853 tests are on JVM side only, no JUnit in Kmp
GitOrigin-RevId: 326dcfeb2bfaa00ae87ec631579e818f927bac62
2025-04-12 14:47:00 +00:00
Max Medvedev 5a638be567 IJPL-162853 stacktraces are available in jvm only
GitOrigin-RevId: 10cfa92992d961603a35ae5c8f7daa8559812208
2025-04-12 14:47:00 +00:00
Max Medvedev b0a10f7115 IJPL-162853 kmp compatibility: arrayCopy -> copyInto
GitOrigin-RevId: 2d7360aa14de30f4b1fdba2473758535f313caba
2025-04-12 14:47:00 +00:00
Max Medvedev 90655a65e3 IJPL-162853 use kmp atomics in syntax
GitOrigin-RevId: bdf1bf5a39f65ee994959fa545aba5d752647b52
2025-04-12 14:47:00 +00:00
Max Medvedev e3cfcff5a7 IJPL-162853 use kotlin function for measuring time
GitOrigin-RevId: 99b8ed9cf7d57704bb60a873db409646bafda817
2025-04-12 14:47:00 +00:00
Max Medvedev 134be56b0a IJPL-162853 JvmName must be imported in multiplatform
GitOrigin-RevId: ddf78548e36a9714343ed9424d19930721dae59a
2025-04-12 14:47:00 +00:00
Max Medvedev eae2792e45 IJPL-162853 remove unused keys in JavaSyntaxBundle.properties
GitOrigin-RevId: d761c687fd592ed4f2f55852e133adad4c063236
2025-04-12 14:47:00 +00:00
Max Medvedev e1de16914d IJPL-162853 sort keys by alhpapbet
GitOrigin-RevId: 621a734693c53c9a86b0e56f954a6e99d894c758
2025-04-12 14:47:00 +00:00
Max Medvedev 7c6b906df2 IJPL-162853 use generated kotlin bundle for i18n in syntax lib
GitOrigin-RevId: d694c3707ded316d4edd668e688e4812e5326ac6
2025-04-12 14:47:00 +00:00
Max Medvedev ead98a3249 IJPL-162853 introduce a script for converting a message bundle to a kotlin class
GitOrigin-RevId: d00ed622cc312ca6f37ebc3ab043b4eed170a191
2025-04-12 14:47:00 +00:00
Max Medvedev 04c59fb9f9 IJPL-162853 implement BaseResourceBundle for KMP
GitOrigin-RevId: 73663a4aee2cd30fa844e874b5f9133e1237e4e5
2025-04-12 14:47:00 +00:00
Dmitry Osinovskiy 0d685fb917 Action search: make it possible to use from AI - fixes
GitOrigin-RevId: ada1994ab41af25d1b4f812fd57aa5042924b1fc
2025-04-12 14:44:49 +00:00
Dmitry Osinovskiy faeb98c666 Action search: make it possible to use from AI
GitOrigin-RevId: cdedc88fa44bd6d26679a38615f9ede3b3da3141
2025-04-12 14:44:49 +00:00
Anna Kozlova 675dbd16f3 [kotlin] k2: disable change visibility intention on reified type parameters
- otherwise type parameters do not have a modifier list, and thus no applicable range exists for the intention

^KTIJ-33787 fixed

GitOrigin-RevId: 19dcd467bd4f9ff00c48e890d3faa7d3bac48027
2025-04-12 14:41:31 +00:00
Anna Kozlova eb5e5efe60 [kotlin] don't show fir tree in status bar without tweaking registry
^KTIJ-33790 fixed

GitOrigin-RevId: 7ad1da95bb2290a654e0d9e4af0d130eec86c3aa
2025-04-12 14:41:31 +00:00
Anna Kozlova b9cae74651 [kotlin] remove unused by code .iml dependencies
GitOrigin-RevId: cce2d4dbb982ce2cf1acfb401b329c3beaa23569
2025-04-12 14:41:31 +00:00
Anna Kozlova 7867f59355 [kotlin] k2: move inspections declared in intentions module to the better place
GitOrigin-RevId: 61e3279eaba76a6e6bc6e35c4f6d9b8c9a946f6f
2025-04-12 14:41:31 +00:00
Anna Kozlova c7cc9cbc73 [kotlin] k2: declare dependency from fixes to intentions to use generate equals/hashcode in add super
^KTIJ-33785 fixed

GitOrigin-RevId: 0371dae1924fb5bf058b04271c097e3ce39060e8
2025-04-12 14:41:31 +00:00
Anna Kozlova 0cd1da0307 [kotlin] narrow down the highlighting range for foreach parameter unused inspection
^KTIJ-33767 fixed

GitOrigin-RevId: 2b5b70fa422dd2b052945744d8e67f0e6f7fc1e4
2025-04-12 14:41:31 +00:00
Anna Kozlova 3c0c804b94 [kotlin] k2: port unnecessary variable inspection
name conflicts with implicits are not supported yet

^KTIJ-28465 fixed

GitOrigin-RevId: 17dce08a47a957cc5f2edf209d280e06340f65c5
2025-04-12 14:41:31 +00:00
Anna Kozlova 493bd9ac5f [kotlin] extract tests which might perform fixes after a daemon was already started after applying a fix
add module dependency fix, adds unambiguous import lazily thus can interrupt the daemon

GitOrigin-RevId: bb09c417d0753dc55c9aee59a56f4136e8929996
2025-04-12 14:41:31 +00:00
Anna Kozlova 41580a5b2c [java] add module dependency: remove redundant type parameters, simplify
GitOrigin-RevId: bc13b19f59550c6c8741b9e4f59b3e7e5f414436
2025-04-12 14:41:31 +00:00
Roman Golyshev 4a0eba89cb KTIJ-33579 [kotlin] Add extra documentation to ImportContext.isExplicitReceiver
GitOrigin-RevId: aa8acc7575310b81def45467d9f3f60c6ec2473d
2025-04-12 14:32:17 +00:00
Roman Golyshev c5c7b01cd0 KTIJ-33579 [kotlin] Use ImportContextWithFixedReceiverType in ComponentFunctionImportQuickFixFactory to properly handle destructuring in lambdas
^KTIJ-33579 Fixed

GitOrigin-RevId: b3f921bba5ef097f1998692aed8fac2e99c303b5
2025-04-12 14:32:17 +00:00
Roman Golyshev 999141b959 KTIJ-33579 [kotlin] Introduce ImportContextWithFixedReceiverType
GitOrigin-RevId: 11fa006adfad4b2aa0ebceaacc88d980c4d54e14
2025-04-12 14:32:17 +00:00
Roman Golyshev f95f071b32 KTIJ-33579 [kotlin] Make detectPosition happen under KaSession
GitOrigin-RevId: 786bfe87e77cf2a139d2f6460367205561552e6f
2025-04-12 14:32:17 +00:00
Roman Golyshev fda070231b KTIJ-33579 [kotlin] Add ImportContext.isExplicitReceiver property and receiverTypes function
This would allow abstracting away the computation
of correct receiver types, so that they can
be substituted for cases when there is no
explicit receiver expression

GitOrigin-RevId: a0b6e5d149c4e5c7469f99614ebe4ce3e34bed74
2025-04-12 14:32:17 +00:00
Roman Golyshev ec7e24ebc9 KTIJ-33579 [kotlin] Add ImportContext.positionType property and use it where possible
GitOrigin-RevId: 215c093e779c18b0a3555216cb0b2553514306f8
2025-04-12 14:32:17 +00:00
Roman Golyshev 60cd149366 KTIJ-33579 [kotlin] Make ImportContext an interface to make it more flexible
GitOrigin-RevId: 77a0ab531bc09ed09ad422b5903c9e6c19b16b8d
2025-04-12 14:32:17 +00:00
Roman Golyshev 2c21e95098 KTIJ-33579 [kotlin] Introduce separate ImportPositionType class
`ImportPositionTypeWithReceiver` is
too rigid for some cases, because
there might be no explicit receiver
expression in the code, but we still need
to differentiate between different types
of calls

GitOrigin-RevId: 8137cdfb1b19b39fdbe96d27c4544b3383294177
2025-04-12 14:32:17 +00:00
Roman Golyshev 792f2eabba KTIJ-33579 [kotlin] Add test cases for import of component operators in lambda parameter destructuring
Note 1: Tests are ignored in K1 Mode, and won't be fixed
there.

Note 2: Test for multiple imports at the same time is ignored
until KTIJ-33592 is fixed.

GitOrigin-RevId: cb9720cbd45b62674169283b9c5d2019bdaa8dfd
2025-04-12 14:32:17 +00:00