Commit Graph

457 Commits

Author SHA1 Message Date
Vladimir Koshelev
8b918211ba [python] move keys for forms from PyBundle.properties to PySyntaxBundle.properties
GitOrigin-RevId: 24bd35ffdb0f4c97721aaeac632db3aadc95ffbe
2024-02-16 15:53:26 +00:00
Petr
da4a4b066b PY-61639 Move PyLanguageCodeStyleSettingsProvider to python.syntax
GitOrigin-RevId: 547f75fe15a4164ee317fe16b693233ca620a558
2024-02-16 15:52:17 +00:00
Denis Mashutin
2614f76475 PY-63877 Implement a simpler UI for editing pytest run configuration
* decapitalized and removed CamelCase for pytest

(cherry picked from commit ca898978f81986f67539a66b39737d9e8de419a2)

IJ-CR-126190

GitOrigin-RevId: 3f3e79be0a598f2f0750143507435bca576267a7
2024-02-15 14:25:19 +00:00
Bogdan Kirilenko
374091c98b [pycharm] PY-63877 added new UI for autodetected python tests configuration
GitOrigin-RevId: b956cfa2273c0c13a689dbb36dfd4d57f63fff14
2024-02-02 15:32:14 +00:00
Bogdan Kirilenko
5fa5eb29f6 [pycharm] PY-63877 new UI for PyTest run configurations
GitOrigin-RevId: 0189a4f83fc9b57117a7fff2f71dae1d81c5ebd3
2024-01-31 21:48:20 +00:00
Dima Golovkov
174102e63b Update python icons
- add vagrant icon for IntUI
- add origami icon for both UIs

GitOrigin-RevId: 9958eadbb6a9077c4b3f43481093e9cfbc756c09
2024-01-16 18:06:18 +00:00
Ilya.Kazakevich
b599287e32 [python] Refactor icons layout in community
Icons removed from SDK package (no need to have a separate class for it), ultimate icons moved out of community module.

There are only 3 icon packages in community:
* `PythonParserIcons`
* `PythonPsiApiIcons`
* `PythonIcons` (aka `intellij.python.community.impl`)

Latter two have `.json` mapper to replace old icons with new one for New UI which is included into corresponding `.xml` file.

GitOrigin-RevId: 0438ad4485b5a82a89c81ec63ae6e575d5bb52de
2024-01-12 15:53:48 +00:00
Mikhail Golubev
aed444e6f4 [python] Fix color attribute names capitalization
GitOrigin-RevId: b5a537d9b7b5de792fcd1e53f4ca28fa6970022f
2024-01-12 11:52:38 +00:00
Ilya.Kazakevich
826e478335 [python] Move icons in SDK in the right package
GitOrigin-RevId: fcd5331038928a183665a4869c7ea4e34502f1fb
2024-01-12 10:53:46 +00:00
Ilya.Kazakevich
c2363d4040 [python] Drop AppEngine support. Here is why:
* It doesn't work with Py3 in PyCharm
* Used by almost nobody according to our stats.
* Prevents us from splitting system into modules: AppEngine depends on yaml, but many parts of code use it directly. It is easier to remove it than to fix it

PY-60565 Remove GAE from supported project types
PY-66032 Fleet PluginException fleet.backend.python plugin
PY-65959 FUS: Class com.intellij.python.appengine.facet.AppEngineFacet must not be requested from main classloader of Pythonid plugin
Also, things like EA-1006421

GitOrigin-RevId: 5733832cfdc4d3560ee9301985d5e7dea7d13367
2024-01-12 10:36:47 +00:00
Ilya.Kazakevich
e4a56dc87f [python] PythonPsiApiIcons moved to com.jetbrains.python package, as whole community.python.impl must be there
GitOrigin-RevId: 0c38ddbdd5b0588ed4ec09c1d447248678974323
2024-01-11 20:29:55 +00:00
Bogdan Kirilenko
a5dd2a61ba [python-flask] PY-63876 fixing texts in the configuration editor UI
GitOrigin-RevId: 8cedca71fe4434914b0bc72c6599b9d9321a1d13
2024-01-09 12:56:57 +00:00
Denis Mashutin
e095c1b72a PY-64420 NPE when Python download fails
* updated notification header

(cherry picked from commit 02fd1774a1359a78d59d35c8ab7201de5a4ec8e4)

IJ-MR-123213

GitOrigin-RevId: 44561b40668581975c921d38ba986fe7fef5b0c2
2024-01-09 00:23:49 +00:00
Denis Mashutin
e77896dfd8 PY-64420 NPE when Python download fails
* corrected notification text
* changed help id for more precise linking

(cherry picked from commit b466ce466ce6d878e71862646f6088c631f2fde5)

IJ-MR-123213

GitOrigin-RevId: 09336eaa1f20a799b40d38c66e60cb53a5a1fc85
2024-01-09 00:23:42 +00:00
Ilya.Kazakevich
e95af7e141 Move commandInterface to the separate module: towards v2 refactoring
GitOrigin-RevId: 18dcc57922878c8ad1fe0bb6be85097d4d81cc34
2024-01-08 22:40:10 +00:00
Aleksei Kniazev
4bfaca1108 [python] fixed wording for interpreter selection fix (PY-65406)
GitOrigin-RevId: 47b88f91bd1d95e287f859538823096a7fbf6af4
2024-01-08 12:13:42 +00:00
Nikita Pavlenko
de90d01ac8 [python] PY-64570, PY-64553 Rework of DataView/PlotView which are used to preview data on debug.
- DataView and PlotView are now separate toolwindows, new icon for DataView
- DataView in PyCharm opens in ToolWindow, in DataSpell in Editor
- In PyCharm DataView we have 2 view options (new and old tables)
- Old tables got new color schema
- New tables got coloring possibility and the same color schema
- A number of UI related classes are new on Kotlin DSL
- A number of actions properly registered in xml
- Code in this commit are not perfect and a lot of things should be refactored and the first thing - ds-tables and python-scientific modules should be rearranged, a number of useless extension points should be removed.
- fixed a number of Disposable problems
- Small UI fixes in toolbars

GitOrigin-RevId: c924338acc52420d44cc4cdad647fff19121332a
2024-01-02 15:35:16 +00:00
Aleksei Kniazev
a3d25a3436 [python] show error notification after failed python installation from NPW (PY-64420)
GitOrigin-RevId: b687f3861218eafd1b5eeaec98a285283ce653b1
2023-12-05 21:17:00 +00:00
Yuriy Artamonov
536f0b0f58 [platform] IDEA-336974 License all monorepo icons for plugin authors
GitOrigin-RevId: c9d53008502e160c0457fe4979794e36a12996d9
2023-12-03 16:30:22 +00:00
Vitaly Legchilkin
34384accce Replace python download/install error dialogs to more user-friendly (PY-64420)
GitOrigin-RevId: 85bb5e403bd79a5d43aa075620b4619bc03c7fb6
2023-12-01 16:27:44 +00:00
Aleksei Kniazev
2222b97280 [python] install python from NPW (PY-60214, PY-63083)
- python distributions are available for selection as base interpreter
- sdks are installed and registered with modal progress after creating base dir for project
- new ui for sdk combobox, supporting path selection and custom rendering
- same combobox used for all python environment selection

GitOrigin-RevId: de2ea95247eab93f17f94cc580a41b13471bb49f
2023-11-29 03:20:14 +00:00
Vitaly Legchilkin
34f3828f5a Redesign of download python sdk (PY-63083)
+ Installer for pkg (MacOS packages)
+ Installer for exe (Windows executable)
- get rid of XCodeSelect installer (command line tools)
* Split PySdkToInstall

(cherry picked from commit c1a0becc70c6e421c48dd03bb80f31b8b7509dfe)

IJ-MR-120874

GitOrigin-RevId: 4fdcaa18c41bcdd0c004fed76de3054683b9ffbd
2023-11-28 09:58:50 +00:00
Vladimir Koshelev
9f54004acb [python] add PyCharm Pro icons to python community
GitOrigin-RevId: a92ca2b4e037b4724ab081c2c1465dadb2b8255d
2023-11-26 20:35:57 +00:00
Sergey Karpov
6f4519f6c6 [pycharm] PY-15346. Add validation for move module members refactoring.
[pycharm] PY-15346. Changed the error message to follow the platform.

[pycharm] PY-15346. Add validation for move module members refactoring.

If no members are selected to be moved, an error message will pop up, indicating that at least one member should be selected.


Merge-request: IJ-MR-112620
Merged-by: Sergey Karpov <sergey.karpov@jetbrains.com>

GitOrigin-RevId: c0d5b785b4374cef190335b130bbf6c8012cfded
2023-11-23 01:15:49 +00:00
Aleksei Kniazev
715a015594 [python] create sdk from validation-provided fix in python NPW (PY-60214)
GitOrigin-RevId: 84bd01c5a8026716ba682f152ef7fa9b6835cb4f
2023-11-07 21:04:50 +00:00
Egor.Eliseev
67a2231d6c PY-59107, PY-48235 PyBundle.properties fixes
Merge-request: IJ-MR-119028
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com>

GitOrigin-RevId: d29081a976d9e700716cf523f5a93a0592ec5222
2023-11-07 15:12:09 +00:00
Aleksei Kniazev
6b3642652a [python] validation for sdk creation in New Project dialog (PY-60214)
GitOrigin-RevId: befc8229bed7def9355130a10f6e91cf52f4bf8c
2023-11-03 19:40:59 +00:00
Vladimir Koshelev
c5e2faf55b [python] add actions for advertising PRO features in PyCharm CE PY-62397
GitOrigin-RevId: 24dd0c41ccf669feb0b03fcb8274caa239d45ecd
2023-10-31 03:07:37 +00:00
Alexander Koshevoy
2c7638ac8b Safe remove unused PyCondaManagementService class
GitOrigin-RevId: 7f9c11ce5560ee457d4a6574cf4b5a9a9b9ac59e
2023-10-23 00:47:09 +00:00
Bogdan.Kirilenko
73b0fb76cf [python edit run configuration] - moved redirect input to the top of the editors section + placeholder visibility fix
GitOrigin-RevId: b06c638ad4291c30975de2cf6790c18d79676a6b
2023-10-20 17:01:19 +00:00
Bogdan.Kirilenko
c03ac7054f [python] Implemented fragmented UI for Django server run configuration DjangoServerRunConfigurationFragmentedEditor PY-63418
GitOrigin-RevId: 42d6f05ef4395c37dc01d31e39a41c5b748316e1
2023-10-20 17:01:13 +00:00
Konstantin Nisht
87722de8ea Revert "[python] Allow modification of python SDK in headless mode through environment keys"
This reverts commit 3a202c64

GitOrigin-RevId: f6d6b26c10ba253c1a180a63d4939f4bd5e8f7a0
2023-10-19 16:23:08 +00:00
Egor.Eliseev
ca835e64ea PY-59107 NewUI: Buttons in Python Console are too close to new Run/Debug tool window toggles
Merge-request: IJ-MR-116375
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com>

GitOrigin-RevId: 4c44a8ec57138754b2e94dab17417a19b1139abd
2023-10-11 14:53:02 +00:00
Aleksei Kniazev
2b96defa3b [python] new ui for python interpreter creation in new project wizard (PY-60214)
- covered by registry key `python.new.interpreter.creation.ui` -- enabled by default
- missing proper validation and state save (tbd)

GitOrigin-RevId: 4035bb82d526be7a164715f7567d63319f4be499
2023-10-10 22:19:09 +00:00
Dima Golovkov
ceb5d97209 Add attachDebugger and executeCurrentStatement icons for both UIs for PyCharm
GitOrigin-RevId: 7b08956bbb5f0ff8c83b62d9d4236379eee51f0a
2023-10-05 15:04:26 +00:00
Konstantin Nisht
7d9f718f82 [python] Allow modification of python SDK in headless mode through environment keys
GitOrigin-RevId: 3a202c6418557c75c367d3d0457a5977a4ab6b6b
2023-09-30 18:44:34 +00:00
Daniil Kalinin
4b6848cb9f PY-61855 PEP 695 Type Parameter Syntax: Highlighting
GitOrigin-RevId: 498ab5e3a697c2eb616ae3d0820f99c480596306
2023-09-15 16:04:43 +00:00
Egor.Eliseev
540f24faa4 PY-34498 Add an inspection for pytest fixture that is not passed to test parameters
Report warning if a fixture is used without being passed to test function parameters or to
`@pytest.mark.usefixtures` decorator.


Co-authored-by: Denis Mashutin <Denis.Mashutin@jetbrains.com>


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

GitOrigin-RevId: 28d0711b99ab7ae180f672306dd4ab8a81f1feec
2023-09-04 09:53:07 +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
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
Ilya.Kazakevich
2bb2ea60fc Various validation refactorings
`readableFs` is redundant and unstable. Remove it: we will migrate to ijent anyway.
All validations are in `PathValidator.kt` now. They are used by `ManualPathEntryDialog` and sdk validation.
Lots of thread annotations added to prevent calling validation code from EDT.

In general, this change makes path validation ready for ijent: validation based on nio with slow IO access.

Validation is removed from old, non-target classes

(cherry picked from commit 185b4f7fe8cbd5d7a37dad609c8a4cb8163d6eed)

IJ-MR-112281

GitOrigin-RevId: 12c4a4f3d459d0523ef6694a9e4bb2db7a1582b7
2023-08-04 13:42:38 +00:00
Egor.Eliseev
8c44583f57 PY-61241 PyStackFrame.customizePresentation is a slow operation
Move compute `IsExternal` filed to background thread


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

GitOrigin-RevId: 820b8d6f4529930d5430c75c63adb64d14fca807
2023-08-03 08:53:54 +00:00
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