Commit Graph

4237 Commits

Author SHA1 Message Date
Yuriy Artamonov
13fedab45a [java] IDEA-352622 JarRepositoryManager requests service from class init
GitOrigin-RevId: 858f0dce9a5c7c277b35d22afee0ce5ef748d233
2024-04-28 12:15:10 +02:00
Louis Vignier
b609957aff [jdk] Warn when mixing Windows/WSL project path and JDK
A Windows project cannot use a WSL JDK and vice versa.

#IDEA-344028 Fixed

GitOrigin-RevId: 1d1dcb2ec9129a89b43e02452346a59799eacf4a
2024-04-26 19:55:45 +00:00
Nikolay Chashnikov
0fd52391b2 [project structure dialog] explicitly call ModifiableRootModel::getModuleLibraryTable to work around IDEA-352499
This call causes initialization of ModifiableModuleLibraryTableBridge, which replaces LibraryBridge instances for module-level libraries with variants which have 'targetBuilder' properties pointing to proper MutableEntityStorage. This workaround should be removed when the problem is fixed properly.

GitOrigin-RevId: 94ecb0cf1c38f4eea4cb17a894c1d585da070d89
2024-04-25 12:29:07 +00:00
Andrey Vokin
63f63bb9ba PY-71860: make promotion action presentation customizable
GitOrigin-RevId: 2bd48a5bafc00377555d9711f253d7a844586757
2024-04-18 22:30:22 +00:00
Sergei Vorobyov
f49f7db609 [SdkLookup] new: made SdkLookupUtil friendly for Java and Kotlin
GitOrigin-RevId: 513a4030492644cde4a715bc42f8bb993d9b9348
2024-04-17 20:12:42 +00:00
Tagir Valeev
bcebe57f51 Use UniqueNameGenerator where possible
GitOrigin-RevId: 99754f541c4e6d02970e218d30f2746e53680dd1
2024-04-17 09:32:48 +00:00
Sergei Vorobyov
e0b5e49006 [Gradle|NPW] fix: returned messesd validation for the JDK in the Gradle new project wizard
GitOrigin-RevId: cab2ae0ac3ecc916e6db4d6e7af0f78631f65351
2024-04-16 13:50:26 +00:00
Yuriy Artamonov
154b386923 [plugins] IDEA-351531 Provide FUS statistics for plugin/product promo shown in IDEs
GitOrigin-RevId: f6c19a9fef6524278039bf59698b757440e5a7bf
2024-04-11 22:35:28 +00:00
Yuriy Artamonov
329c890ea0 [ultimate] Make promo actions DumbAware
GitOrigin-RevId: d6cb215a879d15af7fcdbf22ea25a6f00c7bf762
2024-03-21 20:01:48 +00:00
Alex Plate
c28fbc938d [Workspace Model] Inline the WorkspaceModel.internal extension property
This property is not needed as we don't want to expose the information about the internal interface. If the internal interface is needed, an explicit cast to `WorkspaceModelInternal` can be done

GitOrigin-RevId: 8bc63e258e4fd5fa69e9379b3548433c62da922b
2024-03-19 19:51:02 +00:00
Mikhail Mazurkevich
cd8c13ac08 [workspace model] IJPL-345 Introduce LibraryTypeId for LibraryEntity and move it out of LibraryPropertiesEntity
GitOrigin-RevId: 6258ada6a4082d2e15bee4a37f1a46b1f9fb845e
2024-03-18 16:37:38 +00:00
Mikhail Mazurkevich
bdecd1aaef [workspace model] IJPL-345 Introduce ModuleTypeId for ModuleEntity and remove the old class with the same name
GitOrigin-RevId: ac34862b4287f024b694b4da918208f73585982d
2024-03-15 23:29:21 +00:00
Louis Vignier
9d354331ce [fus] Simplify regex in JdkComboBoxCollector#findSdkVersion
IJ-CR-126919

GitOrigin-RevId: 941a8a1ddb5201d42d72ce25e4f73ae0061aad41
2024-03-14 17:34:07 +00:00
Dmitry Batrak
0cc564f5a1 GTW-6672 Wrong modifier key names in some tooltips in heterogenous host/client environment
Merge-request: IJ-MR-127560
Merged-by: Dmitry Batrak <Dmitry.Batrak@jetbrains.com>

GitOrigin-RevId: d68469ecbfebe1ee4da7906ea363b5471f2c6b5d
2024-03-05 19:13:56 +00:00
Olga Berdnikova
7c0ea56bf5 IDEA-346972 IDEA-346960 Generate icon classes for new JB IDE logo icons
GitOrigin-RevId: f7c14382513cc58d1e159d23bfe36af590b06268
2024-03-01 00:53:26 +00:00
Olga Berdnikova
3178e7fdc1 IDEA-346972 Add new IDEA Ultimate and PyCharm Pro icons for advertisements in Community versions
GitOrigin-RevId: 4da83cb366e175eeaa7eb17ca21e05cb069709aa
2024-03-01 00:53:16 +00:00
Sergei Vorobyov
008bb472fa IDEA-343983 [NPW] fix: removed tooltips for all project generators in the left tray of NPW
GitOrigin-RevId: d0dc7c7a9f5420cc7261f150997d3c63f5d3bb08
2024-02-29 22:07:47 +00:00
Louis Vignier
42ee08fe05 [jdk] Update <No JDK> hint
IJ-CR-126921
#IDEA-343533 Fixed

GitOrigin-RevId: 7d11df04acc3e61020c15b5eacd6f9a01b76e88f
2024-02-29 19:00:17 +00:00
Louis Vignier
c72b9d9651 [jdk] Use FileUtil to compare paths
#IDEA-343332 Fixed

GitOrigin-RevId: 46d582a0a70fabf6a68b8e4ab5433f012ae9f98d
2024-02-29 19:00:10 +00:00
Louis Vignier
31245b6f98 [jdk] Do not show JDK detection progress if a download item is selected
This situation looks like the IDE is downloading something.

#IDEA-344859 Fixed

GitOrigin-RevId: ccf3820051e2313bfcfb50da90039152555f3475
2024-02-29 19:00:06 +00:00
Louis Vignier
a81fcbf7a5 [jdk] Make 'Add JDK…' action text clearer
#IDEA-228824 Fixed

GitOrigin-RevId: 00109114f688f78bee4546c1442a4b30f663d8ed
2024-02-29 19:00:02 +00:00
Louis Vignier
afe5a3ffca [fus] Update event names in JdkComboBoxCollector
IJ-CR-126919

GitOrigin-RevId: 84c41de2aef102a125a3fe7df12d88566292a97b
2024-02-28 01:22:50 +00:00
Louis Vignier
5a0f6f26c6 [jdk] Show the reason why the JDK couldn't be downloaded
#IDEA-347479 Fixed

GitOrigin-RevId: b8ba70c0879d31efc157007729104e6704286c4e
2024-02-28 01:22:45 +00:00
Gregory.Shrago
71c04258b8 IDEA-347624 New project from existing sources fails
GitOrigin-RevId: 701eeee1a4b162f4bb3f93286098ffc314d4886c
2024-02-27 20:52:40 +00:00
Louis Vignier
6519ee50fa [jdk] Filter registered JDKs from detected ones in the NPW
#IDEA-343332 Fixed

GitOrigin-RevId: 711ddf885fe4957c90510633d82d8014b9eb3fcd
2024-02-27 11:25:58 +00:00
Louis Vignier
04423d3c94 [jdk] Use correct install dir in JdkDownloadService
#IDEA-347502 Fixed

GitOrigin-RevId: 63f102b233d97b26846479da165a190ba7924042
2024-02-27 11:25:53 +00:00
Mikhail Mazurkevich
22045ae723 [workspace model ]IJPL-345 Rename getOrCreateFromUri to getOrCreateFromUrl
GitOrigin-RevId: 0df377f4450b6db2c907524f1a99a451fd93e039
2024-02-27 10:44:13 +00:00
Louis Vignier
2a09cfbd66 [fus] Fix findSdkVersion for GraalVM in JdkComboBoxCollector
GitOrigin-RevId: 85690e8eb9007e4e24ed6c2a37434e12820802cf
2024-02-23 02:12:05 +00:00
Louis Vignier
4880dc824b [fus] Fix NumberFormatException in JdkComboBoxCollector
GitOrigin-RevId: f5285f2c3421ab7b568ee614c6672af8b7a8c19f
2024-02-23 02:12:01 +00:00
Louis Vignier
281ee71f17 [jdk] Hide "Misconfigured JDK" editor notification when downloading a new JDK
#IDEA-343021 Fixed

GitOrigin-RevId: 8f560fc919f933abc51e898792d020024607f8a8
2024-02-23 02:11:57 +00:00
Louis Vignier
8c0486e943 [npw] Show a hint when selecting <No JDK>
#IDEA-343533 Fixed

GitOrigin-RevId: 6dcfb28e3e412f1f000204df0c114d9d7a0651bd
2024-02-22 19:03:16 +00:00
Louis Vignier
723a1aae8a [fus] Add FUS for ProjectWizardJdkComboBox
GitOrigin-RevId: 8f53ca0c93d576109b6f47b9dcff585b5babb91b
2024-02-22 19:03:07 +00:00
Vladimir Lagunov
a6458a10a6 IDEA-346798 Provide progress indicator for JdkFinderImpl in ProjectWizardJdkComboBox
GitOrigin-RevId: ab23b33faaca1ae598ce7d39cd9070793e68688a
2024-02-21 22:17:19 +00:00
Mikhail Mazurkevich
51b6e3ebd7 [workspace model] IJPL-620 Grouped all changes and sent them to the channel as a batch and migrated to Dispatchers.Default
For the details, see the discussion in Slack https://jetbrains.slack.com/archives/C0540HFHFDG/p1708508400736779

GitOrigin-RevId: bf8225af21c7fb906570d23511870e632307b66b
2024-02-21 21:46:30 +00:00
Mikhail Mazurkevich
07219e386c [workspace model] IJPL-620 Introduce LibraryIdSynchronizationQueue which works with LibraryIds to avoid LibraryBridge search on EDT
GitOrigin-RevId: c21dc1cfd6e93b8d38f381d0eee6b4097153c466
2024-02-20 19:12:46 +00:00
Louis Vignier
731e1cf7c9 [jdk] Split creating an incomplete SDK and downloading it
GitOrigin-RevId: 5771ab99af577549f2c45b26dc2c027c0a769fd9
2024-02-20 15:56:57 +00:00
Louis Vignier
d70d3cd40b [jdk] Fix cast exception with non ProgressIndicatorEx
GitOrigin-RevId: 667a5f5143ab037688d43fa323da3b58e3b0706d
2024-02-20 15:56:52 +00:00
Mikhail Mazurkevich
49045d8ef4 [workspace model] IJPL-620 Refactor library dependencies code to make a calculation for one loop
GitOrigin-RevId: 8e4accfa9fd183c4261006401ee53b448d27a3e2
2024-02-19 22:43:45 +00:00
Nikolay Chashnikov
0d6c09fc44 [java] API: mark for removal unused deprecated API (IJPL-275)
GitOrigin-RevId: bd2e927a5c22a1f2930b97de8e051bc70d62a0c7
2024-02-16 15:45:41 +00:00
Tagir Valeev
47a98d4500 [java] LanguageLevel#feature method; javadoc
GitOrigin-RevId: f3c57f7101b3ce7369c66b97411c897bdcd46d24
2024-02-15 13:23:21 +00:00
Gregory.Shrago
7512ccfa87 set application-scope flag for NewProjectAction
IDEA-346143 New Project action fails if 'open in this window' is chosen.

GitOrigin-RevId: c054ad401589e45cdffded9b0b4c6afdad991394
2024-02-14 20:53:47 +00:00
Louis Vignier
3835b3593e [java] Increase the size of the JDK combo in project structure
#IDEA-345967 Fixed

GitOrigin-RevId: 8f55810aae3384978639a813956ef68afc39432c
2024-02-14 18:08:41 +00:00
Alex Plate
c8930055a8 [Jar Repository] [IDEA-328006] LibrarySynchronizationQueue now works properly with disposed libs
The library may be disposed from the moment it got into the queue till the moment it's processed

GitOrigin-RevId: fe8a580766a267db11fb095ca71b589d17a34bbc
2024-02-14 16:15:00 +00:00
Alex Plate
d99d8bd0ea [Jar Repository] Convert some sealed objects to data objects
No specific purpose, but this is now a suggested kotlin practice. For example, in this way the objects will be pretty-printed on `toString` call.

GitOrigin-RevId: 79b9ebfea78065593fe97ad847180d7aa896bfbb
2024-02-14 16:14:56 +00:00
Dmitry Batkovich
df74a058a6 Revert "do not try to resolve libraries more than once IDEA-345621"
This reverts commit 755a91eff76f55190b3f34375d2cdbbb91be3e90.

GitOrigin-RevId: 1d6b4b7ab1afdeab473ade934d50fe9c3275d6f4
2024-02-12 18:50:04 +00:00
Louis Vignier
add72f9e0f [jdk] Simplify JDK detection logic in ProjectWizardJdkComboBox
IJ-CR-125143
#IDEA-345528 Fixed

GitOrigin-RevId: 00656008d5022eb726d930e9ee64194c6690cfd7
2024-02-12 16:32:20 +00:00
Zhanna Gorelova
26538846e3 [platform][ultimate] IDEA-321298 try ultimate is called settings with locks
GitOrigin-RevId: 62e7203fd636d0867772e26a22788426d3703013
2024-02-12 16:08:17 +00:00
Zhanna Gorelova
58817944a1 [platform][ultimate] IDEA-321298 try ultimate is called from search everywhere
GitOrigin-RevId: 802acecf219ba8edb79f3bd504f3367f0c3ed5ca
2024-02-12 16:08:14 +00:00
Zhanna Gorelova
e78338c1f0 [platform][ultimate] IDEA-321298 try ultimate is called from new project dialof if project exists
GitOrigin-RevId: 0d49f7b73cdd761c0a6730e874b2d569b50ed06b
2024-02-12 16:08:11 +00:00
Dmitry Batkovich
c12cd3f4e1 do not try to resolve libraries more than once IDEA-345621
GitOrigin-RevId: 755a91eff76f55190b3f34375d2cdbbb91be3e90
2024-02-12 10:39:21 +00:00