Signed-off-by: Sergey Pak <sergey.pak@jetbrains.com>
(cherry picked from commit bbfaf6d10bd31b2b7f68d5178b0d2ede5cbdb324)
Signed-off-by: Sergey Pak <sergey.pak@jetbrains.com>
GitOrigin-RevId: 7777fef4cad239d7bf62799511d5708d02078834
`PyExecutionException` breaks all contracts and allows empty messages. It should be fixed, but as for now we workaround it.
GitOrigin-RevId: 67b9e27047f5be64d8a2879bb122f88620aee997
1. Rewrite the installation script. Now it returns Path to executable.
2. Save an executable path to Properties.
Merge-request: IJ-MR-150390
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com>
(cherry picked from commit cafb40528ea0e2613248a37291e76e4d24e34674)
GitOrigin-RevId: 911afa3ee4c2e38231cc58f19337f2b7125bea44
Rewrite the installation script.
Make it universal for installing any package.
Merge-request: IJ-MR-149762
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com>
(cherry picked from commit 268ba9164f9e02fbef1520144486902077ad9e8a)
GitOrigin-RevId: 29eea5c5884a4c5afed6f3736691644171ea7f82
This is a bit complicated and confusing.
We have a flag to fit the popup into the screen.
However, the existing code ignored that flag and fit it anyway,
but only if the popup is too large. If it's small enough, then it was
left alone regardless of whether it's actually located fully within
the screen.
The previous fix ignored that flag as well, but fit the popup
into the screen in all cases. Which meant the flag was now useless.
So to keep it working for both cases, let's actually check that flag here.
If it's set, then use the new logic: fit into the screen no matter what.
Otherwise, only fit it into the screen if it's too large, keeping the old
logic there.
That logic was introduced for Search Everywhere to begin with,
and it has the flag set to false. So we're not changing anything there.
And at the same time it'll fix issues with popups such as
the Commit Options.
(cherry picked from commit 92d1f0be81d4860901414d3266ec4de3af2fc952)
IJ-CR-149457
GitOrigin-RevId: 4539693a61b8b7b8920795868e0146f53ffdd0ec
When the popup is finally shown, the log message
contains the coordinates of the popup and the ID
of the target screen. Add the bounds of the target
screen as well. They may or may not appear in earlier
messages, but it's very useful to have the end result
in one place (for example, to reason about why
it was / wasn't necessary to change the popup
bounds to fit it into the screen).
(cherry picked from commit d1f4fea44c4749589fccbb914afcc450d48df511)
IJ-CR-149457
GitOrigin-RevId: 820ba1ff87ab632dd2e206eac1751683dc25c622
The existing logic didn't take coordinates into account.
A popup may be smaller than the screen, but shifted so
that it doesn't fit anyway.
(cherry picked from commit 945d7a60730508eb3d68f257c95d3833d68846d1)
IJ-CR-149457
GitOrigin-RevId: c2874c7d61f524c183d8f1451408d64e0d8db356
Update test data.
1. Unresolved imports are not removed with optimize imports
2. Unresolved imports are not marked as unused
(cherry picked from commit 2c32c368ae0907fb75ea76fc9749e903c160667c)
IJ-CR-153189
GitOrigin-RevId: 153d42e7f61f8357eeb74f022e31bbe406e83c02
The logic for disabling the unused warning on unresolved imports was dependent on the visit order. Moving sustracting unresolved imports to the end of computation fixes the problem.
(cherry picked from commit adeb85e59c17261a5bf9f64dfb4a7836a2403f43)
IJ-CR-153189
GitOrigin-RevId: fac4173a0fac5b29be9301f9d5f04fed08cceff1
Turns out that Unconfined dispatcher still installs an event loop, which was the main reason of avoiding `runBlocking`
(cherry picked from commit 6c47ede47e1e0377504052a39bbceba3d2046c4e)
GitOrigin-RevId: af77b1b6ba4c640ac2253b51603332392389a3ad
Bundle.getMessage calls moved from constructors to the getDescription method in some *Macro classes to use it lazy and avoid issues with cyclic dependencies when getting the locale.
(cherry picked from commit 7741209200df121e4e7785ee58fd48c329a18077)
IJ-CR-149835
GitOrigin-RevId: a213423284890ad9f7b01e53da0c7129f430b4cf
Add a processing function for new breakpoints.
Merge-request: IJ-MR-152628
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com>
(cherry picked from commit 63ebb4c7c620cf7cc3f56924619fc5adc09e25dd)
IJ-MR-152628
GitOrigin-RevId: 1f26240498360aff61ff27878118b0eb841ec082