Konstantin Hudyakov
ff76dc8e25
PY-62388 Add New UI onboarding to PyCharm
...
GitOrigin-RevId: ede8b6b27af252eedf4ea3f47dcdc645d84d45ca
2023-08-18 17:26:43 +00:00
Ilya.Kazakevich
261706a7e6
Make PyAddSdkView Disposable
...
Kotlin DSL UI uses `Disposable` to bind event listeners, so we need something to be disposed when dialog is closed either by clicking "Ok" or just because uses closed it.
`complete` isn't called when user just closes it
Merge-request: IJ-MR-111329
Merged-by: Ilya Kazakevich <ilya.kazakevich@jetbrains.com >
GitOrigin-RevId: 9b3919a37076e118b38d0ccb1d01bda1c4a859a9
2023-08-18 17:11:45 +00:00
Egor.Eliseev
130740bbf0
PY-61613 Turn on static code completion for Python Console by default
...
Change setting CheckBox to ComboBox
IJ-CR-110807
GitOrigin-RevId: 911407a78a5f444a81315dbca3e92d916b4abf30
2023-08-18 14:08:46 +00:00
Egor.Eliseev
c368c2f4f1
PY-48235 Add quoting policy for PyXCopyValueAction
...
IJ-CR-110671
GitOrigin-RevId: 768a88b91943de9dcab5c5023073c82c5f8c93d7
2023-08-18 12:11:01 +00:00
Nikolay Chashnikov
1121c7a989
[build scripts] specify ProductProperties::baseDownloadUrl for products
...
It's not quite correct to use 'patches' attribute from ApplicationInfo.xml file as a base URL for other resources. Also, there is a plan to move this attribute out of ApplicationInfo.xml file (IJPL-204).
GitOrigin-RevId: 228ca897f647163720a7b6ec0fd6603d74a2bb7c
2023-08-18 09:18:18 +00:00
Egor Eliseev
edd05b77c0
PY-37668 Copy full value from Variable view
...
IJ-CR-110411
GitOrigin-RevId: f2daf5ff2aea1c94acf2e796db02efd121655a99
2023-08-17 17:02:52 +00:00
Olga.Lavrichenko
b554080676
DS-5431 Column names are not at the top of the completion suggestions list in Jupyter notebook
...
Merge-request: IJ-MR-113147
Merged-by: Olga Lavrichenko <Olga.Lavrichenko@jetbrains.com >
GitOrigin-RevId: 777ade236fcbe9e596cc61cc20cce072f2d3ef97
2023-08-17 12:57:00 +00:00
Ilia Zakoulov
737b487b27
PY-52690: Run code via sudo only for run configurations
...
GitOrigin-RevId: 527952484ea9c9aba526d6ab4fc5e468fa916d1c
2023-08-17 11:22:56 +00:00
Ilia Zakoulov
889d5674bc
PY-52690: Introduce Factory for creating RunConfigurationTargetEnvironmentAdjuster with provided Sdk
...
GitOrigin-RevId: bd548ac3b951943e6177e461ef9f57eb7931f83f
2023-08-17 11:22:56 +00:00
Ilia Zakoulov
5e596873e4
PY-52690: Allow TargetPanelExtension to apply changes from UI to PyTargetAwareAdditionalData
...
GitOrigin-RevId: 02daa9acf85f2561d4d2e108ee1f21d25f8cdaea
2023-08-17 11:22:56 +00:00
Ilia Zakoulov
c5bfd6d7c3
PY-52690: Make project in getPanelExtension not null
...
GitOrigin-RevId: 9ab411002fff93d53becd1fbaf296ffff071d3ad
2023-08-17 11:22:56 +00:00
Ilia Zakoulov
c94f92fe73
PY-52690: Rename ProjectSync to TargetPanelExtension
...
GitOrigin-RevId: 92b204e8b767da24e24b70dc6a9ff76cfc3a4fb0
2023-08-17 11:22:56 +00:00
Tagir Valeev
c37d3a2931
Warnings fixed
...
GitOrigin-RevId: 8a3bfbe6e9a14c6ef958ee978e120fb678001456
2023-08-17 11:16:39 +00:00
Olga.Lavrichenko
12c241b545
DS-4870 Added completion items in complex polars queries
...
GitOrigin-RevId: 7696f2256a812c50757e7183854173c1e7112186
2023-08-17 10:22:46 +00:00
Alexey Belkov
a34bfe3d47
Apply Kotlin inspection "Join declaration and assignment" in some places
...
GitOrigin-RevId: f1faf49699509980900ea1a6d3349e822c4f0c64
2023-08-16 15:10:50 +00:00
Roman Shevchenko
9e761d9760
[project] dropping pointless //icon@ico attribute
...
GitOrigin-RevId: 611453e117b74efe12220efc9bf7ec0750f8043f
2023-08-15 21:40:36 +00:00
Pavel Porvatov
59a10f0de7
IDEA-324496 Add Links to New UI pages in Settings
...
- Moved configurables from plugins packages into ide packages
GitOrigin-RevId: 3b28b0194d6ba91007d45495ff42f2efd22bb43f
2023-08-14 08:16:52 +00:00
Ilya.Kazakevich
b708b01a7d
Python path validation should support \\wsl paths on Windows.
...
On Windows user may create project in `\\wsl`
GitOrigin-RevId: 593ecf6440394df6d3034b1ea630c262b6ff26c2
2023-08-11 19:34:35 +00:00
Nikolay Chashnikov
b1c94b472f
cleanup: get rid of unnecessary references to internal ApplicationInfoImpl class
...
GitOrigin-RevId: a7e8367ab5cb0ec10d5bcdbe6ba1d16e94fb2781
2023-08-11 13:19:13 +00:00
Pavel Porvatov
4ba429507e
IDEA-327942 Wrong landing page is opened for DataSpell
...
GitOrigin-RevId: e0c2b3426a15c1f5f2647d939914493db4607cc0
2023-08-10 11:38:41 +00:00
Elizaveta Shashkova
6a03806166
PY-50116 Multiprocessing package functions won't run in the interactive Python Console, revert changes from PY-30940
...
(cherry picked from commit c137f2bba93ef265dc2e8117004e5b148b4547f2)
KT-MR-11539
GitOrigin-RevId: bb0dfb6455d6b80c6374f943cc8896a40ead87be
2023-08-10 09:40:01 +00:00
Mikhail Golubev
63d24cbb9d
PY-34493 Enable back copying annotations from third-party .py files on Override/Implement
...
Since disabling turned out to be controversial. Even in the ticket some users were
against this decision claiming that it heavily annotated code bases it might be necessary
to retain all annotations from inherited method signatures. We need to think of a better
solution for controlling this behavior on case-to-case basis.
GitOrigin-RevId: c68763f0cad23de8975085e9bc8a6fd99013de3b
2023-08-09 20:53:35 +00:00
Mikhail Golubev
a2af264b63
PY-45588 Add necessary imports on completing methods of superclasses to override
...
I had to move addImports to PyClassRefactoringUtil because PySuperMethodCompletionContributor
resides in python-psi-impl and, thus, has no access to PyOverrideImplementUtil.
GitOrigin-RevId: cf2ac19da779977649144b2477bac3f8ae78bbcd
2023-08-09 20:53:35 +00:00
Mikhail Golubev
c7bba04743
PY-45588 Generalize PyOverrideImplementUtil.addImports to cover parameter defaults
...
GitOrigin-RevId: 828305e2a7449704c08503d8d68394d28ce98c83
2023-08-09 20:53:35 +00:00
Mikhail Golubev
b50c617b7c
PY-34493 Don't copy annotations from .pyi stubs and libraries on super method completion
...
GitOrigin-RevId: 65787827f5df5aa80986107dda0ba555b0942d40
2023-08-09 20:53:35 +00:00
Mikhail Golubev
dac1ef32bb
[python] Re-use PyPsiRefactoringUtil.getAllSuperMethods in PySuperMethodCompletionContributor
...
GitOrigin-RevId: eee71055ad5caa0f3024a17b5cbab191991ac687
2023-08-09 20:53:35 +00:00
Mikhail Golubev
7c94813c3c
[python] Simplify a check for duplicates in PySuperMethodCompletionContributor
...
GitOrigin-RevId: 47dcbc4f152b64c7c34f009d105336ad5d4b8155
2023-08-09 20:53:35 +00:00
Mikhail Golubev
a7a54e1152
PY-34493 Don't copy annotations from .pyi stubs and libraries on Override/Implement
...
GitOrigin-RevId: 7e40d4a520d46ad65a31ee5898af89ad870dc6c3
2023-08-09 20:53:35 +00:00
Mikhail Golubev
fbfaf24bc3
[python] Make PyOverrideTest work with the latest Python 3 by default
...
GitOrigin-RevId: fd44fa8ca8a0f3eed2b710a65225979569023d3f
2023-08-09 20:53:35 +00:00
Mikhail Golubev
250ee7e314
[python] Unify the test logic in PyOverrideTest
...
GitOrigin-RevId: 3e0d896c8e904996828364e1d29e1c39472f7e79
2023-08-09 20:53:35 +00:00
Mikhail Golubev
88da33b182
[python] Define a test data root for PyOverrideTest
...
GitOrigin-RevId: 0f77722768215515c5fd2b6c3fbd5c025bb902ba
2023-08-09 20:53:34 +00:00
Mikhail Golubev
69219902f3
[python] Reformat PyOverrideTest
...
GitOrigin-RevId: 7af5086bc76ca3dce99546d4e487b934849c9fe8
2023-08-09 20:53:34 +00:00
Ramazan Dzhekshembaev
9a9dda2b36
[fleet] FL-20903 add side effect guard check
...
GitOrigin-RevId: 13437a930c6008fb7385063df90fca99af95d639
2023-08-09 16:40:58 +00:00
Vladimir Krivosheev
8dd13764a9
IDEA-326151 update hash algo for icons
...
GitOrigin-RevId: bb8f3acd0314190362619afb86151270b893f082
2023-08-09 14:46:20 +00:00
Elizaveta Shashkova
5c171a97f5
PY-61917 New Run config UI: make "Parameters" field visible by default and increase minimal width
...
(cherry picked from commit 65a45024a6339a820bb9ffea91dfa85fd049d3cf)
KT-MR-11541
GitOrigin-RevId: d34f2c080d95d286a1e0c55d399fd91003c11217
2023-08-09 12:59:26 +00:00
Alexander Koshevoy
398a0bbf58
PY-52610 Fix "Run manage.py Task..." for non-local targets
...
GitOrigin-RevId: 90016f22bcaa92d06b44d87fae6dd727437f9ea5
2023-08-09 10:12:35 +00:00
Alexander Koshevoy
12f64232e5
Remove unused LOG field
...
GitOrigin-RevId: 418392be2b0d2e63390c978ce19d7d977829b269
2023-08-09 10:12:34 +00:00
Alexander Koshevoy
3b904e299c
Use sdkHome less in PythonCommandLineState
...
GitOrigin-RevId: ee797a8ef10771fa5c0d88ea9d0e415ab1c6b93b
2023-08-09 10:12:34 +00:00
Alexander Koshevoy
d0744bf728
Use sdkHome less in TargetedPythonPaths
...
GitOrigin-RevId: 8eeb5a8cbba23b344cba4365e5efc85a75abd850
2023-08-09 10:12:34 +00:00
Alexander Koshevoy
dd26ccef46
Remove no more required PythonTask.create(...) method
...
GitOrigin-RevId: 908f911bbf9117057f7c58f3b583a854d4ece23c
2023-08-09 10:12:34 +00:00
Alexander Koshevoy
3f4941a013
Remove no more used ExecutionException from PythonTask constructor signature
...
GitOrigin-RevId: 6bc3fd4a089e2f573459d117e1cb414b24b5aeb0
2023-08-09 10:12:34 +00:00
Alexander Koshevoy
b85c96df8c
Annotate sdk parameter in PythonTask constructors as @NotNull
...
GitOrigin-RevId: d2c593718d9631ec27f8562fd53807c7e6b8ffab
2023-08-09 10:12:34 +00:00
Alexander Koshevoy
a2aa446000
Annotate module parameter in PythonTask constructors as @NotNull
...
GitOrigin-RevId: a7bf5ca59d8d4310ea7e7a2731a79f9ccab4f779
2023-08-09 10:12:34 +00:00
Alexander Koshevoy
12b304dbd4
Replace lambda with explicit method
...
GitOrigin-RevId: 6428d35aa3ef373c1af78e078cab0394837ac270
2023-08-09 10:12:34 +00:00
Alexander Koshevoy
683d4b22c5
Reformat PythonTask
...
GitOrigin-RevId: 2e91bf4259bb2d8b9a6a5f2b3468192abde81422
2023-08-09 10:12:34 +00:00
Alexander Koshevoy
5f7618ff7e
Replace @Deprecated annotation on PythonTask with @ApiStatus.Obsolete
...
GitOrigin-RevId: aee287cb8dd0cfa3fc87a3c13b9b999521c5487a
2023-08-09 10:12:34 +00:00
Alexander Koshevoy
6450b4468d
PY-18822 Improve handling PathMapper assigned to ProcessHandler
...
- Handle `PathMapper` provided by `ProcessControlWithMappings` in `ProcessHandler.guessPathMapper()`.
- Remove `PythonRemoteInterpreterManager.PATH_MAPPING_SETTINGS_KEY` that is no more used.
GitOrigin-RevId: 5d48f51b94891dc927a0a4667a0cb0ad1b1079ac
2023-08-08 20:49:36 +00:00
Alexander Koshevoy
beb005e0a7
PY-18822 Fix Python profiler for non-local targets
...
- Pass a full path to a snapshot file *within* a volume directory rather than pass only a volume path itself.
- Use the local filepath of the generated snapshot file rather than its path on the target.
- Introduce `PYCHARM_SEND_STAT` environment variable flag in "run_profiler.py" to process request to return Profiler result in `ProfilerResponse` object.
- Introduce "python.profiler.use.snapshot.file.locally" registry key and use it to keep the initial behavior for the local profiling case, when Profiler results are loaded from a stored snapshot file.
- Remove inheritance of interface `ProfileStats` from `UserDataHolder`. Introduce `LocalPathFunction` typealias and pass this function to the point where the paths are mapped.
GitOrigin-RevId: a724711bfe791fbdddaf15f3cd241b8ddf5536fc
2023-08-08 20:49:36 +00:00
Alexander Koshevoy
efb8cc31e1
PY-18822 Fix coverage for non-local targets
...
Add `TargetEnvironment` to the user data of Python process handlers. Use it then for downloading coverage files and mapping paths in the coverage data.
GitOrigin-RevId: f2308acfd815aaac9b2c63688aece2b4838ee9fd
2023-08-08 20:49:36 +00:00
Vladimir Koshelev
cb8879c3e6
[PY-61929] fix NPE in python configuration templates
...
GitOrigin-RevId: e42c5ef1f49a053b5e8459e54e0f5c193d065cba
2023-08-08 19:28:17 +00:00