Commit Graph

422993 Commits

Author SHA1 Message Date
Tagir Valeev
bdf9fbcfd5 [regexp] Regexp plugin quick-fixes converted to ModCommand
GitOrigin-RevId: 9734abefacb311efc2ba9c42008da783e725458e
2023-10-27 18:19:28 +00:00
Aleksey Pivovarov
9a4c97f26e git: display affected roots in error messages
GitOrigin-RevId: 48952aa80178bc0e59fa9554fb16744a567283fb
2023-10-27 17:59:56 +00:00
Aleksey Pivovarov
e32fa25fa4 git: cleanup formatting
GitOrigin-RevId: 233aa135da8181a107712a517e7107f2f0619e10
2023-10-27 17:59:52 +00:00
Aleksey Pivovarov
5c15c71b0c git: reuse utility method
GitOrigin-RevId: a94596afc40af23bf20f1fd10d118b31676031d0
2023-10-27 17:59:49 +00:00
Andrei.Kuznetsov
573b77443b IDEA-336428: more logging
GitOrigin-RevId: 640f9b4bfcddbc2dea1d388f34ad093cff135213
2023-10-27 17:57:28 +00:00
Evgeny Abramov
53eb07a103 (IDEA-334267) Fix compilation errors after rebase
GitOrigin-RevId: 728f0785a3cbed99802fd73a93dab8f517a18631
2023-10-27 17:50:26 +00:00
Evgeny Abramov
c011ff9340 (IDEA-334267) Apply suggestions from code reviews with IJ Core folks
I no longer guarantee the relevance of items in semantic vector storages. This does not change user experience since we use ContributorsBasedGotoByModel to filter out irrelevant results. As a result, we can eliminate all file listeners that previously cached indexable entities for every file in a project. There is now only a single async file listener that is responsible for scheduling reindexing for files that were changed; it does not require custom time-consuming events processing or entities caching.

I also start using a single traversal over indexable entities during the indexing and replaced lists with coroutine flows to reduce memory footprint.

Besides, I made the functions related to disk persistance suspendable, so huge file reading/writing can be canceled and does not block project closing.

GitOrigin-RevId: 96471ffe13af22103de76ca53ab6256e9a45b9c5
2023-10-27 17:50:23 +00:00
Vera Petrenkova
13e46b67c0 IDEA-335959 Presentation Assistant: Migration from 232 to 233
GitOrigin-RevId: 2fb48922af487066da646b1401a48784977e38ee
2023-10-27 17:48:46 +00:00
Alexey Merkulov
4612d8a5e6 [debugger] Fix invalid line number
It seems there was an error because PSI files count niles from zero, but jdi.Location counts it from one.

GitOrigin-RevId: b6c4fa4a291ed869402682500af3c53b68e28da0
2023-10-27 17:39:50 +00:00
Eugene Zhuravlev
2b3ece365f JPS mappings for incremental compilation refactoring: debug logging, extract "affectNodeSources" method
GitOrigin-RevId: 722c18f52d702891ee967d0d926854c72a0e2065
2023-10-27 16:59:40 +00:00
Maciej Procyk
f465903bc1 [run configuration][fleet][KMT-240] properly find gradle run configuration also for context of KtNamedFunction
GitOrigin-RevId: a0de204478d1146a7a2b2ad09b3222ede4e55670
2023-10-27 16:41:36 +00:00
Mikhail Sokolov
079d84ff6b IDEA-321513 When searching for many usages, main time is spent in ShowUsagesAction.setPopupSize
GitOrigin-RevId: b7eb678ad28deffd95220235b738d1d75ebc3717
2023-10-27 16:25:31 +00:00
Kirill.Karnaukhov
23330fa697 [inline-completion] ML-1700: record onboarding finish only once
GitOrigin-RevId: 2d555b9a582dec2df75ffdc4a21feb39e76db03c
2023-10-27 16:12:26 +00:00
Bart van Helvert
86a30d35a5 [jvm] Clean up CallChainReplacementInfo API
GitOrigin-RevId: 209a492001b6a7872b2ed1b57da57daa3e7ee184
2023-10-27 15:50:03 +00:00
Bart van Helvert
d4b27bcc4e [ui] Make DeferredSelection singleton non-lazy
#IDEA-335018

GitOrigin-RevId: 0599dc9cede32ae822361f64a348a593427c8a31
2023-10-27 15:49:59 +00:00
Alisa Afonina
1fd5a408bb [rdct] Fix dsl renderer according to platform changes
GitOrigin-RevId: c64e20b39b35aabb6bc98e1cbc09492e1f49897c
2023-10-27 14:38:51 +00:00
Johannes Koenen
8b1c502b64 [QD-7418] Refactor GlobalInspectionContextImpl & InspectionEngine
- Formatting
- Revise creation of inspect listener
- Extract large lambdas
- Drop unused class

GitOrigin-RevId: 64d57f2d1a325ab86ba9a830a4d5da00732780a7
2023-10-27 13:56:25 +00:00
Pavel Porvatov
3a5004b0ac LLM-979 Implement AI Assistant activation workflow
- Implemented settings states

GitOrigin-RevId: d9e2653f445fc146521f42c300b7ce1a83e1de2c
2023-10-27 13:40:33 +00:00
Petr Surkov
bc37cc0a28 [full-line] ML-1686 Transfer autoimport tests lookup -> inline
GitOrigin-RevId: 3f2e047781d122dc65fb95a7021938fdb61384b9
2023-10-27 13:27:20 +00:00
Aleksei.Cherepanov
0eec0e902e IDEA-333730 Adapt Lombok Gradle Project resolver for persistent compiler plugins model in data nodes
Fix compilation for 6ea8099a
https://github.com/JetBrains/intellij-community/pull/2582
Relates KTIJ-27235

GitOrigin-RevId: 63247b65d799457ce40384ac37bbd87abb6a35d2
2023-10-27 12:37:44 +00:00
Ivan Gavrilovic
ef29e034b1 IDEA-333730 Persist compiler plugins model in data nodes
... to allow data importers to always produce the same
result, even if data nodes are retrieved from cache.

Also, variant switching in Android Studio relies on this.
It restores data nodes from the cache, to avoid invoking
full Gradle sync.

closes https://github.com/JetBrains/intellij-community/pull/2582

#KTIJ-27235 Fixed

GitOrigin-RevId: c03227a1c6cd3177ed9f7f5438075ac482743878
2023-10-27 12:37:39 +00:00
Bas Leijdekkers
963141d5a8 Java: make "Replace octal escape with unicode escape" intention work in String Templates (IDEA-326944)
GitOrigin-RevId: 0dba8ebd37635e9fc2b908f9910b363e3cf0219e
2023-10-27 12:27:10 +00:00
Bas Leijdekkers
25fc90c770 Only highlight case-sensitively or by word if editor search session is open (IDEA-98569)
GitOrigin-RevId: 877fef720bfedb09edb12080dd4d61084e7627b8
2023-10-27 12:27:07 +00:00
Bas Leijdekkers
4a5fb73b18 Java: mark nested record as @ApiStatus.Internal
GitOrigin-RevId: 41fbfe595f683b274d66a541014424063c2b5460
2023-10-27 12:27:03 +00:00
Vera Petrenkova
2c78c4e431 IDEA-323295 Window header's circular gradient should always focus the project icon
GitOrigin-RevId: bb858339702e9e73769c22cfa8b3fde4fa04ebd6
2023-10-27 11:37:47 +00:00
Daniil.Bubnov
14c3d98ddf [FUS] Bump inlay.configuration groups version
follow-up commit a545c09845434a3be4e3f5ec41c8408ad20017d8

GitOrigin-RevId: d98798694c848be56d83b5f788d4094661c2ed20
2023-10-27 11:29:06 +00:00
Aleksey Pivovarov
128f3b7cdd IDEA-334426 vcs: better task cancellation for ChangeProvider
GitOrigin-RevId: 3aa2acbc755f369484ea5a25d7258ec8911befd7
2023-10-27 09:55:56 +00:00
Daniil Ovchinnikov
471cba937c render coroutine name in ChildScope.toString to help with debugging exceptions like IJPL-317
GitOrigin-RevId: c4d92c7a5f11531f4d048dc08753f1762eae9bda
2023-10-27 02:45:42 +00:00
Eugene Zhuravlev
893bdd3eec JPS mappings for incremental compilation refactoring: fixes in persistence; update back-deps indexes correctly; added class short name index; rules for added classes
GitOrigin-RevId: da6760219c22d1043ce1b9ac542a59bfee151780
2023-10-26 23:51:47 +00:00
Eugene Zhuravlev
0d94a90f56 JPS mappings for incremental compilation refactoring: rules for added/removed/changed fields
GitOrigin-RevId: 6b94ed3edf3a77481d1f07a37b762c54aaaea990
2023-10-26 23:51:42 +00:00
Yuriy Artamonov
e191e534b1 [java] IDEA-336427 Java: suspiciously high memory allocation from UastPatternAdapter#accepts
GitOrigin-RevId: 75fe6e52db1fed473da7da093e880f9b419d4afd
2023-10-26 23:28:08 +00:00
Alexey Merkulov
a6bc09c788 IDEA-335458 Fix race condition while preparing onboarding tips
Now prepareOnboardingTips activities set a sign to install onboarding tips on the first opened editor. So it may be (and should) executed before any files will be generated and opened by project wizard.

Also wanted to rename prepareTipsInEditor to prepareOnboardingTips (because installing to the editor will be later by the fact), but cannot do it because of API break.

GitOrigin-RevId: 1fdff5f9d99cffebb2a525f82374763be86ef4fb
2023-10-26 23:27:37 +00:00
Daniil Ovchinnikov
d9a711a0ab IJPL-317 throw AlreadyDisposedException if container scope is cancelled and service is requested without indicator/Job
This repeats `useInstanceContainer=false` behaviour more closely.

GitOrigin-RevId: ba58958a261e46bf6c5ed6e660bc3abb13893ffb
2023-10-26 23:11:16 +00:00
Vladimir Dolzhenko
e3b2a4775e [kotlin] Added AutomaticFileRenamer
#KTIJ-27509
#KTIJ-25076

GitOrigin-RevId: b5cf0ea3a926a049c7db996ccc86775ff6856166
2023-10-26 22:57:49 +00:00
Ivan Semenov
762eb1749e [github] disable all PR push options if push is restricted
GitOrigin-RevId: 6a302f4cfce65a39fccc233923bf47136663cf3b
2023-10-26 21:23:09 +00:00
Ivan Semenov
cf4dbb64ff [github] use ref update rules calculate PR mergeability and update min API version to 3.0
this allows us to avoid loading all user teams (costly) and avoid loading branch protection rules (fails for non-admins)

#Fixed IDEA-336300

GitOrigin-RevId: 79416686cf100b391a446ba26e218f457387eb2b
2023-10-26 21:23:09 +00:00
Ivan Semenov
a83debdab2 [gitlab] remove dot ending from bundle text
GitOrigin-RevId: 7082becda3a5947cce8f6fda647cb1785bba5189
2023-10-26 21:23:09 +00:00
Roman Shevchenko
3c65b9ea8c Cleanup (getting rid of static stuff in MemorySizeConfigurator)
GitOrigin-RevId: aaee8ce3f4eba1f8fb5ccadeaf789975885fd0bd
2023-10-26 21:06:55 +00:00
Ivan Migalev
0fbed82618 (IDEA-327207) Settings Transfer: more tailored extension design for VSCode, extract the JVM part
GitOrigin-RevId: d484b886b144a61ebe0594bbec250fb848b348c0
2023-10-26 21:04:48 +00:00
Ivan Migalev
f9169b0c66 (IDEA-327207) Settings Transfer: add an extension point for the third-party plugin import
GitOrigin-RevId: 3ee19367f23cc513c27dc7c80dd75b268855161e
2023-10-26 21:04:44 +00:00
Vadim Salavatov
88e848a924 IDEA-336143 IJPL-160 fix unloading of dynamic service instances
GitOrigin-RevId: 38a601d323e54ac450fe9336f4c60e5424d03dde
2023-10-26 20:41:59 +00:00
Dmitry Pogrebnoy
0aa7f403c8 IDEA-335664 Plugins: Share feedback banner has wrong background color in Light theme
GitOrigin-RevId: 0e0973368498fffa2dab5cf1231f41cd916c1071
2023-10-26 20:38:03 +00:00
Konstantin Aleev
92a61bb5cf [platform] EA-753700 tabbed pane ui: do not request tab html view in invalid state
GitOrigin-RevId: 70595fe2b2a5e81f1d31237d7ecbc2a2677b9436
2023-10-26 20:33:14 +00:00
Konstantin Hudyakov
6f3501f3c2 IDEA-336399 Presentation Assistant: fix small bottom border when only title is showing
There was an overlap of the label with the border for 2px.

GitOrigin-RevId: c740ad3ea892592e6f340917e41bbc31b407f128
2023-10-26 20:18:45 +00:00
Konstantin Hudyakov
8583289898 [settings-sync] IDEA-335945 Close the GotIt popup if Settings Sync node is hidden by scrolling
The change is needed locally, but I think it is an expected behavior for all GotIt tooltips.

GitOrigin-RevId: 308845fd00bc2445fd85544ebf2423e299cce264
2023-10-26 20:18:41 +00:00
Julia Beliaeva
e289bf0253 [ui] fix equals implementation for HelpTooltip
Since tooltip title was changed from String to Supplier, equals should be updated to correctly determine if the tooltip title was changed. It is important to avoid firing listeners, when CUSTOM_HELP_TOOLTIP for the action presentation is set, but the title stayed the same, since this can cause the tooltip to blink.

IDEA-336264

follow-up: f32d2129f58928a5eb2acbd81d5a14e3f3c186cd

GitOrigin-RevId: 1dcc8c040203c05cb4b0b3169bb792771de06a5a
2023-10-26 20:15:09 +00:00
Ivan Semenov
e3023fe037 [collab] fix test waiting for scope to finish forever
GitOrigin-RevId: 740a2a68e92e7f2208f9890531ca9ad58a0383e1
2023-10-26 20:14:20 +00:00
Ivan Semenov
b627df99b7 [gitlab] use correct scope for a view model
GitOrigin-RevId: 7a3528397031f237a9b09e6f17d28eb00dd2b3cc
2023-10-26 20:14:20 +00:00
Ivan Semenov
3c58a3f5a1 [collab/gitlab/github] provide proper parent job to git auth failure handler coroutine scope
GitOrigin-RevId: ec0f941df8fba874f8f6c4cde38792375bbaa2f7
2023-10-26 20:14:20 +00:00
Ivan Semenov
bef12c7b45 [gitlab] provide proper parent job to MR timeline file editor coroutine scope
GitOrigin-RevId: 0de84191e5a879e0ceab4e38aa28b89512a8d3fe
2023-10-26 20:14:20 +00:00