Commit Graph

457473 Commits

Author SHA1 Message Date
Nikita.Skvortsov
2c75ecd7d6 [android] IDEA-360401 require loading content module explicitly in the Gradle Declarative plugin.
Gradle DSL Declarative plugin (module `intellij.android.gradle.declarative.lang.ide`) includes content module `intellij.android.gradle.declarative.lang`. By default, content modules are loaded in separate, child classloader. This change makes sure the module gets loaded by the plugin classloader.

(cherry picked from commit 27a9cb840407af4e76beae0a7c6bcfabc9dafc92)

GitOrigin-RevId: 1697d0525dccc207918227e0814f5be85cb8034e
2024-11-12 13:27:19 +01:00
Nebojsa Vuksic
696c7d3214 [android] IDEA-360401 (Ladybug Feature Drop) Merge AS 2024.2.2 Canary 5: Fix project module and library consistency issues
GitOrigin-RevId: 4dca533542800f53681ab575491e8b44dd7cee33
2024-11-12 13:26:45 +01:00
Nebojsa Vuksic
ba783bb773 [android] IDEA-360401 (Ladybug Feature Drop) Merge AS 2024.2.2 Canary 5: Bump layoutlib version to 15.0.3
GitOrigin-RevId: c22063a0f98f1a4c1770c4ef495ae4b1af07771d
2024-11-12 13:26:25 +01:00
Nebojsa Vuksic
6bf3ad6945 [android] IDEA-360401 (Ladybug Feature Drop) Merge AS 2024.2.2 Canary 5
GitOrigin-RevId: 69461b512340236df71681ed36a59e286a8b11ea
2024-11-12 13:24:27 +01:00
Roman Shevchenko
107779f96b [platform] making the "Analyze" button in internal error dialog visible in IJ and plugin projects
(cherry-picked from commit 7c19b50dd65439519f04e5f34b10cea3985b2522)

IJ-CR-149029

GitOrigin-RevId: c2316d10d39dc2a605a6e4974f9b782dcfb3bf57
2024-11-12 10:26:44 +00:00
Aleksandr Sorotskii
5f4980f553 bump reconnect params for debugger; PY-76400
(cherry picked from commit 9e4ea9e5832773fc78132d0ab40c9a9b879e84d0)

IJ-MR-149055

GitOrigin-RevId: 9ab5e2dc15c3168548a4fc1c8ac7a651668255c4
2024-11-11 19:15:06 +00:00
Alexander.Glukhov
836e5e4435 Revert "[gradle][IDEA-359475] prevent cache misses in the Gradle Model Cache using an OS dependent hash for the root build path"
This reverts commit a5736802b7402a51f8e166f790207ff1d1bef4e5.


(cherry picked from commit d8ca055de298c70eec1ce09a00f08200e2abc308)

IJ-CR-146796

GitOrigin-RevId: 3d2f2b2ecf884f905d6a5aaf4571460b92f27fce
2024-11-11 17:10:20 +00:00
Egor Eliseev
dbee69ed0b PY-59838 Refactor Poetry package management
Associate poetry files ("poetry.lock", "pyproject.toml") with the Python Packages toolwindow.
Separate UI error handling from package management logic.
Add tests to check the installation and removal of packages using poetry and "pyproject.toml" modification.

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

(cherry picked from commit 2ab0816f10c970f738d6d931dc123481030cad38)


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

GitOrigin-RevId: be957c5343b73264c78134f156ad0e4034b912f9
2024-11-11 15:50:51 +00:00
alexey.afanasiev
865f1aa38e QD-10214 Fix order of including yamls into parent one
(cherry picked from commit b287fa8789025982b450994e04d3526db11356d7)

IJ-CR-148920

GitOrigin-RevId: b5257aa5ebfc48594eea8c5def2e4cf1ea1c9bf2
2024-11-11 14:20:11 +00:00
Alexander Bubenchikov
670145195c [maven] [IDEA-362005] persist enabled profiles as a string
(cherry picked from commit ee26d496b43c7dcb8d569780d256394f2b0463fd)

IJ-CR-148925

GitOrigin-RevId: 9cacde8d170cf81bc4236ebb00f957b10900a956
2024-11-11 13:08:33 +00:00
Anton Kozub
143de32be1 IDEA-360496 Spring Structure: Web: endpoints from annotations and from functional routes should have the same representation
(cherry picked from commit eb27872ac9a3276067d28df36f161da844cad893)

IJ-CR-147953

GitOrigin-RevId: 2227648a48435295f8cf496d307e62c40038cc6e
2024-11-11 12:44:40 +00:00
Artem Bochkarev
09232315ba IJPL-165273 Execute freeIMRecursively on EDT (to avoid deadlocks in InputContext)
(cherry picked from commit 761af926b242e48243531c9ebd0c8db290d4e67b)

IJ-CR-149025

GitOrigin-RevId: 593b9733dfe3e97fca34bfb7f7bfd850c9b6fc8a
2024-11-11 12:10:08 +00:00
Konstantin Nisht
7ffa411b1c [eel] IJPL-165488: Use NIO in source root detection in NPW
(cherry picked from commit c599899708204f1dfb7da5d9914d747f3b18240f)

IJ-CR-148299

GitOrigin-RevId: ff80f4685295f5bd70dcde1b394822ff21d5d5c5
2024-11-11 10:39:05 +00:00
Tagir Valeev
1b220a2199 [properties] PropertiesReferenceManager: use runtime dependencies to resolve modules (IDEA-362731)
(cherry picked from commit d32fca2bd0d00fac37e379c757f841ab0d1253da)

IJ-CR-148878

GitOrigin-RevId: 25d34598b8b682db919573b8fb7a333f21bcdb58
2024-11-11 10:23:04 +00:00
Ilya.Kazakevich
13a8d6d4e1 IJPL-164725: aarch64 version of wslproxy
Version version (x86) was used by accident


(cherry picked from commit 587b58a59e9229217a99c7f4798763bd7f7c0a7f)

KT-CR-18867

GitOrigin-RevId: 7c24c5983482b19c1856608fc47671075b5a15f1
2024-11-09 14:32:47 +00:00
Daniil Tsarev
366fc4c9ce IDEA-359350 [frameworks] Disable already existing libraries in the 'add starters' dialog
(cherry picked from commit 12be53eb0de6d0275e802975ea5ca40ad5f15fb2)

IJ-CR-148689

GitOrigin-RevId: b99d56037523f57c63efc1eba399afd7e85a43d5
2024-11-08 20:03:04 +00:00
Sergey Pak
7b67eb1751 don't use saveThreshold for path.macros.xml. Fixes IJPL-39359 path.macros.xml is not stored on disk after the first IDE startup
(cherry picked from commit 7c7baee0dbb25bc5a1be6803c0494a6b2d0d8671)

IJ-CR-148829

GitOrigin-RevId: 8155a55fef4e8e0ae31167b1e0c26f8a8d0834f3
2024-11-08 19:58:52 +00:00
Frederik Haselmeier
5d91ccf7d2 [kotlin] Fixed broken logic in KotlinCompilerConfigurableTab
^KTIJ-32062 fixed


(cherry picked from commit 9d2cba33c68ca2a65dfa1c95f1424e54ea5b72ce)

IJ-CR-148869

GitOrigin-RevId: 27a1472284f589cd29eebfca433e7f9c5f4560c5
2024-11-08 19:25:49 +00:00
Pavel Kirpichenkov
1cd997f6d6 [Kotlin] Update a diagnostic message in a test to match the older compiler
IJ-CR-147773

Related compiler changes: KT-61272

GitOrigin-RevId: 90785ba8646fc6ef168f2cb0c48c18ca865f3b61
2024-11-08 17:49:01 +00:00
Pavel Kirpichenkov
6ebe11ab30 [Kotlin] Disable WhenToIfIntention for when with guards
The current implementation removes guard conditions entirely.
Disable the intention for when with guards completely in K1.
In K2 disable until it is implemented.

KTIJ-31685
KTIJ-31750

(cherry picked from commit 15a8cd53fe12b12d1d3dd890579bff80d2e4c08d)

IJ-CR-147773

GitOrigin-RevId: 8aba80c81e8083e4634c0ba0d907f1f30e855c25
2024-11-08 17:49:01 +00:00
Pavel Kirpichenkov
6418a1e4f2 [Kotlin] Don't sort EnumSet of language features
EnumSet's iterator already provides natural sorting.

KTIJ-30195


(cherry picked from commit 3a5359dd614f74a8fc6d5d164d6416cecac80788)

IJ-CR-147563

GitOrigin-RevId: 51dde5003a4d3bba10074e691ffcdba20dcfb321
2024-11-08 14:25:08 +00:00
Pavel Kirpichenkov
6a2621494e [Kotlin] FUS: collect language features in ProjectConfigurationCollector
Group: kotlin.project.configuration

KTIJ-30195


(cherry picked from commit b79a8eb72a0215760eafb0403d3811ae4d11057d)

IJ-CR-147563

GitOrigin-RevId: 36133eea5131b71e7ce771b866b8f4714040c3f9
2024-11-08 14:25:08 +00:00
Daniil Ovchinnikov
1eec7b1d72 IJPL-162368 expose ServiceDescriptor in the API
(cherry picked from commit a710d9f92e5f29ba64ce0ea2725288f23b958f10)

KT-CR-18847

GitOrigin-RevId: c7f1471388375be0276637b11406d36065aced72
2024-11-08 12:36:25 +00:00
Dmitry Krasilschikov
39e41fe431 IJ-CR-146673 LLM-11798 shelve name provider: update public API dumps
(cherry picked from commit 2738fed75d40b9d7cccec5fc6c0f3a0fab043b2e)

GitOrigin-RevId: a36f62c44ac91de6ec5ad0e128e401dfbc60e918
2024-11-08 12:08:48 +00:00
Dmitry Krasilschikov
9fe2a57216 IJ-CR-146673 LLM-11798 hide EP_NAME and rename API: title -> name
(cherry picked from commit 96bf9be0fcb4fa45eb91aba1433de5a7b52a6de3)

GitOrigin-RevId: c424bc0ab35203726670eaaa97f3cbaa31878928
2024-11-08 12:08:48 +00:00
Dmitry Krasilschikov
2e659ee2c1 IJ-CR-146673 LLM-11798 make suggestTitle suspend and check default name for the change list
(cherry picked from commit 31164f741219c9b957db3f7a223852d88927acfa)

GitOrigin-RevId: e8d35eb600cfbd655eacc2b03c04d048723a909d
2024-11-08 12:08:48 +00:00
Vladimir Krivosheev
c4d3b54af9 IJ-CR-148665 IJPL-162718 BackgroundTaskUtil.syncPublisher is not required anymore - we do throw CE (part 3 - fix UnshelvedChangelistsCleaningTest)
(cherry picked from commit 016dad848d955fb3b044ad6c805edd3a9ce8d299)

GitOrigin-RevId: 818069df83f02c0e487f246bfe27cb21acbc5525
2024-11-08 12:08:48 +00:00
Nikita Mironov
5ab34fab13 GO-17519 GO-17394 Move intention hint popup to the line before inlays if available
(cherry picked from commit f59c174237d86d15865768ec31459b0ff976f89b)

IJ-CR-148535

GitOrigin-RevId: 1fa56b3af19dac70c9934520c9e847821e73c05a
2024-11-08 11:58:12 +00:00
Aydar Mukhametzyanov
45060649fc IJPL-165526 Navigation bar: prevent IOOBE while opening the item from navbar popup
(cherry picked from commit 90445b13bc466d1a5b3588a0985ddbb425d3eba3)

IJ-CR-148473

GitOrigin-RevId: f50b6d076ce2ec568e6f9157a7c909c42c8f6aa6
2024-11-08 10:34:26 +00:00
Vladimir Panimaskin
fd4b3bcb44 [webpack] update Webpack json schemas WEB-64138
(cherry picked from commit c8975ff5cd29c34b65cbc413d366b1fd01196acd)

IJ-CR-148438

GitOrigin-RevId: c4e21a458a7a17d983f584c253901446591c2d53
2024-11-07 23:45:26 +00:00
Yuriy Artamonov
45d9edebbf [editor] IJPL-166233 Enable floating toolbar for more languages
(cherry picked from commit 102a803861fa4bf263a2883822ae9a40552372f2)
IJ-CR-148640

GitOrigin-RevId: 62e11422d171ff4ae273dc9d77cc0d8a64bfa496
2024-11-07 20:33:37 +00:00
Yuriy Artamonov
5c86515fc8 [editor] IJPL-164933 Floating toolbar stopped working for SQL files
(cherry picked from commit 0e0ff962e8a8fd57a708e3ad728aa937c271ac91)
IJ-CR-148640

GitOrigin-RevId: 7837adbb514543ef1f827242b7bae9dc881dae85
2024-11-07 20:33:37 +00:00
Yuriy Artamonov
0ad7df3289 [editor] IJPL-164140 Floating code toolbar is not configurable for JSON, XML, YAML and SQL files
(cherry picked from commit 9d3a74bf1433284ed0fb7e6e2b554926966110e7)
IJ-CR-148640

GitOrigin-RevId: 3c215330677d9e7730aaa04fbdd9fcffdbf3d7ba
2024-11-07 20:33:37 +00:00
Vladimir Lagunov
7c6d11a5be IJPL-166182 IJent, Eel: ensure that MultiRoutingFsPath calls delegate method with correct path instances
Before this code, a call of `MultiRoutingFsPath(WindowsPath("")).resolve(MultiRoutingFsPath(IjentWslNioPath("")))` used to throw `ProviderMismatchException`


(cherry picked from commit e061baa41035c2bcac933f9818e6023a84650476)

IJ-CR-148645

GitOrigin-RevId: aee605c7c1715bbd9725fe27066c8d1edc8e7b99
2024-11-07 16:38:22 +00:00
Alexey Kudravtsev
3b8e5851a2 ignore all optimizations for non-local editors (remdev|CWM) to quick-n-dirty workaround IJPL-163871 Intentions sometimes don't appear in Remote Dev and Code With Me
(cherry picked from commit 6f223d96cf6d194f3bdaa5ba60cc2148fc8580e5)

IJ-CR-148644

GitOrigin-RevId: 4adad7b54da131a0191f69ee21bc15988881572d
2024-11-07 12:49:33 +00:00
Chris Lemaire
07f1fbf5af [ghai] Make project available to summary timeline component factory
(cherry picked from commit cab7ffc9b8051cda70dadeb2d2d5ee643aad4a31)

IJ-CR-148445

GitOrigin-RevId: 959a58f5a684a307aee569c1b1fe812d550f20ec
2024-11-06 18:33:20 +00:00
Chris Lemaire
5cb9626d37 [collab] Don't add links at all if the authorUrl is left null (IJPL-165745)
#IJPL-165745 Fixed

(cherry picked from commit 829fcffde7c01f238998b6d58f9af64c1a6b07ef)


(cherry picked from commit e10ce49b556ae1c71dc7280efb9720b2dc4361a6)

IJ-CR-148445

GitOrigin-RevId: 8274a0f6dec6589b1f440feb9ace84e9bee8ba24
2024-11-06 18:33:20 +00:00
Chris Lemaire
e875634d8d [collab] Prevent comment size recalculations on-hover due to title actions
(cherry picked from commit a7b7024ccca8256222551aed3f7376dfbbbe433d)


(cherry picked from commit 7ba4316398b81a7e64e339d5744bfaaadc0d7b70)

IJ-CR-148445

GitOrigin-RevId: eb1af95d589f7848bb76566c64aa5a7dd7f5cf8f
2024-11-06 18:33:20 +00:00
Chris Lemaire
718f342655 [ghai] Unexpose the GHPRAIReviewExtension.EP field
(cherry picked from commit 6a9ddee53b185d0e5bc07066a1cd29683138b22e)


(cherry picked from commit 7633d324646fb80cbef4e62a0c75ea7282a8ae9f)

IJ-CR-148445

GitOrigin-RevId: a80af02b4df5139bc7745c56d24cc751f69078f1
2024-11-06 18:33:20 +00:00
Chris Lemaire
ae3fd256fb [ghai] Add a way to generate a summary of a PR with AI
Add actions:
- Generate a summary
- Like the generated summary
- Dislike the generated summary

Adds UI:
- A comment in timeline with a purple hover color
- buttons for above actions

(cherry picked from commit 6f734fb94f53a4efd8dd950b51d427a21f9ab117)


(cherry picked from commit 3e0ae846aa29182724b7a350a2567bff89070351)

IJ-CR-148445

GitOrigin-RevId: 51e1544114d334edfc5f001f9145e6d4a0c7e0ae
2024-11-06 18:33:20 +00:00
Chris Lemaire
bc555ebd94 [collab] Add a singleExtensionFlow for just emitting the first extension
(cherry picked from commit 8b94732ea5af145c9b1b4fb4bd8331d66ff20b18)


(cherry picked from commit 576f178751a1a60d43d2cce7aacf75927d9f6e81)

IJ-CR-148445

GitOrigin-RevId: 28c89137819f759e3f59e284e16217a1caceb20a
2024-11-06 18:33:20 +00:00
Chris Lemaire
8dc7489ac2 [ghai] Refactor GH DataContexts to be passable to LLM module
..and pass it to the existing review VM instead
of some specific VM exposing a specific path.

(cherry picked from commit c3fb55112fe4ff781d076d7d73ee1761fd97da56)


(cherry picked from commit 69ca8b42736fb88ffde195fea2e2e81f8f0e2fc0)

IJ-CR-148445

GitOrigin-RevId: 58b64b10ddcfa8a3339dba3164533940f54ca21d
2024-11-06 18:33:20 +00:00
Chris Lemaire
2343e8b940 [collab] Fix forced height recalculation on every text update
(cherry picked from commit 0d2b95e5c4a10db7c7f7a9d7e5dfc45a2cc84b59)


(cherry picked from commit 4ee0d0db0cc8c92f6434af7fdb6acd8aa5bed73c)

IJ-CR-148445

GitOrigin-RevId: 1eef9c8e90f2dca651ce33afb09d6974eaa48c3d
2024-11-06 18:33:20 +00:00
Chris Lemaire
401e8f31e5 [github] Make changesComputationState an internal-API function
(cherry picked from commit ddf495030801429d9bbcc8977468e0129e4787eb)


(cherry picked from commit 8553adf7d89bc793125e90a7fbf60d91beaec11d)

IJ-CR-148445

GitOrigin-RevId: 49a1e4ea9971ff0a3d871eacbe1cad9516a0f7c1
2024-11-06 18:33:20 +00:00
Chris Lemaire
9b6b287618 [ghai] Refactor the AI review action to be supplied by EP
(cherry picked from commit ba10b014a27b4056feba01107f8bcdfb743352c3)


(cherry picked from commit ed410ef7ca8143162e3788318666ec9e76e9df0d)

IJ-CR-148445

GitOrigin-RevId: fce66dae03512fe11333ef78b47e3f13e2762a14
2024-11-06 18:33:20 +00:00
Chris Lemaire
a650191208 [ghai] Combine split extension points into 1 for AI Review
(cherry picked from commit 26bf013e434fa57e27ad7d94f802671c6d1248f9)


(cherry picked from commit 758a1d0eeefdead4ed003d486b48ddd28b7b07af)

IJ-CR-148445

GitOrigin-RevId: 0cb5b864929ef0e55ae900c1a06701abdaca0c25
2024-11-06 18:33:20 +00:00
Chris Lemaire
24adc57c99 [ghai] Refactor AI review loading
This at least makes it possible to reload the review
and fixes the review loading immediately, even before user input.

Also adds a small warning in case of an exception.
No reload action included yet.

(cherry picked from commit 5a3cefacc08921b03dff2871e16eb88ba48e886b)


(cherry picked from commit c6b52c8d40a7f366fd71fd613b0bfc42575b193e)

IJ-CR-148445

GitOrigin-RevId: 14ee472fd7f0476df2c20b8d2dea10383fc7383b
2024-11-06 18:33:20 +00:00
Chris Lemaire
c1461e280b [ghai] Remove unnecessary distinction between Editor and Diff inlays
(cherry picked from commit caeeb0aa22a0070eeba06a703bd71dcadfac6214)


(cherry picked from commit 7bd962e42186d7601f49eae6bf7f7b42ced421a7)

IJ-CR-148445

GitOrigin-RevId: 10e578c27b20baa728bbbd49ec84972c194f4051
2024-11-06 18:33:20 +00:00
Chris Lemaire
b423645739 [collab/ghai] Move AI comment background color into themeMetadata
(cherry picked from commit 33933900541578ab3be434976d55136610c82991)


(cherry picked from commit 1ca2a6bcf53c84b1c30af9966b550ee9be52bdc6)

IJ-CR-148445

GitOrigin-RevId: a4b16470ab006d374e9174e6baa750a620d48497
2024-11-06 18:33:20 +00:00
Chris Lemaire
d2edb7242f [ghai] Refactor AI review to provide a sub-VM for GHPRViewModelContainer
(cherry picked from commit bc666fa5cfe7284c67a660d25cd6eb79929bd6c6)


(cherry picked from commit 82bebd825fe6984d4711d5aafd8607e504a6faa2)

IJ-CR-148445

GitOrigin-RevId: 1e266adaf9975886ca3a6c84372bb7a3f0efaba5
2024-11-06 18:33:20 +00:00