Commit Graph

414 Commits

Author SHA1 Message Date
Sergey Karpov
c0842a6fde [pycharm] Squashed commits. PY-52478 Improve the names of quick fixes for "Unresolved references" and "Non-optimal list declaration"
(cherry picked from commit bce089714657aef8634ffb9c58da57fdb576b297)

IJ-CR-112218

GitOrigin-RevId: 8857c2951e44a1e9d0b54af1eb7c584f64fbc40d
2023-07-31 16:31:00 +00:00
Daniil Kalinin
10a95a0031 PY-61487 Make Black formatter notifications less annoying
GitOrigin-RevId: 2987f82ab2877a2c47fa47f313d862ec5826467b
2023-07-14 13:54:17 +00:00
Andrey Vokin
ff09dfa2e1 DS-4859 Support advanced code completion for machine learning frameworks in DataSpell and PyCharm
Move TensorFlow and NumPy icons to community

GitOrigin-RevId: b978403fa4f9d1b753b96dc5f11e7842ff663134
2023-07-12 11:06:06 +00:00
Elizaveta Shashkova
7ba7a56255 PY-60845 Support completion for conda commands in Run Anything
(cherry picked from commit c898d641c653569a05e26e9b4858af1effb675db)

IJ-MR-110247

GitOrigin-RevId: 1fcc2f283ab660b09429f480689cd5b61bba9ee7
2023-07-11 17:00:29 +00:00
Daniil Kalinin
3f2a47eacb PY-30757 remove unnecessary notification about missing SDK
GitOrigin-RevId: 7fe47f76431bb5286c18a17621b7676068821da2
2023-07-07 17:55:27 +00:00
Daniil Kalinin
aa382fe764 PY-30757 Rename "Select Python SDK:" label to "Python interpreter:"
GitOrigin-RevId: aeb910e723e8ba00b1191d5f6528d6a704242353
2023-07-07 17:55:19 +00:00
Daniil Kalinin
09a52a3f77 PY-30757 Move context help icon to the right side of the row and change tooltip text
.

GitOrigin-RevId: 467830528912ba57c6f3b40c2e6a053c2a8dbc56
2023-07-07 17:55:16 +00:00
Mikhail Golubev
332ece532c PY-59132 Ask for user confirmation when installing packages with a quickfix
Namely, if a package doesn't belong to the list of "well-known" packages, which
we maintain for the Packaging Tool Window, such as Django, upon installing it
with a quickfix (either "Install package" or "Install and import package")
we ask for an explicit confirmation, mentioning that a package can execute
potentially malicious code while being installed. This extra step should allow
a user to double-check a package name, making sure that it's not a spoofing
variant. This confirmation dialog can be disabled IDE-wide.

GitOrigin-RevId: 012909e2695eabb1df96e0d45ed20befd0cf2e31
2023-07-06 10:41:32 +00:00
Olga.Lavrichenko
f688d1963e DS-5170 DS-5169 Provides smart completion for DataFrame object inside wrappers
GitOrigin-RevId: caba34d39e080acecd9f797ba2fb6267b381e6ea
2023-07-05 10:54:29 +00:00
Andrey Vokin
95b824f830 DS-4596 Create DataSpell specific project template(s)
Pandas and Polars icons

GitOrigin-RevId: f327f3fdeff1f8cec1b821e19bf96e30fe26aafc
2023-07-03 21:42:40 +00:00
Ivan Donchevskii
f79af9986a [pycharm] Move CompileQrcDialog.form string to QtBundle
It was left in PyBundle but should now be in QtBundle to work correctly.

GitOrigin-RevId: 3fadd0bcd8d7e3f207d771a468ba1fdab11743ae
2023-06-23 11:39:29 +00:00
Daniil Kalinin
2654749a76 PY-58887 add explanatory commentary about pyproject.toml for Black cli options text field
GitOrigin-RevId: d014f05bcb20933335b905da3462f954c8bec8fb
2023-06-23 10:48:36 +00:00
Daniil Kalinin
601f74f216 Improve user-visible text for Python inlay parameter hints
Merge-request: IJ-MR-109113
Merged-by: Daniil Kalinin <Daniil.Kalinin@jetbrains.com>

GitOrigin-RevId: 8e34eeb47e4c664e8adf46d7093fafc606d486e0
2023-06-22 16:59:25 +00:00
Daniil Kalinin
157b23ce53 PY-33261 Inlay parameter hints for Python method and function calls
Merge-request: IJ-MR-108471
Merged-by: Daniil Kalinin <Daniil.Kalinin@jetbrains.com>

GitOrigin-RevId: 1d9451020a755c0aaf57c12b16829f8b31291e5d
2023-06-20 05:27:45 +00:00
Aleksei Kniazev
2180aa6230 [python] support python dependencies in pyproject.toml (PY-59844)
- completion for package names in `dependencies` and `install-requires`
- completion for build-backends
- if a package is not installed, provide a quickfix to install it / run `pip install -e .`

GitOrigin-RevId: cad88e4058a45f6db717b8da8fd7f6c456008998
2023-06-20 04:18:25 +00:00
Aleksei Kniazev
7340844d7e [python] added links to update packages to the latest version from Python Packages toolwindow (PY-48046)
GitOrigin-RevId: 2e09b8d9ba125014573f94a260de29e95b1bc497
2023-06-19 12:58:39 +00:00
Aleksei Kniazev
56b01e89b1 [python] added link to install python package directly from package table (PY-49130)
GitOrigin-RevId: bcbb3b3fc7c485ea999fd326576f78cd26c3938c
2023-06-19 12:58:39 +00:00
Daniil Kalinin
62df4deaf4 PY-30757 Black formatter integration support for PyCharm
Merge-request: IJ-MR-107500
Merged-by: Daniil Kalinin <Daniil.Kalinin@jetbrains.com>

GitOrigin-RevId: f0e622057a9533d89d2d47b032b5388f8c991821
2023-06-18 23:11:33 +00:00
lada.gagina
e768aa3785 PY-40996 Add ability to collapse and expand python type annotations
"Collapse/Expand Python Type Annotations" actions, an intention and a setting

GitOrigin-RevId: e055538b29b07c1836399f52754b786a15351050
2023-06-16 19:08:16 +00:00
Daniil Kalinin
d5de282edd PY-17193, PY-10709 Don't use \ for line continuation by default
Adds a new option which allows to parenthesise call chains, import statements, string literals and binary expressions instead of using backslashes when splitting them to multiline by pressing Enter

Tests for PY-17193, PY-10709

Merge-request: IJ-MR-98747
Merged-by: Daniil Kalinin <Daniil.Kalinin@jetbrains.com>

GitOrigin-RevId: 964f6c997e1e106a3d1b82d24e46947cc83fb2c6
2023-06-14 19:11:31 +00:00
Ivan Donchevskii
65e4f82e86 CPP-33475: Remove clion and python dependencies from the qt plugin
Move the code causing dependencies into the optional parts of the plugin.

IJ-CR-107960

GitOrigin-RevId: c54fc4bb44ab59ea0da62b759a2931112c5ef2b0
2023-06-12 21:36:05 +00:00
Ivan Donchevskii
5db8fd0e1a CPP-33475: Create the Qt plugin
Split a part of QML plugin with core functionality for paths detection and
with icons specific to Qt file types.
For now the functionality is used in CLion and Python plugin.

This change allows to open `.ui` files with detected `designer` tool which didn't
work in CLion before.
The icons are also updated to the more up-to-date format which honors new UI.

IJ-CR-107960

GitOrigin-RevId: dffc1706197ebc568db43ff85f324c1520e919f6
2023-06-12 21:35:58 +00:00
Elizaveta Shashkova
2e2b614657 PY-31773 Implement "Run Anything" for PyCharm
GitOrigin-RevId: 13d7b82ad453721feec41162448c8df18cab39ba
2023-06-07 14:19:08 +00:00
Artem Mukhin
c5f98d1c46 PY-54577: Allow configuring Attach to Process timeout in Advanced Settings
GitOrigin-RevId: 57b431045be847a01fe43b571886fce2553242fd
2023-06-05 12:10:42 +00:00
Olga.Lavrichenko
77e86eff44 DS-4332 Support autocompletion for dictionaries inside dynamic classes
GitOrigin-RevId: bcaa52b982a4a0f567fc0f32ca2094fab49d6f6a
2023-06-02 09:06:24 +00:00
Daniil Kalinin
8df7dd2f21 PY-32302 Provide custom syntax highlighting for Python local variables
GitOrigin-RevId: af7099a6ba948c740c8183674b24eeeddf164e70
2023-05-18 19:12:18 +00:00
Dima Golovkov
eb233d8097 Add icons for Python for IntUI
GitOrigin-RevId: 6932a90d2ff22e211685c91af61a15c2c7d76733
2023-05-17 21:19:16 +00:00
Dima Golovkov
e8957b0496 Update pythonConsole.svg
GitOrigin-RevId: 4cc620ae25b643c5f077894a5fa360e3a8678b10
2023-05-11 01:26:34 +00:00
Louis Vignier
1869ec9da6 [codeInspection] Fix python inspection descriptions
GitOrigin-RevId: 56876a5dd073a06c3fcc92f63ed1f5674830bc25
2023-04-28 13:13:25 +00:00
Vladislav Rassokhin
3fcbb16aa9 [python] postfix templates: add .fore/.itere/.enum: add description (PY-27374)
GitOrigin-RevId: af484fbec898c0b11501a4cd94c453339885be0b
2023-04-24 18:44:24 +00:00
Egor Eliseev
63aad3ea69 PY-57605 Add user-friendly notification for shadowing name errors
IJ-CR-101027

GitOrigin-RevId: a35868cb97d3746dacdd090700dfc1946de21147
2023-04-13 13:33:27 +00:00
Olga.Lavrichenko
dbc72e00e3 DS-4778 Rename "New runtime" contributor
GitOrigin-RevId: 6865ffb634fd6b0834948f6e39f2c4d2df61f2fb
2023-04-11 09:12:59 +00:00
Aleksei Kniazev
f168218b37 [python] use content root instead of sdk home path as work dir when converting package docs md to html (PY-59238)
- added error handling and logging
- restructured code to update installation action sooner

(cherry picked from commit b23e13b6c18630434a1dc3ce95b059fa1b2fc8b4)

IJ-MR-105495

GitOrigin-RevId: 247e906d075644ee1fb86f2d67476f4478b87ae4
2023-03-28 19:45:44 +00:00
Alexander Koshevoy
4b5b0f0890 PY-55448 Use specific process handler for Python Console processes
Use previously introduced `PythonProcessHandlers.createProcessHandler()` method to create specific process handlers. Introduce `PyConsoleProcessHandlers` with utility methods to create an instance of a class extending `PyConsoleProcessHandler`, which delegates to a specific `ProcessHandler` or a `Process`.

Also, introduce a proper path mapper class for target environments that takes into account their volumes.

GitOrigin-RevId: 8780a3f0d35d9140de8f8fc9ddae25d39453e29f
2023-03-28 12:52:56 +00:00
Dima Golovkov
dd04511f50 Add specialVar and stepIntoMyCode icons for PyCharm for IntUI
GitOrigin-RevId: 7f9c2f56a01b2e085fb7bdb81ec02cf3ac24c86a
2023-03-27 00:25:02 +00:00
Dima Golovkov
11a94b692b Add pythonConsole icon for IntUI
GitOrigin-RevId: 5fea07af23826fdaf0e41c93ff429accb94a21c4
2023-03-27 00:24:57 +00:00
Aleksei Kniazev
4aa3364e56 [python] background color of documentation in Python Packages toolwindow should match the IDE theme on new ui (PY-59674)
(cherry picked from commit 1dacb2494e0a57e9e417544460f087038d23d2a6)

IJ-MR-105099

GitOrigin-RevId: 5073649f309b9e0ddb9a688c9cad36a182e5ced7
2023-03-22 18:15:55 +00:00
Aleksei Kniazev
07e9a98784 [python] extract exception text to properties
(cherry picked from commit dd219befce6870a9f7d4110e6ca5200903fa401c)

IJ-MR-103391

GitOrigin-RevId: a9e94e9f285036ad4aa114875c43334b6d08e7f1
2023-03-20 21:34:53 +00:00
Aleksei Kniazev
88b5ab5b98 [python] fixed wording (PY-57299)
(cherry picked from commit 7ff8f1020b34a319a520747ec84590d0ce7c9b3a)

IJ-MR-98179

GitOrigin-RevId: 9a51c5737131a5f1b69a90abf2689c341a393aee
2023-03-13 18:06:20 +00:00
Aleksei Kniazev
fb1f6a68e8 [python] links to Python Packages toolwindow in the existing packaging support and interpreter widget (PY-57299)
(cherry picked from commit 161a96b07a149e31aa6f76ee07884d9423bdc230)

IJ-MR-98179

GitOrigin-RevId: c5f24298c4bd3f461c90d08861fc1ce628afb31b
2023-03-13 18:06:18 +00:00
Anton Bragin
d159181bee PY-57410 Fix titles
GitOrigin-RevId: cd354246ea1899cad2f6b05579559c4819c6dba0
2023-03-10 16:36:12 +00:00
Anton Bragin
ab8a0d3508 PY-57410 Use lowercase for conda
GitOrigin-RevId: c049199904a6d48c311a940df5d1f92f6d69586b
2023-03-10 13:45:21 +00:00
Vladislav Rassokhin
a396b4cdd2 [python] postfix templates: support editable templates and conditions PY-30217
GitOrigin-RevId: 03b1a49f8ecfd7c765ed2900b2adf14b07709a5f
2023-03-07 18:56:25 +00:00
Vladislav Rassokhin
429cbc8d37 [python] add .for/.iter postfix template, add description (PY-27374)
GitOrigin-RevId: 92c3b6da7b01c5ed64bb76ca51cdb1a59cf7199c
2023-03-04 10:16:51 +00:00
Elizaveta Shashkova
308f9110d7 PY-58889 New UI for Python Run configurations
Partial implementation of PY-44688

GitOrigin-RevId: 686c48a6f2649dfebcd079f414cce19559374032
2023-02-21 16:51:46 +00:00
Anton Bragin
25c3df082b DS-4401 Don't show description in PyExecuteCellAction gutter tooltip
GitOrigin-RevId: 288a6fea03d7f85dd7a19917ebe71161ce2c4f87
2023-02-09 11:17:14 +00:00
andrey.matveev
4789ab879a PY-42765 Impl references code vision
GitOrigin-RevId: 498bc5656e7bf98681b93ab3b74c7b43f4787f26
2023-02-01 18:21:07 +00:00
Anton Bragin
7d1090b99e DS-2556 Move DSActionsBundle to com.jetbrains.ds package
Cleanup.

GitOrigin-RevId: d9bbcfaebc14ea2e60ad1bb72c88011a442cf9fe
2023-01-12 09:02:51 +00:00
Tagir Valeev
fa3cf18c12 [inspections] OptPane: use stringSet
GitOrigin-RevId: 7f3ba5c990d8aa173d8edf3a38bb21543c26d0fa
2022-12-21 19:22:09 +00:00
Ilya.Kazakevich
7a895e89d7 DS-4293: Survive errors conda might throw, improve error reporting.
* ``conda info`` may throw exception and that shouldn't break other interpreters
* conda errors should be displayed in user-friendly fashion

GitOrigin-RevId: 31e2371a75c47ac35060123ecd2f2b56f111e230
2022-12-21 16:39:08 +00:00