Commit Graph

4329 Commits

Author SHA1 Message Date
Roman Shevchenko
9b43719207 [project] reviewing use of file-based filters in choosers (IJPL-150176)
... and amending/replacing them with extension-based filters where possible

GitOrigin-RevId: 422e4f42ac96c295a707eae76ef25686753fc6ce
2024-09-30 20:14:03 +00:00
Louis Vignier
a7dfa7615e [java] Update UI in Project Settings | Modules | Paths
#IDEA-357803 Fixed

GitOrigin-RevId: 4d94303dad3763f9b07ad20948c4b9dc64d76479
2024-09-27 16:55:46 +00:00
Vladimir Krivosheev
68d327d605 IJPL-162718 convert NewProjectAction to kotlin
GitOrigin-RevId: 6b1906751f3906fb3519a688ac45404892f55552
2024-09-27 13:50:50 +00:00
Vladimir Krivosheev
e881a06df7 IJPL-162718 convert ProjectBuilder to kotlin
GitOrigin-RevId: c7b1ecffbaf0641b415f8697d74a692800d0bbee
2024-09-27 13:50:50 +00:00
Vladimir Krivosheev
235951d4af Rename .java to .kt
IJPL-162718

GitOrigin-RevId: 962184d0d70ac15a159b452d7c54757a79448fb7
2024-09-27 13:50:49 +00:00
Ilya Muradyan
8ccfbf44d4 Library update tool: general review comments (IJ-CR-145251)
GitOrigin-RevId: a22f2f205dec7762fbd5b0612535fd96e9fb548d
2024-09-27 07:24:00 +00:00
Tagir Valeev
d013c9980e Remove redundant keySet/values calls
GitOrigin-RevId: e972012a4ead404120b0f947c79d059f6d96f942
2024-09-18 20:27:35 +00:00
Sergei Vorobyov
03a493ffa4 [NPW|Assets] fix: tracked postponed NPW assets step actions
The runAfterOpened action doesn't inherit tracked activity context from the callback registration place. It uses project activity context that doesn't track by default.

GitOrigin-RevId: 69bb89594ca96b46d21944741bb110c59481a381
2024-09-18 15:01:11 +00:00
Sergei Vorobyov
808ffe10a8 [NPW|Assets] cleanup: simplified corountine context preparations for an opening generated file in the editor
Issues: IDEA-349863, IDEA-341180

GitOrigin-RevId: df58d4a7efbe8841d8ef8504b73fed3a513e9242
2024-09-18 11:05:10 +00:00
Sergei Vorobyov
ad3e003c82 [NPW|Assets] fix: reformat code on the same thread in production and in tests
Issues: IDEA-349863, IDEA-341180

GitOrigin-RevId: 9b80861e27ff1531ec618aa5e92ef6c4c88fb084
2024-09-17 18:46:15 +00:00
Sergei Vorobyov
fbd9ab0d9d [NPW|Assets] fix: resolve virtual files to show on the background thread
Issues: IDEA-349863, IDEA-341180

GitOrigin-RevId: 7a465f0b52218276d21657517a37c6c1bbe4e1bb
2024-09-17 18:46:15 +00:00
Sergei Vorobyov
e1f218b8cd [NPW|Assets] fix: resolve PSI files for reformatting on the background thread
Issues: IDEA-349863, IDEA-341180

GitOrigin-RevId: f4f96253c2c30a2fde165f0eb87add51cf7e1a47
2024-09-17 18:46:15 +00:00
Sergei Vorobyov
d6db8e23b3 [NPW|Assets] fix: generate sources on a background thread under modal progress
Issues: IDEA-349863, IDEA-341180

GitOrigin-RevId: 06c621f3d98cd15231b5b083fba3884626e06b1d
2024-09-17 18:46:15 +00:00
Sergei Vorobyov
e4012cbda4 [NPW|Assets] fix: removed write action restriction for the AssetsProcessor.generateSources.
The production assets processor generates sources using the Java NIO API. It doesn't require the write action.

Issues: IDEA-349863, IDEA-341180

GitOrigin-RevId: 57bc08df48c8766a51342f953f46935762dd085f
2024-09-17 18:46:14 +00:00
Sergei Vorobyov
c82f14e928 [NPW|Assets] fix: use correct templates for rendered and non-rendered onboarding tips
GitOrigin-RevId: 67016181414b80adc706b4957e88e375221b79a6
2024-09-16 18:13:41 +00:00
Sergei Vorobyov
3a9cd6223d [NPW|Assets] cleanup: extracted assets step output directory resolution function
GitOrigin-RevId: c25df2a7be778a5e619d59f1d5227b266ae2f479
2024-09-16 18:13:41 +00:00
Tagir Valeev
05de6a6bdb Less raw types
GitOrigin-RevId: 2a6e712b4017cf1ead7870543e562acb654fbeaf
2024-09-16 11:23:15 +00:00
Yuriy Artamonov
47f1c44a90 [java] IJPL-158521 Actions: fix ellipsis in messages for Java actions
GitOrigin-RevId: bfce0d6efa8747660c4b9af3d8defbfa47e4509a
2024-09-15 14:50:09 +00:00
Sergei Tachenov
1f3bbf9580 IJPL-158493 Reduce dependency on AsyncTreeModel
Before migrating the Project View to the new models,
we need to take care of existing code that relies on the exact
implementation class.

For "Can this thing calculate nodes on a BGT?" instanceof checks,
introduce a new marker interface, BgtAwareTreeModel.
We may add methods such as isProcessing() there later.
Replace existing usages with the new interface.

For "Can this thing accept a visitor on a BGT?" instanceof checks,
introduce TreeVisitor.LoadingAwareAcceptor with the second
accept() overload that controls node loading. Replace existing
usages.

GitOrigin-RevId: 67905cc6873aab2f917ee2028d0a167f60fa85f7
2024-09-13 17:27:32 +00:00
Tagir Valeev
89a6bb2175 [project-import] More strict typing, remove raw types
GitOrigin-RevId: 3530a6ba1d6e96c5af9479bcc2af5876e38f3ea1
2024-09-13 11:32:50 +00:00
Tagir Valeev
a4562da4ec [xml] Reduce amount of raw type warnings around FrameworkSupportNodeBase
GitOrigin-RevId: e059fe0617e1eccac9448a8a6d3f74893eac125a
2024-09-13 11:32:50 +00:00
Sergei Vorobyov
9ea315f46a [NPW|Assets] cleanup: added resource file generator for the assets NPW step
GitOrigin-RevId: c3c594309dc054bbe2b526ba3e33716c41ad1a8d
2024-09-12 18:46:03 +00:00
Sergei Vorobyov
d2c5a9d7fe [NPW|Assets] cleanup: added empty directory generator for the assets NPW step
GitOrigin-RevId: 96a837606e8875309d114bbc2a519c1305070f28
2024-09-12 18:46:03 +00:00
Sergei Vorobyov
0029187d26 [NPW|Assets] cleanup: removed unnecessary setupProject function overriding in assets NPW step
GitOrigin-RevId: e0a7ccba795b350f04abb2a8b92d41647211c800
2024-09-12 18:46:03 +00:00
Sergei Vorobyov
141b466cee [NPW|Assets] cleanup: extracted Java and Kotlin sample template name producers
GitOrigin-RevId: 1c5562f13b072e7f4a06453cee640b29d2599010
2024-09-12 18:46:03 +00:00
Sergei Vorobyov
af726f2491 [NPW|Assets] cleanup: use null value to represent missing package for the Java sample generation
GitOrigin-RevId: 4c11ff6359fb5eb333144cc8161e2e32dc351b1e
2024-09-12 18:46:03 +00:00
Sergei Vorobyov
5e307b534b [NPW|Assets] cleanup: migrated assets steps for the Java project on the AssetsJava util
GitOrigin-RevId: 40a0d69cf7a288df080f7fecaa6967d56d22b44b
2024-09-12 12:23:20 +00:00
Sergei Vorobyov
2e66037578 [NPW|Assets] cleanup: replaced AssetsJavaNewProjectWizardStep class with the AssetsJava util file
GitOrigin-RevId: b197ca96afe18695131a7c89e7c40857029d462b
2024-09-12 12:23:20 +00:00
Sergei Vorobyov
03b0cefeba [NPW|Assets] cleanup: replaced AssetsOnboardingTipsProjectWizardStep class by the AssetsOnboardingTips util file
GitOrigin-RevId: 42c6a405152e66a8f4bfa3def007f2741229f2c7
2024-09-12 12:23:20 +00:00
Nikolay Chashnikov
c603cbb13d [project structure dialog] properly handle selection changes after reopening the dialog (IJPL-161905)
After e7b38952621668, AutoScrollToSourceHandler remembers the modality state which it uses for processing events on the first invocation. However, it's used in BaseStructureConfigurable instances, which are reused each time the Project Structure dialog is opened (see IJPL-21800). And then the dialog is opened for the second time, it stops processing auto-scroll events. It's not that simple to fix IJPL-21800. So as a temporary solution, an internal 'resetAlarm' function was added and called when the dialog is closed to reset the instance and ensure that it'll be recreated with the proper modality state the next time the dialog is opened.

GitOrigin-RevId: 68af8a98a7d73a50d8cbc7889e4ab9a229d3ad54
2024-09-09 13:13:34 +00:00
Roman Shevchenko
a5666abead [project] pruning FileChooserDescriptor overrides (IJPL-150176 prerequisite)
`BrowseFolderRunnable` and `*WithBrowseButton` family: getting rid of separate "title" and "description" parameters in favor of the chooser descriptor object, to avoid cloning the latter down the road.

GitOrigin-RevId: 33ec5968a1db953c60848974135055c288accf85
2024-09-06 11:41:43 +00:00
Yuriy Artamonov
da526e9ab4 [fus] IJPL-160755 Add productCode to conversion to download page for cross-IDE promo statistics
GitOrigin-RevId: c4a287d46ecb0d68db56255b1bbc07680180703d
2024-09-04 13:13:09 +00:00
Louis Vignier
5a1d360222 [fus] Bump JDK collectors version
#IDEA-358301

GitOrigin-RevId: 7636704fbcbbec98d75079790b9e7dc03aa60039
2024-08-30 00:14:50 +00:00
Max Medvedev
bdbfdf7b78 SimpleMergeQueueTest needs a test application
GitOrigin-RevId: d2dbd695a7cf4b469349dc2b2d512677e3e9c709
2024-08-29 19:36:11 +00:00
Louis Vignier
14772a4268 [npw] Use the new JDK combo for generators
#IDEA-343968 Fixed

GitOrigin-RevId: eaf4cd1b94775054277d9b5d3e06519e2f73dfb5
2024-08-28 16:36:40 +00:00
Louis Vignier
5c785be0e7 [ui] Fix vertical position of 'Dependencies storage format'
#IDEA-357801 Fixed

GitOrigin-RevId: fb91433bfc35545ff625613329c66724f52dbda6
2024-08-28 16:36:40 +00:00
Gregory.Shrago
038c336ddc migrate ActionPlaces.isPopupPlace usages
GitOrigin-RevId: 6caf1344423c8142a549d507c19e4ea40a721284
2024-08-28 05:13:52 +00:00
Lev Serebryakov
df7dbf79f4 IJPL-149317 Disable Write Intent Lock for runnables executed on EDT
Add explicit locks in Java support.

GitOrigin-RevId: ee00abe855c80245102334b3f32ea49415b885ea
2024-08-13 17:24:47 +00:00
Louis Vignier
fc7d46d5c0 [fus] Collect downloaded JDK vendor info in JdkDownloaderLogger
#IDEA-355741

GitOrigin-RevId: 18059130dc898b969c764b06e3a16f6c381d01f0
2024-08-13 09:54:17 +00:00
Yuriy Artamonov
1a57ce7d57 [ultimate] IDEA-357340 IJC 242 stable throws tons of PluginExceptions for "fake" configurables
GitOrigin-RevId: ed8b975c3f15f4f665b6423f7a2125636d66ca73
2024-08-09 12:30:05 +00:00
Daniil Tsarev
d555936503 IDEA-356761 [frameworks] Starters: disable the ability to remove previously added libraries and rename the action
GitOrigin-RevId: 0e827254ebce24c20d3d2646644dcace1d5288d6
2024-08-09 11:02:21 +00:00
Gregory.Shrago
84c07cf791 migrate DataManager.registerDataProvider: community
GitOrigin-RevId: 57e1008ef226395b53fa5b28c97ea26192174364
2024-08-09 10:05:06 +00:00
Gregory.Shrago
f784d44b80 migrate getData to uiDataSnapshot: community
GitOrigin-RevId: 35480f3ec10b5c64385f2cc7317a327e60a3e56d
2024-08-07 02:37:34 +00:00
Anna Kozlova
19b91369cf [project settings] skip redundant null check
SdkListModelBuilder wraps filter with sdk != null anyway

GitOrigin-RevId: b893fbfb01bb8f2e7899ccc9293d2d45e2d6ea66
2024-08-06 08:11:17 +00:00
Louis Vignier
4237cadf4b [fus] Bump npw.jdk.combo group version
GitOrigin-RevId: db42fda29890927bd600da2e7b96804a0c2ecd9d
2024-08-05 14:18:46 +00:00
Louis Vignier
40193b7c35 [jdk] Introduce JdkVersionDetector.VENDORS
IJ-CR-137124

GitOrigin-RevId: b258a88e27aef01844161a2450f430cad0baa191
2024-08-05 14:18:46 +00:00
Konstantin Nisht
fefe6fbe44 Revert "[platform] Do not use VirtualFilePointer in CompilerProjectExtension"
This reverts commit bfe253cd71762b7b2f3b1231e2ffe1e0c1f443fa.

GitOrigin-RevId: e3536c974367e018fee2238292b031a0171571ac
2024-08-01 12:35:09 +00:00
Vlad Koshkin
8511feda42 [kotlin] hide ModuleStructureFilterExtension
GitOrigin-RevId: 6b3d79e2f3074cb14c492708f9020648a5d38508
2024-07-30 17:03:30 +00:00
Yuriy Artamonov
4dac328bf4 [i18n] IJPL-158521 Fix more ellipsis problems in plugins
GitOrigin-RevId: 981393c6f975e303847ca598b650fec8fe65d9bf
2024-07-30 16:35:51 +00:00
Alexander Lobas
932f2d438e Swap icon path parameters: move expUI path to the first place
GitOrigin-RevId: 74cf09fb454c89b676be259cdd7437a81ac4c067
2024-07-25 15:12:07 +00:00