Commit Graph

619 Commits

Author SHA1 Message Date
Pavel Karateev
c7af627736 PY-83336 update PyCharm built-in spell check dict (August)
(cherry picked from commit fa50c92a7d05790dea0322b0af53113c5759c323)

IJ-MR-172304

GitOrigin-RevId: 7f5447684942bcadd3a5b33e1e0eed03d1c42f7e
2025-08-13 23:06:17 +00:00
Ilia Zakoulov
a8675a61ac PY-82168: Implement inspection and quick fixes for dataframe and series in the conditions
(cherry picked from commit 658f2d5609852b00b7e1011c3841c7266c202686)

IJ-MR-168659

GitOrigin-RevId: 66806362570ef564b1495ba5a9afcd32a50859fb
2025-08-08 19:31:55 +00:00
Vitaly Legchilkin
a3c1371e3e [python] add display ids for notifications (PY-83036)
Merge-request: IJ-MR-171306
Merged-by: Vitaly Legchilkin <Vitaly.Legchilkin@jetbrains.com>
(cherry picked from commit 7a4b12f4bee6fae93ce5351bda0e19289b8f7404)

# Conflicts:
#	community/python/pluginResources/intellij.python.community.impl.xml
#	community/python/src/com/jetbrains/python/packaging/toolwindow/PyPackagingToolWindowService.kt
#	community/python/src/com/jetbrains/python/sdk/configuration/PyProjectSdkConfiguration.kt
#	community/python/src/com/jetbrains/python/sdk/pipenv/PipEnvPipFileWatcher.kt
#	python/jupyter-py/src/com/intellij/jupyter/py/debugger/JupyterDebugProcess.kt
#	python/scientific-tables/src/com/intellij/scientific/tables/DSGridLoader.kt
#	python/scientific-tables/src/com/intellij/scientific/tables/DSTableDataManager.kt

GitOrigin-RevId: 38ab3efc5a61156ac4c3df96fc3fe87742c38d05
2025-08-07 18:02:56 +00:00
David Lysenko
14f1f6bfe4 [pycharm] PY-79132 Address feedback
GitOrigin-RevId: 03e4786ad9e32de518a11b2cad6a8b653e2cc1f8
2025-08-07 16:44:28 +00:00
Marcus Mews
3d25b26d0f PY-35287 Extract method with typehints
- customize extract method refactoring for Python using prefix Py
- option to enable/disable type annotations
- persist value of checkbox.isSelected
- run all extract method tests using types
- add specific typed test
- adjust api-dump.txt since some members of AbstractExtractMethodDialog were raised from private to protected
- small adjustment in test expectation of the inferred type

GitOrigin-RevId: be6e70dcb61c451debb98c10c0a001234188cb7d
2025-07-31 14:08:38 +00:00
Ilya.Kazakevich
f23cb13529 PY-78995: Fix text and link after the demo
GitOrigin-RevId: 07932b0de58c38c278724cded65e72f693736e57
2025-07-23 17:05:18 +00:00
Ilya.Kazakevich
4a50a7e84d PY-78995: (WIP): Display banner for locked run configurations in free mode
(cherry picked from commit 63ad1943e856fa2e964839b908e639c0d58002f8)

IJ-CR-169869

GitOrigin-RevId: d6545a948a5b251e7ac16ecc5ecddee9221347a9
2025-07-21 11:48:32 +00:00
Aleksandr Sorotskii
bef3e00469 support system pythons provided by asdf; PY-32643 Ready for Merge
(cherry picked from commit 926ee14228644c33ab4a17247a07cdf71799b265)

IJ-MR-169793

GitOrigin-RevId: 9259bfa8a8c527ce87ddf8bc441a16bdc4bb24a1
2025-07-19 14:01:21 +00:00
Aleksandr Sorotskii
b218418321 fix system python providers registration config; PY-47379
(cherry picked from commit 4b0e7d9bf893ed5b014691e3b1081652f33e8d58)

GitOrigin-RevId: 9f5f474826f091cb442eb642e005daad6190e116
2025-07-18 12:52:47 +00:00
Aleksandr Sorotskii
363175ed94 system python providers for unix/mac/win/legacy platform; pyenv/brew system python providers; PY-47379
(cherry picked from commit 02c3c3f3e682aa60e48bd429b7862d431ce5ddac)

GitOrigin-RevId: f0b84f7603bc2d3604d797f9d078a25c54e1ec3e
2025-07-18 12:52:47 +00:00
Pavel Karateev
0f1369ed6e PY-77535 use capitalized Python in UI
(cherry picked from commit 2d9b247b5efc72a1e93e0e204cbf59f3fb75afa1)

IJ-MR-169089

GitOrigin-RevId: c7e7b50d977ab379bae6b036cddc0ddeae81ee7f
2025-07-14 17:10:44 +00:00
David Lysenko
392d7fb091 [pycharm] PY-81856 Add colons to uv run configuration form
(cherry picked from commit 02e75f82bce2a9a461a165591c7236bb8a87aecc)

IJ-MR-168785

GitOrigin-RevId: 8130d1e70d258d74d30f6d8b68db7b6f11b0369c
2025-07-10 15:55:59 +00:00
Aleksandr Sorotskii
7a65757b7d cleanup; unbundle vagrant plugin #PY-80258 Ready for Merge
(cherry picked from commit 43f8dda8114f1d78e43f54d11d43b072fd5e7bda)

GitOrigin-RevId: 16af4dc9778db240fb078cd8bdda77360b246c05
2025-07-03 17:51:14 +00:00
Natalia.Murycheva
84549d7bdf [PyCharm] PY-81850 Python Settings follow-up improvements #PY-81850 Ready for Merge
* Added a description for the "Python" group of Settings
* Added a description for the "Type Renderers" settings page
* Added a description for the "External Documentation" settings page
* Added a helpId for the "Type Renderers" settings page


(cherry picked from commit 29e93e8dd7fc7f54adea825b60cf8d95540fc6b0)

IJ-CR-166515

GitOrigin-RevId: f8fd3f2ca9d6e2d34077a5424673adeb66bc05d1
2025-06-22 09:32:51 +00:00
Nikita Ashihmin
05e32e764d PY-19974 Packages: Add conda envinroment.yml support, refactor sync methods
Signed-off-by: Nikita.Ashihmin <nikita.ashihmin@jetbrains.com>


Merge-request: IJ-MR-164824
Merged-by: Nikita Ashihmin <Nikita.Ashihmin@jetbrains.com>

GitOrigin-RevId: 85cbf7b873742ded72029af1f4ff3e34af9bae22
2025-06-17 00:18:33 +00:00
Vitaly Legchilkin
edb8cb5a9c [python] remove Tools / Sync Python Requirements Action (PY-80364)
GitOrigin-RevId: b37a9a8bb7cd6e73e69856d9fcc5a510bb7c001f
2025-06-16 16:41:12 +00:00
Timur Malanin
4cc34127cf PY-80189 Replace PyPackagesTable with tree-based PyPackagesTreeTable.
Migrated to a tree-based UI for managing Python packages, replacing the previous table-based implementation. This change introduces `PyPackagesTreeTable`, consolidating UI functionality and improving package management UX. Removed redundant table-based classes and refactored associated functionality.


Merge-request: IJ-MR-164644
Merged-by: Timur Malanin <timur.malanin@jetbrains.com>

GitOrigin-RevId: 6e99398f0aa970806428221c194d09185554d2f5
2025-06-16 13:38:02 +00:00
Ilya.Kazakevich
cd9fd36b44 PY-81939: Do not show the full log on exec error dialog.
`PyError.message` contains the full log: all `orReturn("some text")` messages.

While they help user sometimes, some of them duplicate otuput and mustn't be displayed two times.

GitOrigin-RevId: 9a726cfcc8cb6b23825adc5d7dd505e1b8afd9c2
2025-06-14 03:52:50 +00:00
Petr
a977877a92 PY-81471 Move PyJoinLinesHandler to python.syntax
GitOrigin-RevId: b6dc592a7eb09ee52547c591b4e5494eca4683ed
2025-06-13 20:21:12 +00:00
Petr
e33aae05fc PY-81471 Move PyStatementMover to python.syntax
GitOrigin-RevId: c9cb03c1bb97720c392ea482765790674f27b647
2025-06-13 20:21:11 +00:00
Petr
748017efe4 PY-81471 Move PythonColorsPage to python.syntax
GitOrigin-RevId: 402caeea59f52bde6cb93c6c9964efc770516bd9
2025-06-13 20:21:11 +00:00
Nikita Ashihmin
1480554414 PY-81864 PyPackages: Move saved requirements.txt path from module to sdk
Signed-off-by: Nikita.Ashihmin <nikita.ashihmin@jetbrains.com>


Merge-request: IJ-MR-165494
Merged-by: Nikita Ashihmin <Nikita.Ashihmin@jetbrains.com>

GitOrigin-RevId: fc852bf8db5ebda9a138c2b7cc2f096143adce7b
2025-06-13 15:38:02 +00:00
evgeny.bovykin
1057b10afa Move Python Stub Packages Advertiser statistics group to the community python module
It's being used in by PyStubPackagesAdvertiser, which is also in the community

GitOrigin-RevId: 7b2c8180b81183928f1adc05fda041ddb421a429
2025-06-13 09:43:54 +00:00
Natalia.Murycheva
598478e28e [PyCharm] PY-81850 Follow up on the "Python" Settings pages improvements: settings pages re-ordering
GitOrigin-RevId: 8dcd8f5b62b61f4409902abaff323bf6236fcfb3
2025-06-11 23:06:31 +00:00
Alexander.Kass
ad81a4e009 ds: drop non-intractiv consoles
GitOrigin-RevId: 21569629f8a81dc12ccc47f02ae354a4dfb10bf3
2025-06-11 18:31:22 +00:00
Pavel Karateev
1ce9894d63 PY-81774 use lowercase uv for actions
(cherry picked from commit b7c60b8aba9041c98a9656e3a822f8fc8a468b71)

IJ-MR-165278

GitOrigin-RevId: 695441592759bf1f8f8186c7795088c605b64f9b
2025-06-11 17:02:33 +00:00
Pavel Karateev
6331021c68 PY-81774 use lowercase uv for lock file actions
(cherry picked from commit 5f96e07e643863594e1b27d9bd0d5e8be88dd988)

IJ-MR-165278

GitOrigin-RevId: 292ee4faf7376d3925081b4f5ba6f1eb943693b2
2025-06-11 17:02:33 +00:00
Mikhail Golubev
d1acb2ea7a PY-79488 Add "Project" prefix for Uv and Poetry project opening extension names
GitOrigin-RevId: f54eca61f3458439a25e5bb478e28d4f77096cc6
2025-06-11 16:54:32 +00:00
Morgan Bartholomew
768377268c [python] PY-78219 bundle django stubs in free mode
GitOrigin-RevId: 6b785f1019de0fdbda51b95a24041cd07e850ac2
2025-06-10 08:41:22 +00:00
Ilya.Kazakevich
105554c91d Python: introduce getOr("message"){} API to add errors on an appropriate level.
See `getOr` extension doc.

GitOrigin-RevId: 859af221e99f03b99ee2f82e829e83e0f00a9e6d
2025-06-07 22:05:56 +00:00
Ilya.Kazakevich
2e14347844 Python: extract python-specific extensions from exec service to simplify API and make it extendable for intepreters.
Use `ExecService` `api.kt` to exec any binary and extensions from `execService.python/api.kt` for python-specific things (i.e helpers)

GitOrigin-RevId: bb217798a9d1ee886c4b12220ec1f66a5ef08336
2025-06-07 22:05:56 +00:00
Ilya.Kazakevich
80f248d842 Python: Move helpers locator out of PSI module
GitOrigin-RevId: 55fb4b41c56fdd41b6d9523cd7a148c002ffb8be
2025-06-07 21:59:42 +00:00
Vitaly Legchilkin
06b7a98504 [python] unify Local SDK creation UI in PyCharm and IDEA (PY-79881)
* use the same UI in IDEA for local SDKS as currently PyCharm has, removing redundant code


Merge-request: IJ-MR-164681
Merged-by: Vitaly Legchilkin <Vitaly.Legchilkin@jetbrains.com>

GitOrigin-RevId: fe26897837f41dd2f3b23a328d2a9098ad388e37
2025-06-06 22:08:02 +00:00
Mikhail Golubev
c48402b4cb PY-80971 Drop the legacy python-skeletons stubs
GitOrigin-RevId: bdd71af6a628d1b9fc03680a33088cc26857b2d0
2025-06-04 18:33:47 +00:00
Nikolay Chashnikov
c037841853 [spellchecker] convert intellij.spellchecker to a content module (IJPL-189900)
This is needed to have an explicit dependency on the backend in it (IJPL-188916), and also to convert XML modules it depend on in content modules as well.

The new module is registered in common-ide-modules.xml to include it in all IntelliJ-based IDEs as before.

A plugin alias 'com.intellij.modules.spellchecker' is introduced to allow adding dependency on the new module without using a v2 'dependencies' tag. Existing plugins which depend on intellij.spellchecker are updated to have an explicit dependency. The change shouldn't affect external plugins which use classes from 'intellij.spellchecker' because the new module will be automatically added to their dependencies.

'lucene' and 'ai.grazie.spell.gec.engine.local' libraries which were included in the main classloader of the core plugin before due to this module are temporary included in distribution of intellij.ml.llm, intellij.grazie and intellij.searchEverywhereMl plugins. This will be fixed by converting these libraries to content module in next commits.

GitOrigin-RevId: aa746fea2f6fd044cf0eaabd6589fce89133eee9
2025-06-04 14:41:40 +00:00
David Lysenko
e49b44c1f4 [pycharm] PY-81624 Remove uv promo popup
GitOrigin-RevId: 7f42eb55d08f910dcf3e2a1f09f1fee2684a4adf
2025-06-03 11:00:49 +00:00
Nikita.Ashihmin
5aef76953c PY-81238 Packages: Fix Project Generation
Signed-off-by: Nikita.Ashihmin <nikita.ashihmin@jetbrains.com>

GitOrigin-RevId: edd4e3acd80657aa171fdd8aeae06cb9ce9cd439
2025-05-31 10:40:24 +00:00
Tatiana Ber
caca64705c PY-80994 UI Texts: Fix typos and grammar mistakes (May)
GitOrigin-RevId: 2e942345de348c8d0f00271138c1a04fb69e86c3
2025-05-29 20:35:27 +00:00
Nikita.Ashihmin
c232ee240e PY-81238 Packages: Add PyPackageManagerUI
Signed-off-by: Nikita.Ashihmin <nikita.ashihmin@jetbrains.com>

GitOrigin-RevId: 810446f634befa8631be89ec6c50f957a5f6124e
2025-05-29 02:37:23 +00:00
Aleksandr Sorotskii
b9796682c0 cleanup
GitOrigin-RevId: c7a98a1819638291e41cc9649c187c59a3eb7cfb
2025-05-27 18:24:25 +00:00
Aleksandr Sorotskii
67a49445ef fixup python plugin sdk configuration silent errors; fixup quick fix path association getting stuck
GitOrigin-RevId: e709f2063464bfc4b90f3acdf0c6b82277f2dc65
2025-05-26 22:53:26 +00:00
Nikita.Ashihmin
21165f0125 PY-81238 Packages: Support multipackages install, remove, update
GitOrigin-RevId: 06378dff9ec4ea73cdf7b066f27276e896e19417
2025-05-24 12:39:40 +00:00
Timur Malanin
e384c86d45 PY-80189 Introduce interfaces and implementations to extract dependencies from pyproject.toml files for UV and Poetry SDKs. New extractors handle top-level dependencies and integrate with respective package managers. Tests verify behavior for empty and populated dependency scenarios.
GitOrigin-RevId: d4563cf5838ed9760cf4b65af35e87b1559cd6a9
2025-05-22 00:54:01 +00:00
Timur Malanin
a54f307202 PY-80189 Introduced a unified PythonPackageRequiresExtractor interface for parsing package requirements for Python SDKs. Added implementations for Poetry and UV tools, including the necessary changes to handle normalized package names. Added corresponding unit tests to validate the extraction functionality.
GitOrigin-RevId: add74cf74974af6608d88546d86fe72900eee271
2025-05-20 17:23:55 +00:00
Tatiana Ber
7c3d91fbc7 PY-80994 UI Texts: Fix typos and grammar mistakes (May)
Uv -> uv

GitOrigin-RevId: ed4361bd4d125ba2dd565016753827a5c6e4e4bf
2025-05-20 14:34:00 +00:00
Natalia.Murycheva
db8eaa6a5f [PyCharm] PY-81071 Fixed the settings page name for CLion
GitOrigin-RevId: 494aabd7c3ecedd6b8a5dece598ce3c0977228ba
2025-05-16 17:14:08 +00:00
Nikita Ashihmin
2b12f32486 PY-70287 Packages: Add OutdatedRequirementInspection
GitOrigin-RevId: ea67912291f96d3df094c081fb0d59de5bc9721b
2025-05-15 20:54:10 +00:00
Natalia.Murycheva
cc495dd34e [PyCharm] PY-81071 Introduce a Dedicated "Python" Settings Group in PyCharm #PY-81071 Fixed
- Added a top-level "Python" settings group in PyCharm
- Moved all Python-related settings pages under this group for better discoverability
- Retained original registration of settings pages so they remain in their default locations in non-PyCharm IDEs (e.g., IDEA with Python plugin)
- For application-level configurables: relocation handled in PyCharmCorePluginConfigurator.execute
- For project-level configurables: relocation handled in PyCharmProjectConfigurableStartupActivity.execute
- Introduced two configuration steps to support the relocation mechanism

GitOrigin-RevId: 4db5885cb2f0af0443fb476c376873d847cef2da
2025-05-15 15:51:29 +00:00
Nikita Ashihmin
2e01a59e11 PY-70287 Packages: Add outdated packages for each PackageManager, improve the speed of showing outdated packages in 10x
GitOrigin-RevId: 9e1944aef6a8cdef7d1c3912a256cfc7a679dd3f
2025-05-14 21:13:59 +00:00
Timur Malanin
299a6fbfc4 Remove ordering attribute from PythonRunner
Allow external plugins to provide custom Python runners by removing the ordering attribute.
This change enables plugins to override default Python runner behavior by registering
their own implementations without being affected by the fixed ordering.


Merge-request: IJ-MR-162975
Merged-by: Timur Malanin <timur.malanin@jetbrains.com>

GitOrigin-RevId: 8328a4d696cfdd91882bcb386eb204f67cd4f434
2025-05-14 19:50:05 +00:00