Roman Golyshev
d6d5e3888e
KTIJ-25346 [kotlin] Handle typealiased constructors referencing SAM types in K2 Import Optimizer
...
There are currently no good utility in AA to do the
"SAM constructor -> SAM type" navigation;
see KT-70301.
GitOrigin-RevId: a61ee3949f7892cf19276bf7bfcdc5c9f2c8105f
2024-07-30 00:13:29 +00:00
Roman Golyshev
c6391f929b
KTIJ-25346 [kotlin] Handle typealiased constructors in K2 Import Optimizer
...
Currently, due to KTIJ-26098, if the constructor is invoked via the typealias,
the reference resolves directly to the constructed class, and not to the
typealias.
This prevented `UsedReferencesCollector` from properly recognizing such references.
To handle this, we resolve the type explicitly when we see constructor calls
by using code fragments.
This works because type references work fine with typealiases (compared
to constructor references).
Also, add an explicit test for currently incorrect optimization
of `kotlin.concurrent.Volatile` import.
^KTIJ-25346 Fixed
GitOrigin-RevId: f531c00cba6d7e6687a45ae06aa9ac85a92262a3
2024-07-30 00:13:29 +00:00
Roman Golyshev
03019cbc52
KTIJ-25346 [kotlin] Fix accidental is KaConstructorSymbol check in UsedReferencesCollector
...
GitOrigin-RevId: aedfcc51a84e9e452aa87390f429e22b2022ae0f
2024-07-30 00:13:29 +00:00
Aleksandr Sorotskii
56b48787e3
cleanup, remove dead code
...
(cherry picked from commit f7912b44dc75c228a9c763cf0b517d3aee0ea483)
IJ-MR-141257
GitOrigin-RevId: 095827de20dd1c2dd83dd8eedb6b40a9bb3c8a64
2024-07-30 00:05:20 +00:00
Daniil Ovchinnikov
c728b222ee
IJPL-797 intellij.platform.serviceContainer review internal API
...
GitOrigin-RevId: 82fe944ff2833dd403f0ebd11ed1ab5a6049fec9
2024-07-29 22:52:27 +00:00
Daniil Ovchinnikov
5325b1972f
IJPL-797 intellij.platform.extensions review internal API
...
GitOrigin-RevId: 208e381e8d66093b2f29791015b4498008a4fe5b
2024-07-29 22:52:27 +00:00
Daniil Ovchinnikov
8858ecfc80
IJPL-797 intellij.platform.extensions clean up exposed private API
...
GitOrigin-RevId: c42ce0a3db6d24b47d79baf54ab65ca175d15cc4
2024-07-29 22:52:27 +00:00
Daniil Ovchinnikov
90a843fe8a
remove unused ExtensionPointChangeListener
...
GitOrigin-RevId: 0f0279679a05d05fcd9b71de5cac02b7fcb9e682
2024-07-29 22:52:27 +00:00
Nikita Barkov
6b34e9b200
[watcher]Updated api dump
...
GitOrigin-RevId: 306a61006bba1bf2965fe1e1344636ad80f81c47
2024-07-29 22:36:16 +00:00
Nikita Barkov
29e6534b50
[watcher]Replaced withSpan by spanName
...
GitOrigin-RevId: e2f085b19d9bdfb6538f72d056c169cdc1175234
2024-07-29 22:36:11 +00:00
Nikita Barkov
d458e5c2da
[watcher]Added ability to create span in PerformanceWatcher
...
GitOrigin-RevId: 6e8471045d166c54eb76ce0b4ad4c528a2b29c0e
2024-07-29 22:36:06 +00:00
Roman Grigorev
205d72171a
Updating versions of project dependencies: runtimeBuild->21.0.4b548.1
...
GitOrigin-RevId: ccf24ef49f7b2debe5606e8d2dd860f6896227dc
2024-07-29 22:16:03 +00:00
Ivan Migalev
0e97ff18fc
Settings Import: code cleanup in VSWinTransferSettingsProvider
...
GitOrigin-RevId: 6a42237d4507c81134aaf74c66af7a1cea865db1
2024-07-29 21:43:32 +00:00
Ivan Migalev
a67a883ab5
Settings Import: code cleanup in VSParser
...
GitOrigin-RevId: edde323f11d5e37044b79f9a5efc928c06a7a7c0
2024-07-29 21:43:32 +00:00
Ivan Migalev
2f8014502b
Fix RIDER-115237: do not fail import in case a bundled schema cannot be loaded
...
GitOrigin-RevId: 5c9a8d087a8a551924e3aa0f3cd9716c9a7544bd
2024-07-29 21:43:32 +00:00
Shumaf Lovpache
bf34fcce1d
[JavaScript Debugger] WEB-67881 Debugger ignores some breakpoints in code executed using ts-node
...
Now if a script has neither a source map nor a sourceMapUrl, the breakpoint will be set at the source position
GitOrigin-RevId: 923ed91bc9089aadc8f2067740ad4c38e84344dc
2024-07-29 21:36:35 +00:00
Bogdan.Kirilenko
ad9512d95e
[PyCharm] PY-74182 minor notebook cell spacing adjustments
...
GitOrigin-RevId: 8ffa627bb1749fcdb73ce03f8c351de9bb65c40d
2024-07-29 21:34:32 +00:00
Andrew Kozlov
c05a42045d
[kotlin] KTIJ-30784 LookupElementWrapper removed
...
GitOrigin-RevId: b086341bedb58521f577a00720957d0b5b7ef2f3
2024-07-29 21:28:29 +00:00
Vladimir Krivosheev
b5737376f1
IJPL-159035 fix core searchable options in unpacked dev-mode
...
GitOrigin-RevId: 31151b05d8a60e8c580f4d43cafc2ec95676939f
2024-07-29 21:04:12 +00:00
Vladimir Krivosheev
57a75df633
IJPL-159035 search bundle in all plugins if not found
...
GitOrigin-RevId: 5c010d5fc0e94f7b607686216571079863b77fa3
2024-07-29 21:04:12 +00:00
Vladimir Krivosheev
225123776a
EditorFragmentRenderer - get rid of Alarm
...
GitOrigin-RevId: ae120412bcaf9f9fe8c85aa03e55d277ef5bdd67
2024-07-29 21:04:12 +00:00
Vladimir Krivosheev
70135379e3
IJPL-159035 get rid of alarm and app executor pool
...
GitOrigin-RevId: fb279431956a97022e1d9febebf09fd0d5137f59
2024-07-29 21:04:12 +00:00
Vladimir Krivosheev
49ceb976b1
IJPL-159035 refactor AbstractEditor
...
GitOrigin-RevId: 041779d516681bdf7003a845bbc0286e4311e1b5
2024-07-29 21:04:12 +00:00
Vladimir Krivosheev
b7efa58f85
Rename .java to .kt
...
IJPL-159035
GitOrigin-RevId: 2cef14b0a25a7fd9f64b0f9c8e3f3e9faa5cae7a
2024-07-29 21:04:12 +00:00
Vladimir Krivosheev
6d64659fc3
IJPL-159035 refactor SettingsFilter
...
GitOrigin-RevId: 9a0bbd9b4a2fe83daac024b968220ef863161cb8
2024-07-29 21:04:12 +00:00
Vladimir Krivosheev
b86c156997
Rename .java to .kt
...
IJPL-159035
GitOrigin-RevId: cb9aa5f13a93ea4c2efd7622f15714a4032f54cc
2024-07-29 21:04:12 +00:00
Vladimir Krivosheev
2cea001449
IJPL-159035 simplify code - the key is actually a CharSequence
...
GitOrigin-RevId: 3c443aa30c4a842c1962c9b76c137d4f38b25fdf
2024-07-29 21:04:12 +00:00
Vladimir Krivosheev
2c401ac496
IJPL-159035 cleanup
...
GitOrigin-RevId: 747c6efbc65ad66ee71f4d04f51d011a3baebe53
2024-07-29 21:04:12 +00:00
Vladimir Krivosheev
84eec6d16d
IJPL-159035 use isBlank
...
GitOrigin-RevId: ea2b0b606b811b0bdbd546353a46da35b42e2442
2024-07-29 21:04:12 +00:00
Vladimir Krivosheev
4d793a91b8
IJPL-159035 use containsIgnoreCase
...
GitOrigin-RevId: c6e4fee4fedc4b60223c510b606d7edf9c28193f
2024-07-29 21:04:12 +00:00
Vladimir Krivosheev
48ce8d274d
IJPL-159035 use single alarm
...
GitOrigin-RevId: b38176fd8c4d7a08bc8b7b5b390b3138b1591cf2
2024-07-29 21:04:12 +00:00
Vladimir Krivosheev
1097b8f675
IJPL-159035 cleanup
...
GitOrigin-RevId: 9000303789ec2b57dac0a9cd7ee71739d2ec5319
2024-07-29 21:04:12 +00:00
Vedana.Voronina
2c3a017ff2
[collab/space] IDEA-356878: replace listReviewsV2 with listReviewsV3, fix multiplying load requests on list scroll
...
Merge-request: IJ-MR-141225
Merged-by: Veda Voronina <Vedana.Voronina@jetbrains.com >
GitOrigin-RevId: 028ab8af216825ca1c203c1a258631d2128e511f
2024-07-29 20:56:08 +00:00
Aleksei.Cherepanov
9d5d6483f8
Highlight both file links and browser ones in one log output string
...
^KTIJ-29334 Fixed
GitOrigin-RevId: b77168e20c99db32c716a708f7ec8c46f39ccf4b
2024-07-29 20:43:14 +00:00
Yuriy Artamonov
c52bceef8e
[spelling] IJPL-159316 Spelling: make Splitter implementations cancellable
...
GitOrigin-RevId: c192e1f540e26061634e3bc219da127f7f685b4d
2024-07-29 20:40:18 +00:00
Elena Shaverdova
7e75c193eb
Provide coroutine scope in Alarm in ProjectLoaded.kt
...
GitOrigin-RevId: 63690a8be385abbc2ac80fa2d0e3cae85e62c225
2024-07-29 20:33:05 +00:00
Elena Shaverdova
8567bd3c17
Provide coroutine scope in Alarm in WaitForSmartCommand
...
GitOrigin-RevId: e771ff9c1a4048d5c6854981b79ff84823ec823f
2024-07-29 20:33:05 +00:00
Andrey Cherkasov
60f3b8b6bc
[kotlin] Rename
...
IJ-CR-141042
^KTIJ-29599
^KTIJ-29601
GitOrigin-RevId: 9544b34f08dabd5b3dac7ffdf21cdc20dfac6bdb
2024-07-29 20:31:02 +00:00
Andrey Cherkasov
6e72accd1a
[kotlin] Convert MoveWhenElseBranchFix to ModCommandAction
...
^KTIJ-29518
GitOrigin-RevId: 802da378d1df897c6078d66ef1bcda484c572a07
2024-07-29 20:31:02 +00:00
Max Medvedev
59cd1cbd87
GitPushNativeResult.java: fix NPE
...
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'where' of com/intellij/openapi/util/text/StringUtil.containsIgnoreCase must not be null
at com.intellij.openapi.util.text.StringUtil.$$$reportNull$$$0(StringUtil.java)
at com.intellij.openapi.util.text.StringUtil.containsIgnoreCase(StringUtil.java)
at git4idea.push.GitPushNativeResult.isNonFFUpdate(GitPushNativeResult.java:67)
at git4idea.push.GitPushRepoResult.convertType(GitPushRepoResult.java:134)
GitOrigin-RevId: ded691d7711fff4106f6dcb7dd13b303c928edb2
2024-07-29 20:30:01 +00:00
Max Medvedev
ed3580c53e
[psi] SingleRootFileViewProvider: use getAndSet instead of compareAndSet
...
GitOrigin-RevId: 6cc92fade2138b9130cfa25c56e9ad04f3611336
2024-07-29 20:30:01 +00:00
Tomek jaen Mańko
977472cc96
IJPL-13201 Allow to choose cross-IDE sync mode when enabling sync
...
To facilitate re-using the sync scope selector part of the sync settings UI in the modal, it was extracted
to the `SettingsSyncPanelFactory` helper (like the category UI) and exposed as a combined factory method
named `createCombinedSyncSettingsPanel`. The combined panel also took the responsibility for applying the
changed settings as not to duplicate logic. Configuration change event production was left in the settings
configurable, as it's apparently only needed for the non-dialog use-case (otherwise it can cause a race
between cross-IDE sync state on client and server). Use of cross-IDE sync state (that is,
`SettingsSyncLocalSettings`) was refactored to follow the same pattern as `SettingsSyncSettings`, with
persistent setting and an UI model, both implementing a shared interface.
To actually apply the selected sync scope on enabling sync the `SettingsSyncBridge#applyInitialChanges`
method now creates/removes the cross-IDE sync server-side marker file before any sync data are sent
or applied.
Signed-off-by: Sergey Pak <sergey.pak@jetbrains.com >
GitOrigin-RevId: 370e0aafd0861280da72819bbd04b191adfbe3d2
2024-07-29 20:13:34 +00:00
Sergey Pak
be0a997637
stackoverflow during plugin installation in settings sync (IJPL-159298)
...
GitOrigin-RevId: 5e9bcd0a891cd0d8d7c2f7053bac4a1cf2cbab05
2024-07-29 20:10:33 +00:00
Vladimir Dolzhenko
90d1ce34b7
[kotlin] Fix rendering parameter info annotations
...
#KTIJ-29752 Fixed
GitOrigin-RevId: 8d260a57c6baccf18cf7f5dfa1a61f77d01c17ce
2024-07-29 19:29:16 +00:00
Vladimir Dolzhenko
28927af215
[kotlin] Fix directory exclusion
...
#KTIJ-29752
GitOrigin-RevId: b785f44a90b14bc5759d4c268bf58570140bab52
2024-07-29 19:29:16 +00:00
Mikhail Pyltsin
b921cf4559
IJ-CR-141087 [java-inspection] IDEA-356474 Support JEP 477: support implicitly imported modules in optimize imports
...
- refactoring `com.intellij.psi.impl.source.codeStyle.ImportHelper.calculateOnDemandImportConflicts`
GitOrigin-RevId: a3dc84c7451180f65b9858dc7b338eae4b686904
2024-07-29 19:28:02 +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
59fc2e4a19
[Java. Code Formatting] Use only one range for dependant spacing in JavaSpacePropertyProcessor#createSpaceWithLinefeedIfListWrapped
...
IDEA-165216
GitOrigin-RevId: 78fe6204b0a26f75f9993a17886ff097bcdad5fe
2024-07-29 19:15:53 +00:00
Georgii Ustinov
cf75eec6ff
[Java. Code Formatting] Use united range for the creating dependent spaces after '(' for method declarations
...
IDEA-165216
GitOrigin-RevId: 2e6e426364f2533eee9693d557fa97f99e1d8282
2024-07-29 19:15:53 +00:00