Commit Graph

449192 Commits

Author SHA1 Message Date
Vladimir Krivosheev
8fa4a1fc9a IJPL-158385 ToolboxUpdateActions - use coroutine scope, avoid Disposable
GitOrigin-RevId: a2e45785e0324d654c6f9747816ae2609d8fc171
2024-07-17 17:28:47 +00:00
Vladimir Krivosheev
cfaad7d6fe IJPL-158442 calling SingleAlarm.cancel is a bad smell - add internal (as you should use flow in a new code) cancelAndRequestWithCustomDelay
GitOrigin-RevId: 9d9f5adea8cc068cc52531a8ed7b8db585d9faa5
2024-07-17 17:28:47 +00:00
Andrey Cherkasov
bc554957db [kotlin] Port MakeClassAnAnnotationClassFix to K2
^KTIJ-29505

GitOrigin-RevId: 87178b73ccc19ca8159c64ea6fbb75d805d0afd9
2024-07-17 17:22:57 +00:00
Andrey Cherkasov
e6aaa8a221 [kotlin] Port AddDefaultConstructorFix to K2
^KTIJ-29474

GitOrigin-RevId: ed1ba91b4127b284a0879cdda7be396de1c2004d
2024-07-17 17:22:52 +00:00
Andrey Cherkasov
ae16b81972 [kotlin] Rename file
^KTIJ-29474

GitOrigin-RevId: 701bdfbac51905316da9a8dc755f165ae31c7094
2024-07-17 17:22:46 +00:00
Andrey Cherkasov
0de534227c [kotlin] Move AddDefaultConstructorFix to frontend independent module
^KTIJ-29474

GitOrigin-RevId: b1aba567b8a669fbc2bb10e0d298a6becc4e1008
2024-07-17 17:22:40 +00:00
Andrey Cherkasov
ae0a33ac3b [kotlin] Convert AddDefaultConstructorFix to ModCommandAction
^KTIJ-29474

GitOrigin-RevId: a1e3ca5bd33168a977f26387475f97197a388f37
2024-07-17 17:22:35 +00:00
Andrey Cherkasov
81cc21054f [kotlin] RenameModToRemFix: generate preview
IJ-CR-139617
^KTIJ-29628

GitOrigin-RevId: 0ad0db21fd0d374d308d9052c6a2bb43d6a98d1b
2024-07-17 17:22:29 +00:00
Andrey Cherkasov
699206d38d [kotlin] Minor fix
IJ-CR-139576
^KTIJ-30542

GitOrigin-RevId: 3252571098b44e2aebb4591ce53212a929b28de3
2024-07-17 17:22:23 +00:00
Andrey Cherkasov
72a436a912 [kotlin] Make class members private
IJ-CR-139576
^KTIJ-30542

GitOrigin-RevId: 51bf868b73a3cc5bacf964997e9b577738688fb2
2024-07-17 17:22:17 +00:00
Max Medvedev
e226446f3d IJPL-158427 simplify IOException handling for MarketplaceRequests#getMarketplacePlugins
It should not throw IOException at all. Instead it should log it and return an empty result

GitOrigin-RevId: adf14deb80aaebbc2169d629a2595ed27da0e7db
2024-07-17 17:14:45 +00:00
Sergei Tachenov
ae62b6f9a2 IJPL-158446 Add a comment explaining the new ScaledIconCache key
GitOrigin-RevId: c2d1fdf32479f616ed4a38b7c80e4d395c542b24
2024-07-17 17:05:27 +00:00
Georgii Ustinov
e25cbab84c [Junit] Replace hardcoded version of Gradle to parametrized in GradleTestEventTest#test parametrized test count
IDEA-355896

GitOrigin-RevId: ce247a847820aba508688a48bfaa334ee17378cc
2024-07-17 16:37:43 +00:00
Georgii Ustinov
9620047c75 [Java. Error Highlighting] Highlight ranges in context action only when document isn't changed. Fix flaky test InlineLocalTest#testLocalVarInsideLambdaBody
GitOrigin-RevId: 065394313f70d37a6c14175b75102ab78903e289
2024-07-17 16:36:38 +00:00
Alex Plate
c24d7c1b7a [Workspace Model] [IDEA-348672] Use concurrent hash map to store the information about the unloaded modules
Generally, it seems like this can be rewritten to just use the unloaded storage and do not store the additional information in maps.
This change is intended to fix the concurrency issue.

With the change of the map, we loose the ordering of the keys. The ordering, however, doesn't matter. It's only exposed via `allModuleDescriptions` and `unloadedModuleDescriptions` functions, but they have a `Collection` type that doesn't specify the ordering. Also, in practice, the ordering is not used not by intellij, nor by external plugins code.

The map of modules was original unordered and ordering was added in 5f7c407aae45df034a3dc1c0a9876a53807b64b8 without any specific reason for that.

GitOrigin-RevId: 8e3f0a25fc14e1315127cca88d7658bd7d6e5d59
2024-07-17 16:27:03 +00:00
Nikita.Skvortsov
4e3dfb7d67 [es] IJPL-797 external.system.api.impl review internal API
Hide APIs. Common issues: action calls instead of API calls, unfortunate internal interfaces naming.

GitOrigin-RevId: d6eca755594ad495fc43dad737dbbdfff7854a48
2024-07-17 16:14:34 +00:00
Vadim Salavatov
c50186d5cc IJPL-797 review built-in-server-api API
GitOrigin-RevId: f11211e4c92f796f9883f7c54ca958ee84e1237a
2024-07-17 16:13:58 +00:00
Sergey Pak
78561794df Increase settings sync initialization timeout from 5 seconds to 10 seconds
GitOrigin-RevId: 28dd109b0bcb407092cdbbfb0edc81b57c2978a9
2024-07-17 16:09:09 +00:00
Vladimir Krivosheev
2a4cbab8c4 IJPL-158442 SingleAlarm is overkill - use EdtScheduledExecutorService instead
GitOrigin-RevId: 6c97e6d168ec34d927ee27a1f73240a786bd7ec9
2024-07-17 16:00:59 +00:00
Vladimir Krivosheev
9dae89f36b IJPL-158442 more robust implementation of cancelAndRequest — join previos job after cancel (wait for fully canceled)
GitOrigin-RevId: 53a80fc03673b8990b42c010b3c949e31f5e3183
2024-07-17 16:00:59 +00:00
Vladimir Krivosheev
d50d350617 IJPL-158442 avoid JvmOverloads
GitOrigin-RevId: d7142bfaf5923bd965771801cdb76a037030b95d
2024-07-17 16:00:59 +00:00
Vladimir Krivosheev
6fb2ac4682 IJPL-158442 don't call contentManager.getComponent() if disposed
GitOrigin-RevId: bcf20fb8f8e7ca55211e09ac709c86bc17fe8a4f
2024-07-17 16:00:59 +00:00
Vladimir Krivosheev
e5dd4a5db1 IJPL-158442 cleanup
GitOrigin-RevId: a676cfa82a15fd8367c9f78233cffdac6726bbc1
2024-07-17 16:00:59 +00:00
Vladimir Krivosheev
d2814ae288 IJPL-158075 fix SingleAlarm.isDisposed
GitOrigin-RevId: 76193033481084202d31b8bb79290c766d488071
2024-07-17 15:59:56 +00:00
Vladimir Krivosheev
8d06affcc7 IJPL-158442 cleanup
GitOrigin-RevId: de9a25c2a01e84aeef8bdac2eebdab34e56eaf5e
2024-07-17 15:59:56 +00:00
Rustam Vishniakov
a3c6a2e2cb [formatter] Reuse test project, don't create another one (see IJPL-158451)
GitOrigin-RevId: 7580a8a9cb4562fc1a0613fe68e276458fbd0acd
2024-07-17 15:54:44 +00:00
Vladimir Dolzhenko
d6ee2e080d Add more diagnostic to catch visitor throwing PCE during highlighting
#KTIJ-30344

GitOrigin-RevId: 55e7f70212e37286e0604666634ba9db69c3dd6e
2024-07-17 15:43:48 +00:00
Ruslan Cheremin
e936c9d179 [core] CancellableComputation: a replacement for DiskQueryRelay
+ test for DiskQueryRelay legacy behavior

GitOrigin-RevId: 10c3216a7c72ed6537c2580763b309bce19b326b
2024-07-17 15:40:11 +00:00
chbndrhnns
c274285cae PY-66043: Resolve module references in PYTEST_PLUGINS
close #2814


Merge-request: IJ-MR-140174
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com>

GitOrigin-RevId: 4a7d46178ceedc283345980f118fbe607d84e685
2024-07-17 15:38:34 +00:00
Nikita Kudrin
ecedd0df00 [remdev] Attempt to stabilize RemoteDevTerminalTest test
GitOrigin-RevId: eed51199fc41c6b794df892fed3d94f881398560
2024-07-17 15:31:59 +00:00
Mikhail Mazurkevich
629be18c01 [workspace model] IDEA-356368 Enable trace logging for jps serialization
GitOrigin-RevId: 69cbd28d4e2b7d87265af19ef0afb1361219b4dd
2024-07-17 15:28:10 +00:00
Roman Shevchenko
aeb6fe3619 [ui] the "open project or file" chooser should not peek into directories outside the user's home (IJPL-74471)
GitOrigin-RevId: 60c7c311caeb7c2034fd84d1a9534f50c3029eb6
2024-07-17 15:18:07 +00:00
Andrey Vorobev
5e5f5d088f WEB-67650 React JSX: false positive attribute className is not allowed here with the new type evaluation
GitOrigin-RevId: b83ef3b481005bd00466ec94afc8e9d7dc097af6
2024-07-17 15:17:46 +00:00
Vladimir Parfinenko
8648dc5c83 [debugger] highlight only body of lambda breakpoint in Kotlin, IDEA-355640
GitOrigin-RevId: 6bfec1be7e49276b4f8405d97e9de6a9b29a7708
2024-07-17 15:07:53 +00:00
Vladimir Parfinenko
9e1771d783 [debugger] utility function bugfix
getTextRangeWithoutTrailingComments("/* abc */") failed with NPE

GitOrigin-RevId: 7fe65638f0b41501e47d16fe71486b515087169c
2024-07-17 15:07:53 +00:00
Vladimir Parfinenko
1540b94981 [debugger] add more tricky tests for Kotlin breakpoints
GitOrigin-RevId: 19e03cd49a62d9bffcf922aa7d441dda5572ce9d
2024-07-17 15:07:53 +00:00
Vladimir Parfinenko
d0ece29f80 [debugger] highlight only body of lambda breakpoint in Java, IDEA-355640
^IDEA-355640 fixed

GitOrigin-RevId: 51aff8802cb9d705e9f988adab5a7ee890fe8abb
2024-07-17 15:07:53 +00:00
Vladimir Parfinenko
409ef73450 [java to kotlin] debugger/JavaSourcePositionHighlighter
GitOrigin-RevId: f75f32918f551fef4b38e50461fa0702aa276cba
2024-07-17 15:07:53 +00:00
Konstantin Nisht
ce4308311d [platform] IDEA-356265: Limit amount of generated dots in ChannelingProgressIndicator
GitOrigin-RevId: 3f2f279d85a9e883f8f26ea3d8a8752d63b80112
2024-07-17 15:02:11 +00:00
Konstantin Nisht
d7b428e747 [platform] IJI-2040: Do not cancel context job on an exception within invokeAndWait
GitOrigin-RevId: 56e88f4a1fcee69e4b20caeab48592c03f5a0f1f
2024-07-17 15:02:11 +00:00
SirYwell
b22bb694b4 [java-inspections] Remove redundant checks
PR#2804
Reviewed-by: Tagir Valeev <tagir.valeev@jetbrains.com>

GitOrigin-RevId: 1cdce1a99e78603f8727f9a0a2cd10d8e51211f3
2024-07-17 14:41:06 +00:00
Tagir Valeev
3d043f610a [java-completion] JavaMethodReferenceElement: avoid slow-operation during rendering
GitOrigin-RevId: 447a44930da6433b31910f0f8ec76794751fb051
2024-07-17 14:41:06 +00:00
Alex Plate
42da3cf163 [Workspace Model] [IDEA-355596] Revert fork-join for module bridges initialization
This update causes a serious problem that may end up as a dead lock. The details are described in the tickets.

However, this change will revert the performance improvements from IJPL-149482

GitOrigin-RevId: b81ca8592fabc049a7459f000a605f5f14a6c0df
2024-07-17 14:22:51 +00:00
Vladimir Koshelev
68f82c0a1c [pycharm] get rid of PyBoundFunction
GitOrigin-RevId: f851c339dcf9f3e8e6ff9e3554451279bdcefea4
2024-07-17 14:21:09 +00:00
Sergey Pak
cf82c56c8b attempting to fix com.intellij.settingsSync.SettingsSyncFlowTest.concurrent sync does not disable sync during initialization
GitOrigin-RevId: cfdba2e54eb6b14759fc101dc2d534b554f2015e
2024-07-17 14:06:20 +00:00
Roman Shevchenko
5ac939d463 [ui] fine-tuning startup error dialog actions (IJPL-358)
GitOrigin-RevId: df2d405d9e842b25d83ae3fe812a7b6b4f7bac51
2024-07-17 14:05:09 +00:00
Bas Leijdekkers
0274790972 Java: replace with string concatenation should be available when STR processor is not resolved (IDEA-356408)
for "String template can be concatenated string" inspection

GitOrigin-RevId: a996bb1220b5af4b120ba1fd7f6c2ce0859ca41b
2024-07-17 13:55:15 +00:00
Maksim Zuev
e1784264ce [debugger] IDEA-349852 Fix project leak
GitOrigin-RevId: e2726afc92864500e2b1f7cbc3d37d41c9194e0e
2024-07-17 13:50:34 +00:00
Alexander.Glukhov
22c9b72147 [external system api][IJPL-158355] progress event api: dead code cleanup
GitOrigin-RevId: 5bc5327b42a8a7e67e99067b9f9ad42b58b7ba14
2024-07-17 13:44:58 +00:00
Alexander.Glukhov
8ebc1b403c [external system api][IJPL-158355] dead code cleanup
GitOrigin-RevId: fecdaf5df3fbdacc607ef1928870b197b7652c65
2024-07-17 13:44:58 +00:00