Commit Graph

447094 Commits

Author SHA1 Message Date
Mikhail Pyltsin
092062f856 [java] IDEA-354964 Migrate standard descriptors like JAVA_21 to TYPE_USE annotations
- extract tests, which require old annotations
- return old name to method to add annotations

GitOrigin-RevId: c559cea10f942f72d5a19176d3ee808d46ad5dd2
2024-06-27 13:29:33 +00:00
Maksim Banaev
02a2f7bc86 [clion] restore LocalHistory Lesson
GitOrigin-RevId: df15eee0c7898b951eb724d136beb523b987adda
2024-06-27 13:25:42 +00:00
Evgeny Abramov
28511eb8cd (IJPL-797) intellij.platform.ml.embeddings review internal API
GitOrigin-RevId: add8917b61b48617f8fbc7dea6730574b3c9b278
2024-06-27 12:41:28 +00:00
Ilia.Shulgin
33f1b98aaa [vcs] Don't show useless actions in VCS console view
GitOrigin-RevId: ffc513d878ae3f7c85cddbb8d7e40b2f655014a8
2024-06-27 12:33:17 +00:00
Ilia.Shulgin
f22225f4e3 [vcs] Fix condition for showing "Show VCS console tab" action
GitOrigin-RevId: 746f3f6c03644496a2a2d82a45f0956f4df6727c
2024-06-27 12:33:17 +00:00
Vera Petrenkova
7daec7cd45 IJPL-148392 Update New UI onboarding images for popup and toolwindow
GitOrigin-RevId: 8f186f2893dfa1b5d5f6b53a698d19c629b1ae22
2024-06-27 12:29:47 +00:00
Andrey Lisin
fb6b4f42d4 PY-73549 Make initialization of variable handlers thread-safe
GitOrigin-RevId: eb4e0b566015efe92ed91604f20f38b64e74143b
2024-06-27 12:21:44 +00:00
vladislav.shishov
35fcc841c7 [remote-driver] fix http client tests
GitOrigin-RevId: 4416005aae0eedc9e2daedc85838f4beb7b44ff7
2024-06-27 11:47:21 +00:00
Ivan Semenov
3949e487a6 [gitlab] match account with git url by host in interactive auth data provider
GitOrigin-RevId: 08b117d2dec90370bac15ee9d854bd81788e764e
2024-06-27 11:45:52 +00:00
Ivan Semenov
6cae2a258b [github] match account with git url by host in interactive auth data provider
GitOrigin-RevId: 6e2a203aa790d205e700bcfa3a905af35999e757
2024-06-27 11:45:52 +00:00
Ivan Semenov
32741760d7 [github/gitlab] match account with git url by host in silent auth data provider
Git http authorizer recieves only a host, so matching by path is futile

#IJPL-157215 Fixed

GitOrigin-RevId: 2f150163c9be69c03c84a5efc3053e723ad14f6e
2024-06-27 11:45:52 +00:00
Ivan Semenov
bc8249fc7e [github] fix the order of git auth providers
GitOrigin-RevId: 28271671d06697bbb4b8614d2c2489df1607649c
2024-06-27 11:45:52 +00:00
Ivan Semenov
3de8125754 [gitlab] fix the order of git auth providers
GitOrigin-RevId: 6b5f856d304b017fea15c436972e8d6f0a954a16
2024-06-27 11:45:52 +00:00
Vladimir Parfinenko
bd7ea89f3a [debugger] fix typo
GitOrigin-RevId: e3436e1408e102317d31b03a05fe614e8383f0d5
2024-06-27 11:37:52 +00:00
Alex Plate
a5fcf97ba3 [Workspace Model] Move VersionedStorageChangeInternal into the impl subpackage
After the review note in https://jetbrains.team/p/ij/reviews/138027/timeline?chat-panel-active=true

GitOrigin-RevId: 976f2d79906d7b206d308621cfad22b7bd76351d
2024-06-27 11:37:13 +00:00
Sergey Simonchik
6d74f7f193 [terminal] disable PtyProcessBuilder.setSpawnProcessUsingJdkOnMacIntel by default
Looks like it crashes the IDE process
https://buildserver.labs.intellij.net/buildConfiguration/ijplatform_master_Mac_Rvm_Tests_RUBY_31?branch=%3Cdefault%3E&buildTypeTab=overview&mode=builds

GitOrigin-RevId: 0524be64f83ed3c27710dbadceaf9f992eb42744
2024-06-27 11:30:24 +00:00
Yann Cébron
a7d5e3e38c [projectModel] SdkAdditionalData: javadoc cleanup
GitOrigin-RevId: b1d1c12862d7f140f1054981f2b479bb1ff302e2
2024-06-27 11:26:11 +00:00
Tagir Valeev
e9c60004b1 [java-inspections] Result of call ignored: Avoid false-positives in fragments (like debugger evaluation)
Fixes IDEA-355461 "Result is ignored" inspection triggered in evaluate and log

GitOrigin-RevId: e3870ff2b90d9297896caceb3b566098ee324c6d
2024-06-27 11:21:13 +00:00
Tagir Valeev
6188ac8383 [microba] Demo applet removed (unused)
GitOrigin-RevId: f2743121d09d2b05a95e1863ae6c7d5cafa55b04
2024-06-27 11:21:13 +00:00
Tagir Valeev
9b8d299c1e Warnings fixed (i18n+others)
GitOrigin-RevId: 404f67f93b6c8d0df6ed13774791fc2d12b613cc
2024-06-27 11:21:13 +00:00
Tagir Valeev
74b0312321 Remove some 'Result of method call not used' warnings in tests
GitOrigin-RevId: 158a62473bba30f87d6d966bcfe642ccdacf20ea
2024-06-27 11:21:13 +00:00
Tagir Valeev
17dd7962b3 [microba] Fix warnings, modernize code
GitOrigin-RevId: df9526dc6454a57966c699bd1353e540336de327
2024-06-27 11:21:13 +00:00
Tagir Valeev
2f10b5f14d [mod-commands] IJPL-157211 Support creation of binary files via ModCommand
GitOrigin-RevId: abebbf301426d4d66abeadc4b72afa8dfd041f0e
2024-06-27 11:21:13 +00:00
Tagir Valeev
8fc6ebcd16 [intention-preview] IntentionPreviewInfo.CustomDiff: equals/hashCode/toString
GitOrigin-RevId: b68cafa7a2b8218a74bc12b53500ec5803d7cfbc
2024-06-27 11:21:13 +00:00
Roman Shevchenko
bbfd46d3e6 [platform] script launchers: looking for RAM percentage when filtering VM options (IJPL-157077)
GitOrigin-RevId: 26e7c000aa1ff5dee7fb0e9aaf4cc13ce07f343a
2024-06-27 11:16:25 +00:00
Roman Shevchenko
848b4e0a0a [platform] bumping the launcher version (IJPL-157077)
GitOrigin-RevId: 7467af48a878c21f5720aa8a1553ba1ccade9bb0
2024-06-27 11:16:25 +00:00
Alexander Lobas
db4181013a IJPL-150231 Move icon mappings from json to icon generator (remove ExpUiIcons)
GitOrigin-RevId: ec563768e3a10df6a758997d6be43bb707a70fe8
2024-06-27 10:30:26 +00:00
Mikhail Pyltsin
0d890a82a0 [java] IDEA-354964 Migrate standard descriptors like JAVA_21 to TYPE_USE annotations
- revert changes in other modules
- delete obsolete comment

GitOrigin-RevId: 656c643184103d5e83409cbec47df1346f22cbd9
2024-06-27 10:17:54 +00:00
Alexey Kryuchkov
174e018654 Logging for highlighting test commands
GitOrigin-RevId: cf3acbd65820257b30579013558128822f0a0b1f
2024-06-27 10:02:46 +00:00
Sergei Tachenov
3c247f867f IJPL-156189 Mark ShowFilterPopupGroup as dumb aware
There's nothing that requires indexing here.

GitOrigin-RevId: 59ee925ff732e77682e92b5d4bf594258d647101
2024-06-27 09:16:57 +00:00
Konstantin Hudyakov
8d2e54cf07 IJPL-156860 Use the other listener for waiting editor opening
It will be invoked on the next EDT invocation after `fileOpenedSync`, so it is also suitable here.
As suggested in IJ-CR-137909.

GitOrigin-RevId: 280c80c7ea2743c941412d215ae48fe01e388e57
2024-06-27 09:09:47 +00:00
Maxim.Kolmakov
f017280b92 [starter] Remove CompareSettings since we don't use comparision in tests and instead rely on IJ Perf notifications
GitOrigin-RevId: 5fcde909293efc6f460c8f982ffc04589aa02504
2024-06-27 08:55:35 +00:00
Maxim.Kolmakov
fe4b70eaa0 Don't log PCE and instead rethrow it
GitOrigin-RevId: 9f7625564125f10df17bc0ae2a17d5168eaf38e8
2024-06-27 08:55:35 +00:00
Kirill.Karnaukhov
af1f21124c [inline-completion] ML-3557: show partial accept shortcuts in Code | Code Completion section
GitOrigin-RevId: 7e3b38d1f9d9ea2f0f9483de8ef1998369b13228
2024-06-27 02:56:20 +00:00
Kirill.Karnaukhov
beed64f67a [inline-completion] ML-3566: show 'no suggestions' tooltip when there is no inline completion suggestions for direct call
GitOrigin-RevId: 4b0e3306765a02c252bbe1e7cb74ec4ac711011a
2024-06-27 02:56:20 +00:00
Kirill.Karnaukhov
49aae6f4f4 [inline-completion] ML-3303: replace custom direct call actions with the platform one, and assign shortcut to it
GitOrigin-RevId: 6aa71843374a84e1f62e775817779398b40406ce
2024-06-27 02:56:20 +00:00
Aleksey Rostovskiy
62438e2602 [Educational] Implement frontend customization for Remote Idea Edu
The code changes add the frontend customization module for Remote Idea Edu. This includes the creation of new configuration files,
reorganization of certain modules, and updates to the plugin descriptions. The changes will allow for specific customizations
in the frontend variant of Remote Idea Edu.


IJ-MR-137840

GitOrigin-RevId: 28171386ef01281bdde3ece01b1e0e701272d1ab
2024-06-26 23:46:22 +00:00
Shumaf Lovpache
3dc6f81b1d IJPL-797 intellij.platform.scriptDebugger.ui review internal API
Merge-request: IJ-MR-137727
Merged-by: Shumaf Lovpache <soarex16@gmail.com>

GitOrigin-RevId: 3c13ac690ba65bec6db3a0d877eabd89fac5cca5
2024-06-26 23:04:58 +00:00
Elena Shaverdova
6bf061301d WaitForFinishedCodeAnalysis: clean up yellow code, no semantic changes
GitOrigin-RevId: bf85c73b979a897992a83313fbe5fee5942e957a
2024-06-26 22:39:12 +00:00
Elena Shaverdova
63542cbe59 Dirty solution for AT-935 Sometimes cached markup not loaded for files in StartupHighlightingIntelliJTest
GitOrigin-RevId: 37a196dc04368814b367656e26fe735fb7c24184
2024-06-26 22:39:12 +00:00
Elena Shaverdova
257dfe7dbc Additional checks for collector IJPL-156308 Rewrite reopen.project.startup.performance:code.loaded.and.visible.in.editor
GitOrigin-RevId: 57246b67ea18efd3b362c3db63aaaf4d00ad3802
2024-06-26 22:39:12 +00:00
Elena Shaverdova
36f521f2f2 Revert "IJPL-156308 Rewrite reopen.project.startup.performance:code.loaded.and.visible.in.editor on the base of new editor creation logic"
This reverts commit fa73317e

GitOrigin-RevId: d1766910387a8ad0be402a7c6564b91415f9c3ce
2024-06-26 22:39:12 +00:00
Sergey Simonchik
76fe0d41fa [terminal] update pty4j to 0.12.34 with signed macOS binaries
f8693864d3
Signed macOS binaries are required for https://jetbrains.slack.com/archives/C0XLQPQGP/p1719397205038399


(cherry picked from commit 80d5c76c62c1f5a233bb10a1c329e5f024b449eb)

IJ-MR-138000

GitOrigin-RevId: cc36c94874d954e9aafbe0ce13548f09ea6e40bf
2024-06-26 22:32:23 +00:00
Frederik Haselmeier
98edece090 [Kotlin] Fixed flaky testNoKotlincExistsNoSettingsRuntime10 test
^KTIJ-28868 fixed

GitOrigin-RevId: 9103314bc14280e82381a1cea143b15b0e783d6c
2024-06-26 22:28:01 +00:00
Arseny.Chernyaev
1f9a19a58c always show a conditional breakpoint popup on the UI thread (fixed RIDER-113044)
GitOrigin-RevId: 479df6d501622d125fa017c2618924e2ec2834e3
2024-06-26 21:34:39 +00:00
Vladimir Dolzhenko
3509153689 [kotlin] Fix obsolete stored gradle user dirs condition
#KTIJ-30397 Fixed

GitOrigin-RevId: 97d1279f950581bdec787bdce01f2fdfe4bcce44
2024-06-26 21:21:06 +00:00
Alex Plate
212e81b1ca [Workspace Model] Hide getAllChanges to the internal interface VersionedStorageChangeInternal
Users should not access all changes inside the workspace model and only process the changes that are relevant to their subsystem.

Internal discussion: https://jetbrains.slack.com/archives/G0142J1B20N/p1719324452271479

GitOrigin-RevId: 46bfaa0f41b4d92c7ec525d7505b4ba13c89532c
2024-06-26 21:18:15 +00:00
Alex Plate
7746460f32 [Workspace Model] [IJPL-867] Refactor deletion of iml files for removed imported modules
`iml` files of imported modules are not automatically removed due to different circumstances.
Because of this issue, the external build system did this manually for many years.
Unfortunately, this also affects the serialization of files and caused IJPL-867.

To fix the IJPL-867 issue, the following steps are taken:
- Get rid of manual `iml` removal by the external build system (`AbstractModuleDataService`).
- Update jps serializer to mark the imported iml for deletion.
- The `.iml` should not be deleted by the component store, but it's not due to IJPL-926. Ideally, we fix IJPL-926, but for now do the workaround: remove the ` iml ` file on the level of JPS serialization.

These steps fix the IJPL-867 issue, but a further fix for IJPL-926 is still needed.

# Notes
- Test `ExternalSystemProjectSaveTest` is created as a separate class that uses JUnit 4, however, this test can be placed in `ExternalSystemProjectTest`. The problem is that `ExternalSystemProjectTest` uses JUnit 3 and it freezez on `project.stateStore.save()` because of an unclear reason.

- `JpsProjectSerializersImpl.saveEntities` has a complicated logic when the `iml` file should be removed. As there is no goal to refactor/refresh this logic, I tried to minimize the number of changes around this place.

- `JpsProjectSerializersImpl.shouldDeleteImportedFile` has a corner case for broken configuration of the iml. This case is covered in `ExternalSystemStorageTest.multiple modules with the same name` test.

- `ModuleImlFileEntitiesSerializer.manuallyRemoveImlFile` has a check for the correct casing. This test case is covered in `ExternalSystemStorageTest.multiple modules with the same name but different case`.

- After the `iml` deletion, the VFS should technically be refreshed, but we don't do it because the module with JPS serialization does not have a dependency to the module with VFS. Because of that, the `iml` does not disappear immediately from the project tree if it's there. I consider that this problem is minor.

GitOrigin-RevId: e6228e06017f6aef26fb78321a27a3ad05e1c22c
2024-06-26 21:18:15 +00:00
Alex Plate
c95e1a8d2b [Workspace Model] [IJPL-389] Remove remaining unused fields after cleaning up the keys
Key `ide.workspace.model.separate.component.for.roots` was removed, but one field still remains in the code

GitOrigin-RevId: 8848a6f478bf02930aea427ea716769e1d1f1b02
2024-06-26 21:18:15 +00:00
Sergei Vorobyov
2bc9525831 [Gradle|Sync] cleanup: extracted entity sources for Gradle models
* GradleLinkedProjectEntitySource is GradleProjectSettings level entity source
* GradleBuildEntitySource is GradleLightBuild level entity source
* GradleProjectEntitySource is GradleLightProject level entity source

GitOrigin-RevId: 404ed5d5b57f3dee269808c13526437cb2ce06d2
2024-06-26 21:09:46 +00:00