Commit Graph

450754 Commits

Author SHA1 Message Date
Andrew Kozlov
f58eada7e2 [kotlin] KTIJ-29898 dependency removed
GitOrigin-RevId: 51da06faa2643fe325b695e59551a34591adef15
2024-08-02 17:21:28 +00:00
Ilya Kirillov
573f1c13b9 [kotlin] update K2 mode message
^KTIJ-30853 fixed


(cherry picked from commit 5c28553f148f8cb060e613ecaf2c9bd4efb76a33)

IJ-MR-141691

GitOrigin-RevId: 9d64552035132eb8b7d924eb4af471294ba77269
2024-08-02 17:00:46 +00:00
Dmitry Kichinsky
190370ccb7 [maven] IDEA-357057 rename assertAutoReloadIsInitialized to assertAutoReloadIsEnabled
GitOrigin-RevId: 5dcd63a69359a5ca5dcb8fe981b231b9fa419184
2024-08-02 16:13:19 +00:00
Konstantin.Nisht
5c9feb90e9 [ijent] IJPL-149878: Enable copying, moving and deletion via IJent
GitOrigin-RevId: c9cfa5c33a4ac553aeab9ed112aaa2671c3c522c
2024-08-02 16:08:06 +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
Andrey Lisin
24ca282a62 PY-73432 Print effective debugger port number to stdout if single port mode enabled
GitOrigin-RevId: ff24636e02c90dc12f288b0ae2ff4700b4907fc7
2024-08-02 15:46:07 +00:00
Alexey Kudravtsev
786124ece7 platform.util: IJPL-797 Mark accidentally public platform APIs private
GitOrigin-RevId: 97527307631f5115fe3a9c8dc8a123c5665a2048
2024-08-02 15:33:42 +00:00
Alexey Kudravtsev
5f9438c2e1 platform.util.ex: IJPL-797 Mark accidentally public platform APIs private
GitOrigin-RevId: 25f1c8d3c8df2b6fbf7cf202d75e50ce0a5996a0
2024-08-02 15:33:42 +00:00
Vera Petrenkova
417d044a15 IJPL-159334 use dd-plist library to define macOS region instead of using PListBuddy
GitOrigin-RevId: 0a16f43a90cd19df76e249e708e46de12ffb6081
2024-08-02 15:09:25 +00:00
Tagir Valeev
51ad042450 [kotlin-dfa] IDEA-346653 K2: Port KotlinDfaAssistProvider
GitOrigin-RevId: f7ed8e79852699c5e60d712b15c65c8e4a2d345c
2024-08-02 14:52:21 +00:00
Roman Shevchenko
bf641a34ed Cleanup (formatting)
GitOrigin-RevId: bdf9ab9e40406475849fc2d4bd203d38a92f3b21
2024-08-02 14:49:46 +00:00
Roman Shevchenko
2a0924f833 [vfs] converting JRT ClosedFileSystemException to PCE (EA-897553)
GitOrigin-RevId: ddafa4b72ceb678f05c299da974167f3c1e81cc8
2024-08-02 14:49:46 +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
Tagir Valeev
d82076a22c [java-tests] DfaAssistTest: run computeHints() in background
K2 doesn't allow running analyze() in EDT

GitOrigin-RevId: 5eb74f9cc5eccfb04c1afebf1fb560ca322c9755
2024-08-02 14:18:00 +00:00
Tagir Valeev
4e5c75966d [platform] Unknown nullability for get()
GitOrigin-RevId: 57f0466c1e7d5f419e453bbf55b8066b8855175b
2024-08-02 14:18:00 +00:00
Daniil Ovchinnikov
af8052fa22 extract PluginUtil.getPluginId
GitOrigin-RevId: 685c520375e2d11fbe4ad3a72bb53c6a9b85d7be
2024-08-02 14:17:29 +00:00
Ilia.Shulgin
4953b7542b [log] IJPL-159496 Fix right-click handled as left-click when clicking graph in log
Left-click action was performed along with showing the context menu

GitOrigin-RevId: 76f14cb3a4daa0427b2174b7c4ea81e0207949fe
2024-08-02 14:14:43 +00:00
Daniil Ovchinnikov
fb4e6e078e IJPL-797 intellij.platform.navbar.backend review internal API
GitOrigin-RevId: 5574360a1014437b4fc069e1a7bbd3eefcb9486f
2024-08-02 14:08:07 +00:00
Dmitry Kichinsky
2262792eb4 [maven] IDEA-357057 call updateAllProjects() to resync
GitOrigin-RevId: 4e327ae6661f0f7a8fe5a1869fb220ef2de2ee97
2024-08-02 14:03:56 +00:00
Andrey Lisin
1843fbcf1c Cleanup: remove redundant usage of AppUIExecutor
GitOrigin-RevId: c81a918fe0916a8178e14ee15879bc590706f02b
2024-08-02 14:00:00 +00:00
Alexandr Trushev
27ecc5fd32 [editor] fix flaky FileEditorManagerTest
GitOrigin-RevId: 977d09bc35765553a7ea28e1184f0fd44a58b011
2024-08-02 13:27:57 +00:00
Egor Kukoverov
7990c2d7d9 RUBY-32143 Implement UserActivityProviderComponent for segmented button
Run configuration editors run validation after UserActivityWatcher notifies them, and components have to implement UserActivityProviderComponent for the watcher to propagate changes


(cherry picked from commit b6d49bfe267d1762d80672e44dbbabdbdf6e1135)

IJ-CR-139876

GitOrigin-RevId: e730ed65d68e6b4583ea25444f53b9389590da77
2024-08-02 13:18:13 +00:00
Sergei Vorobyov
dd819552ad FUS-2534 [Gradle|FUS] fix: doesn't register twice the same new project wizard stat collector group
GitOrigin-RevId: 59e6dc5ffeb80d077afe47567d58a9d454c0a273
2024-08-02 13:07:11 +00:00
Roman Golyshev
4b234b7f4c KTIJ-26752 [kotlin] Adjust J2K testdata to changes in Import Optimizer
GitOrigin-RevId: 7162eb5d1909ae4a629df76641d6a6a5fcd6115f
2024-08-02 12:44:46 +00:00
Roman Golyshev
ff820ed565 KTIJ-26752 [kotlin] Check if KtInvokeFunctionReference is resolved by resolveToCall instead of resolveToSymbols
For invoke operators coming from builtin functional types,
`resolveToSymbols` will return an empty list, and it seems like
an intentional design.
We have to deal with this for now.

GitOrigin-RevId: a81a82cdf3399f8c24edc4aeac0e4c4c61fe402b
2024-08-02 12:44:46 +00:00
Roman Golyshev
2b8ca408ab KTIJ-26752 [kotlin] Consider import aliases when checking if callable is accessible as member in UsedReference
We already do that for classifiers, and should do that for
callables too

GitOrigin-RevId: 7248a211a8108bf1910220ba1ec4662a8174eb87
2024-08-02 12:44:46 +00:00
Roman Golyshev
995b3ab603 KTIJ-26752 [kotlin] Refactor code; extract checking the dispatch callables into a function
GitOrigin-RevId: 025ad2a1e998f00c15d03c9f161f9d6076600595
2024-08-02 12:44:46 +00:00
Roman Golyshev
a6c1bc2a17 KTIJ-26752 [kotlin] Filter references to the nested classifiers in UsedReference
Nested classifiers, if they are resolved, will be already
accessible even without the imports; so there's no need
to keep the imports for them.

^KTIJ-26752 Fixed

GitOrigin-RevId: f942edcf6e92fdc0c13d37a08cf4274811ceece9
2024-08-02 12:44:46 +00:00
Roman Golyshev
95b7cd3805 KTIJ-26752 [kotlin] Move UsedReference, UsedSymbol and utils to a separate file
GitOrigin-RevId: a33c21fdb7ad49781581f2bae52ef554e2b2a2ca
2024-08-02 12:44:46 +00:00
Roman Golyshev
137a78a00e KTIJ-26752 [kotlin] Introduce UsedReference and UsedSymbol classes to simplify UsedReferencesCollector
GitOrigin-RevId: c8d332abe0f717c68d7937bcd88e026f14f6f9d4
2024-08-02 12:44:46 +00:00
Roman Golyshev
d86fe128dc KTIJ-26752 [kotlin] Extract util functions from UsedReferencesCollector to the top level
GitOrigin-RevId: b3d2f952ba22d02cbf445f2fc7b8bd787e36322b
2024-08-02 12:44:46 +00:00
Roman Golyshev
30daf4dc28 KTIJ-26752 [kotlin] Clear the main cycle in UsedReferenceCollector
GitOrigin-RevId: 913db50f08bb8f1185fc05109051c6681d5c87af
2024-08-02 12:44:45 +00:00
Alexey Kudravtsev
3b0c71034a more logging for intentions pass
GitOrigin-RevId: 2a5e2562e78c4a60e953037ee181bee078a74b19
2024-08-02 12:24:30 +00:00
Bart van Helvert
c160009477 [kotlin] Find internal usages for KDoc references
#KTIJ-30858 Fixed

GitOrigin-RevId: 06936e333d9bb60fbf5156213d8873a503550e8e
2024-08-02 11:52:50 +00:00
Vladimir Lagunov
b461a07bd9 IJPL-156626 IJent: remove id from IjentApi
It's now possible to create an Ijent NIO filesystem with any URL.

Also, it becomes easier to create wrappers for Ijent*Api. Before the change, a wrapper couldn't have implemented `id` fairly: on the first hand, a wrapper must have its own id and shouldn't return the id of its delegate, on the other hand, a wrapper couldn't create and register its own id.

GitOrigin-RevId: b3f48e87c6b1fb9dae8d4487834ac542f3e4874d
2024-08-02 11:50:50 +00:00
Vladimir Lagunov
11d706dddf IJPL-156626 IJent: IjentWslNioFileSystem is not DelegateFileSystem anymore
It makes it easier to refactor later.

GitOrigin-RevId: 113a3f35e4b43548b4b4f29f4d9e854cd72a7f94
2024-08-02 11:50:50 +00:00
Ilya Kirillov
6c1abc53fd [kotlin] update kotlin compiler to 2.1.0-dev-3141
GitOrigin-RevId: d6c134ba511b7a56572cb2e74ddc17e8c0ae54c4
2024-08-02 11:42:34 +00:00
Dmitrii Gridin
bbdd26fd79 [kotlin] generate light classes tests
^KT-70323
^KT-70349

GitOrigin-RevId: 97a870a011893c03e6e2061addb88b73cfacc073
2024-08-02 11:42:34 +00:00
Roman Efremov
01ff89641b [Kotlin] Add tests for the problematic cases leading to an exception
...about incorrect number of type args.

^KT-65803 Fixed

GitOrigin-RevId: 4aa22b56320433a1f331a3a272a17a138e7de933
2024-08-02 11:42:34 +00:00
Jinseong Jeon
10ac1f2a4e [kotlin] AA: adapt to addition of VirtualFile support for binary module
^KT-68896

GitOrigin-RevId: dedd1daf72e2129bf7d4a9d30f689b073f0f34f4
2024-08-02 11:42:34 +00:00
Dmitrii Gridin
afc52e70ae [kotlin] drop anonymousSymbol usages
KT-70206

GitOrigin-RevId: 229cecc8dd0df4d8a4d8f414a2f015f7243b34a9
2024-08-02 11:42:34 +00:00
Dmitriy Novozhilov
733f46a3ce [kotlin] Update j2k testdata after the fix of KT-69951
Related issue:
- KTIJ-29640
- KTIJ-30775

GitOrigin-RevId: c7a3afe1181dcfd87882377385a4a61a1d4a06f0
2024-08-02 11:42:34 +00:00
Dmitrii Gridin
58f73a1c78 [kotlin] KotlinIconProvider: avoid ULC-specific code
^KT-68328

GitOrigin-RevId: 90635d212f7461a71cdb213baba3ec4c85d2ff69
2024-08-02 11:42:34 +00:00
Vera Petrenkova
bf225d5dba IJPL-159334 use dd-plist library to define macOS region instead of using PListBuddy
GitOrigin-RevId: 270b703106067040e97527f561be322a43352546
2024-08-02 11:28:55 +00:00
Yuriy Artamonov
89af9169b4 [searcheverywhere] IJPL-159528 Store preview enabled state in UISettings
GitOrigin-RevId: b4295874fb0d7986ab7a43af12959bfd87b9a30d
2024-08-02 11:26:55 +00:00
Vladimir Krivosheev
478f127f0a IJPL-159035 we must ignore localization plugins while searching for missing resource bundle
GitOrigin-RevId: 4933572341e27a7d0dcb3f0188fbca83c94c2224
2024-08-02 11:25:21 +00:00
Vladimir Krivosheev
9b4e88c268 IJPL-159035 cleanup - remove outdated and not correct getSearchableOptionsName method
GitOrigin-RevId: 48f7971b7b25e58dcc7a734300ca6fa48f02a4dc
2024-08-02 11:25:21 +00:00
Vladimir Dolzhenko
c43e5fbf00 [kotlin] Perform file type check by name
To avoid too heavy calculations on EDT

#KTIJ-30855 Fixed

GitOrigin-RevId: aeb5aca4d739ff2f666f1ae21c8a36863342018f
2024-08-02 11:20:46 +00:00
Vladimir Dolzhenko
bbc7ee8d63 [kotlin] Do not suggest to create kotlin worksheet files
#KTIJ-30859 Fixed

GitOrigin-RevId: 0d753b12c6db12dd09537baaa6d9e7073740c596
2024-08-02 11:20:46 +00:00