Commit Graph

458885 Commits

Author SHA1 Message Date
Sergey Pak
2ef96d8dee fix smoke tests
Signed-off-by: Sergey Pak <sergey.pak@jetbrains.com>

GitOrigin-RevId: 12dc68cf62968bc59b7142533e047d89be53e067
2025-01-23 01:22:16 +00:00
Sergey Pak
a61d2438dc after cherry-pick clean-up (compilation & tests)
Signed-off-by: Sergey Pak <sergey.pak@jetbrains.com>

GitOrigin-RevId: a7cd85eb64f76f32592ece70c2b1c9db9bf9d4ea
2025-01-23 01:22:16 +00:00
Sergey Pak
f8175a2887 drop settingsSync.fileSystem from repo
Signed-off-by: Sergey Pak <sergey.pak@jetbrains.com>
(cherry picked from commit 34d13d568936ae84a24490655116302344b48ba0)

GitOrigin-RevId: 4334dcdf29b15eacc087d2333a67297eb6b2218e
2025-01-23 01:22:16 +00:00
Sergey Pak
c1d089565c fix settingsSync and smoke tests
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
2025-01-23 01:22:16 +00:00
Sergey Pak
571fdbca04 1. make settingsSync a platform module 2. rename platform module to settingsSync.core and don't include jba module
(cherry picked from commit b94ad2175dc954823f17bf1571548d4779945793)
Signed-off-by: Sergey Pak <sergey.pak@jetbrains.com>

GitOrigin-RevId: 08fc765db4cd295b5b9eebb9378ba992c341dce8
2025-01-23 01:22:16 +00:00
Sergey Pak
5b7c2d071b IJPL-165434 Provide ability to sync with additional providers in Android Studio
(cherry picked from commit 656ed2562377be73a7b49b965bfb42c187ce69ca)
Signed-off-by: Sergey Pak <sergey.pak@jetbrains.com>

GitOrigin-RevId: 6dba33081f0acb3ca5ba1fc89bb4ed08b624c280
2025-01-23 01:22:16 +00:00
Sergey Pak
de367a30ba IJPL-165123 Allow external config storage and external authentication for Backup and Sync
(cherry picked from commit 5d929b354d3dec721a07653156ce17a2b09fe008)

GitOrigin-RevId: f771e7449432ccc8929d513d92285743b8f726dc
2025-01-23 01:22:16 +00:00
Nikita Pavlenko
e7a03c5360 [PyCharm] Debug (feat): Added possibility to copy images from image viewer opened via "Show image" from variables view. #PY-77576 Fixed
(cherry picked from commit 44e5cf29fde086ab796d138fcf99d76f5a662a99)

IJ-CR-153313

GitOrigin-RevId: 8e761e95f73b91bc2e09946157c895298785e708
2025-01-22 12:07:19 +00:00
Ilya.Kazakevich
0de98c3d59 Python: PyExecutionException message might be empty, use toString then.
`PyExecutionException` breaks all contracts and allows empty messages. It should be fixed, but as for now we workaround it.

GitOrigin-RevId: 67b9e27047f5be64d8a2879bb122f88620aee997
2025-01-22 02:30:16 +00:00
Egor.Eliseev
641e64e910 [python] Add uv/poetry to Path on Windows
(cherry picked from commit 308f4606546afabfc0d2d0d427b1cd47a211b046)

IJ-MR-153304

GitOrigin-RevId: 1a1b20f48a9bb473171c8bed2f1c03d3676060a5
2025-01-21 14:58:20 +00:00
Aleksandr Sorotskii
029f434232 fixup
GitOrigin-RevId: e71c886e0578ace713fae7c3f3fd6609ade6ec98
2025-01-20 23:33:36 +00:00
Aleksandr Sorotskii
25d1303fdc fixup
GitOrigin-RevId: 473257ec0830ee58c32e4f5ac07a4ba5c9509fd9
2025-01-20 23:33:36 +00:00
Aleksandr Sorotskii
b700774b9a fixup
GitOrigin-RevId: e90e1a8455f85ddccd87d8c353a0c4db646ac7da
2025-01-20 23:33:36 +00:00
Egor.Eliseev
dca31999f3 PY-78001 Support adding existing venv's as UV
Add UvExistingEnvironmentSelector

(cherry picked from commit be8827506d521c5487cf4fbb3ca15d979f760d44)

GitOrigin-RevId: 5a8cdf35bbd89e0473724554d3390d6d9eb19311
2025-01-20 23:33:36 +00:00
Egor.Eliseev
1c33aab97d PY-77381 Unable to select an existing Poetry environment as a project interpreter
Add PoetryExistingEnvironmentSelector

(cherry picked from commit 4fc75a24669d8a2fc12b5ff963cc5715ebc6ab3a)

GitOrigin-RevId: b5ed7b45a3b4e27786bf899ab42f9ffe757d7f9d
2025-01-20 23:33:36 +00:00
Egor Eliseev
18f5e952db PY-77696, PY-77724 Install UV fixes
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
2025-01-20 23:33:36 +00:00
Egor Eliseev
48d582644a PY-77487 UV installation
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
2025-01-20 23:33:36 +00:00
Aleksandr Sorotskii
03a99d573d fixup
GitOrigin-RevId: ec06f4c07039c6c14095e4cf1adc7b0049676638
2025-01-20 23:33:36 +00:00
Aleksandr Sorotskii
2873bad618 fix notification for installing packages via quickfix; #PY-72070 Fixed
(cherry picked from commit bee8b1c0431c186658c11b2f0fb33f4c26f95fee)

GitOrigin-RevId: 14417efa3be6f4785fbdf1b05505c7efd09f3a20
2025-01-20 23:33:35 +00:00
Timur Malanin
c57369d4d2 PY-72070 Add a registry key for new logic
(cherry picked from commit e4ba7ef985a72006008ba4e377aa2e50385ea0bd)

GitOrigin-RevId: d399d09949844a989b130aba119af4ca5118e8b1
2025-01-20 23:33:35 +00:00
Timur Malanin
8567a5261d PY-72070 Introduce a CompositePythonPackageManager that combines functionality from several package managers. This change also refactors the CondaPackageManager to get rid of type check of package specifications.
(cherry picked from commit 2b41be8d768d820769a749339fac64d03925b575)

GitOrigin-RevId: 6ac187b64eb2e516e228dcfda492f2f3d7f73f49
2025-01-20 23:33:35 +00:00
Sergei Tachenov
7e93970597 IJPL-171351 Only fit AbstractPopup into the screen if the flag is set
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
2025-01-20 16:21:57 +00:00
Sergei Tachenov
7e7f518331 IJPL-171351 Add the final popup screen bounds debug logging
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
2025-01-20 16:21:57 +00:00
Sergei Tachenov
2f41585647 IJPL-171475 Fix the fit-to-screen logic in AbstractPopup
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
2025-01-20 16:21:57 +00:00
Andrey Vokin
655d3cec0d PY-78371 PyCharm does not mark imports in try/except blocks as unused
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
2025-01-20 15:08:33 +00:00
Andrey Vokin
db6d06207c PY-77891 "Unused import" inspection is inconsistent in nightly
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
2025-01-20 15:08:33 +00:00
Aleksandr Sorotskii
42ba97ccd8 enable toml syntax highlighting for uv.lock; PY-75983; #PY-77716 fixed
(cherry picked from commit a20d9781367a909dc9bfa30e62fd385bf777374f)

GitOrigin-RevId: 4d6e9a1e71e35014d1b790a26617ee88f2b901e2
2025-01-20 10:58:50 +00:00
Aleksandr Sorotskii
517fd8ef36 fixup 243 merge; poetry test, uv icon, jackson lib
GitOrigin-RevId: 0e322cbfb242ae2dfa4ec77ed7d9b5c9300d2565
2025-01-19 21:30:05 +00:00
Pavel Karateev
7aa65206f7 PY-77656 Use correct uv icon
(cherry picked from commit 36aefbfa67c896df11b9a5954f119a2246dd2372)

IJ-MR-150144

(cherry picked from commit 23fec17ac9a60b7ba1aa28fad7de1650030c64f6)

GitOrigin-RevId: 92a6f48239a0ce834564b3ec54d99e24675d68f6
2025-01-19 21:30:05 +00:00
Dima Golovkov
e305b9d6c2 Add UV icon for UX-3312
(cherry picked from commit 8cb51234a2a5b1c5757cf4dc2a04a769d510b675)

GitOrigin-RevId: 289cc40c9aa52bc3a666fff986178078630bbd6b
2025-01-19 21:30:05 +00:00
Aleksandr Sorotskii
c94f1328da cleanup sdk provider; PY-75983
(cherry picked from commit 64835c70c5b57c35005f3f6d30cf0dc269b6a6cf)

GitOrigin-RevId: a2c6be9170353db1879becf9157867d6efad400d
2025-01-19 21:30:05 +00:00
Timur Malanin
c39507ddb0 PY-72070 Introduced PythonPackagesInstallerAsync for performing package installations asynchronously using coroutines. Updated the existing PyPackageManagerUI to utilize this new asynchronous method.
(cherry picked from commit 80c4c17b9ad7a209be747b10dc5bdbd94cff6b9b)

GitOrigin-RevId: e7a89997e694e792794fe604e7c4270be9517b24
2025-01-19 21:30:05 +00:00
Aleksandr Sorotskii
42c78668df fix duplicate cmdline args in error info
GitOrigin-RevId: f4fcdb2c9419f7edc755eb42e9253f8e62bbc610
2025-01-19 21:30:05 +00:00
Aleksandr Sorotskii
3f017485ef extract common code for listing installed/outdated packages for poetry; #PY-78077 Fixed
GitOrigin-RevId: ba1410bab2aeb4b69e6a9b134fd81331b7de3b06
2025-01-19 21:30:05 +00:00
Aleksandr Sorotskii
b21ed9e4e9 more consistent naming for uv; PY-75983
(cherry picked from commit 111a9ffb7b7107d3fbdfe01df649a38be2b5b821)

GitOrigin-RevId: 2b99c7457d94437d5c4c117b74031c30c5c84ff1
2025-01-19 21:30:05 +00:00
Aleksandr Sorotskii
400fb17865 fix poetry package manager running poetry update upon reloading the package list; #PY-78077 Fixed
(cherry picked from commit b0f73f88f39a62b4351fb6189fe5d9afb79ef6d3)

GitOrigin-RevId: 8e78ddecb0298826c8bc8dcf55e5b105954bd269
2025-01-19 21:30:05 +00:00
Aleksandr Sorotskii
170ad83859 reload vfs upon packaging operations to show any possible changes to project files; #PY-78157 fixed
(cherry picked from commit d7d41aa8cccec13c74736fbee036a9fcd78edeae)

GitOrigin-RevId: 72592940511dd4b3b18a6d44e27e4121bb74a204
2025-01-19 21:30:05 +00:00
Aleksandr Sorotskii
2df265c932 work around suspend/legacy api and threading isssues; #PY-77996 fixed
Merge-request: IJ-MR-151488
Merged-by: Ilya Kazakevich <ilya.kazakevich@jetbrains.com>
(cherry picked from commit db9e012e187c62fbc53ddfa0c31603eb834058f9)

GitOrigin-RevId: 543d11a54e7106bd7f057e930d3796cc76d64617
2025-01-19 21:30:05 +00:00
Aleksandr Sorotskii
1d3e312dd5 fix running blocking on EDT; #PY-77850 fixed
(cherry picked from commit f06465ebffcadc50c564cb815973813d3643673b)

GitOrigin-RevId: 10ded6d4328c5645622a1cd06320279979c2c34d
2025-01-19 21:30:05 +00:00
Aleksandr Sorotskii
6727b2c5cf tweak initializing uv env; PY-75983; #PY-77715 Fixed
(cherry picked from commit e4c5af263e33b445bbdc4b1de7ed8aacea98b101)

GitOrigin-RevId: 897dd009b192fa2adb00d2ed07767bad17f42cda
2025-01-19 21:30:05 +00:00
Aleksandr Sorotskii
2769b5d234 fix uv detection for win and when creating cli; PY-75983
(cherry picked from commit f54ee351bfdceb6597a74d1fb128e000051984ba)

GitOrigin-RevId: 3200c0ae179a2e4e15a9ff9691421803cd09e1af
2025-01-19 21:30:04 +00:00
Aleksandr Sorotskii
77157d6fe2 support uv interpreter project configuration upon opening for the first time; PY-75983
(cherry picked from commit 44f133462ae29d6865a3ed5918a556d7d0a2cac7)

GitOrigin-RevId: d87fc8ae6076fb4fc3c20e8effaf5818c2f8ba20
2025-01-19 21:30:04 +00:00
Aleksandr Sorotskii
dc79f6b09c remove code duplication for poetry; PY-75983
(cherry picked from commit 3498c4b1da0f2f791940bd8f476e24701edd199c)

GitOrigin-RevId: 30e7d12a822031722d20373bef86d20d1d2ed95d
2025-01-19 21:30:04 +00:00
Aleksandr Sorotskii
42af44caf9 basic support for uv env & package manager; PY-75983
(cherry picked from commit 2597e4de17e167d8a0b0038190b5127a9dc4b155)

GitOrigin-RevId: 025955aea8f118a26e5ea24ca5b740fdd6c6bc7a
2025-01-19 21:30:04 +00:00
Aleksandr Sorotskii
c8b62d5056 remove redundant pip based python package manager; PY-75983
(cherry picked from commit a1d3cb3a5f31763f38c6c5c2d7c7f855d83e1f0a)

GitOrigin-RevId: c0ce987c8f9bdf3856cd69febe8a19a8af69491e
2025-01-19 21:30:04 +00:00
Konstantin Nisht
c3f76c2982 IJPL-172709 [ijent] Do not start coroutines directly in Unconfined dispatcher
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
2025-01-17 14:26:16 +00:00
Vera Petrenkova
7d222ff6ed IJPL-161883 Fix cyclic initialization between LocalizationStateService and MacroManager
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
2025-01-17 10:47:45 +00:00
Nikolay Sandalov
1314e61754 IC 243 targets 2024.3.3
GitOrigin-RevId: 2c7779dbcc462147f6a5d9e4da86127df486dc67
2025-01-17 01:12:36 +00:00
Egor Eliseev
b0995cd9a1 PY-72345 Pycharm 2024.1 Broken debug on Python 3.12-3.13
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
2025-01-16 16:20:50 +00:00
Egor Eliseev
55ce70bcba PY-78449 Debugger completely broken in PY-251.15449
Regenerate Cython files for Windows
Regenerate Cython files for MacOS


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

(cherry picked from commit c506acd0c0f35c542b52fb7c41075f552a5258b3)

IJ-MR-152850

GitOrigin-RevId: ac83063ed1280659f4e759d88be3ed89798f30b6
2025-01-16 15:51:30 +00:00