Egor.Eliseev
0be08ded36
[python] Rewrite PythonHelpersLocator
...
1. `PythonHelpersLocator` is an API to get helpers. It is aware of PyCharm Community helpers but also aware of some EP that provides additional helper paths.
2. EP implementations for PyCharm Prof and Jupyter that provide additional (prof) helpers.
It will help avoid problems with which Locator to use from Professional, Community or Jupiter plugins.
Merge-request: IJ-MR-140027
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com >
GitOrigin-RevId: c7c34f323247002699866f12f6ff5a08cf6a18ff
2024-07-23 12:04:22 +00:00
Nikita.Ashihmin
3c5b6a8592
PY-74000 PyCharm 2024.2 in-product what's new // Add to whats new
...
GitOrigin-RevId: bc22a2eef5aa7fd611ed740553ef9a6c3a0a95b7
2024-07-22 23:17:37 +00:00
Natalia.Murycheva
2e297515eb
[PyCharm Tables] PY-73557 added a dot for a type safety (avoid collision with users' types)
...
GitOrigin-RevId: e4215a9b877db8b110c535c998c1c6469d32a30d
2024-07-22 12:39:10 +00:00
Vladimir Koshelev
c559ffab2b
[pycharm] change the order of extended completion contributors to last, so they cannot pollute other stages.
...
GitOrigin-RevId: 675ead60c308a41142cc0abc1015d2aa50178e02
2024-07-22 12:26:17 +00:00
Mikhail Golubev
44aefbe28d
PY-73675 Restore non-recursive index access in PyClassNameCompletionContributor
...
GitOrigin-RevId: 18365f310a0315cd743fb732ffdf65e530528a15
2024-07-22 11:06:30 +00:00
Mikhail Golubev
54f528f334
[python] In completion of importable names, plot CDF of completion time with Sputnik
...
GitOrigin-RevId: 683631a9969b2e76e2058178aff9c3398ee0dd16
2024-07-22 11:06:30 +00:00
Andrey Vokin
e6c66dfd5e
PY-74012 Deprecation decorator stub resolves during indexing
...
Avoid using resolve when calculating deprecation messages
GitOrigin-RevId: 813849bdaeb3819b445db600fc0efbcb014ed5c9
2024-07-19 19:18:54 +00:00
Vitaly Legchilkin
8d7b0f9039
[python] fix 'Check out the Endpoints tool window' link using ActivateEndpointsToolWindow action (PY-73955)
...
+ reformat pycharm2024.2.json
GitOrigin-RevId: 11905d658145a003947d276677f7c0ce04c1006f
2024-07-19 16:45:27 +00:00
Aleksandr Sorotskii
e044767d68
Persist sdk associate path change, so it could be seen in other places; PY-70145; PY-72692
...
(cherry picked from commit 4b74266cd7aa3af2f2475b51ca3a91116704f394)
IJ-MR-140372
GitOrigin-RevId: 75f918b7340cd082f86aad0e3ba2fe28d3f5efb1
2024-07-19 15:39:18 +00:00
Vladimir Koshelev
d968d81f40
[pycharm] do not take unreachable into account when it's used for resolve, not type inference
...
GitOrigin-RevId: 3ef149fb3588d371619d34a1f95cce09b2b10974
2024-07-19 13:59:50 +00:00
Vladimir Koshelev
6a08992395
[pycharm] PY-71726 add initial support for TypeIs
...
GitOrigin-RevId: ae3d5d7c88450bf2851fa1dabbf264f7206d347a
2024-07-19 12:45:50 +00:00
Vladimir Koshelev
86421462bb
[pycharm] fix overloads processing performance tests
...
GitOrigin-RevId: a7d8d1cf3044cd6ebe22b343c18733667dcb75dd
2024-07-19 12:45:50 +00:00
Vladimir Koshelev
a40425e28a
[pycharm] prevent propagation of PyNarrowedType
...
GitOrigin-RevId: fdfd8e7563f36768b050efbf5ed8f259db994afd
2024-07-19 12:45:50 +00:00
ekaterina.itsenko
bcc12d1fca
[pycharm] PY-71967 Small refactoring
...
GitOrigin-RevId: eb13721f96abe22b48d881adb18d5200b0a12185
2024-07-19 11:21:20 +00:00
ekaterina.itsenko
7c6184150a
[PyCharm] PY-65143 Scientific View (fix): Fix refactoring
...
GitOrigin-RevId: f1d97ee95bfa3c2c820a7f892484fd2a5c7c050a
2024-07-18 23:32:12 +00:00
Ilya.Kazakevich
76865ffa15
Pycharm: next iteration on not to hide errors rally.
...
No need to return null: throwing exception in case of severe unexpected error is also ok.
GitOrigin-RevId: f8dde3f6d95c08abd97143a5ce3dc9b6eee33e54
2024-07-18 23:23:27 +00:00
Ilya.Kazakevich
4a3cedead6
Pycharm: sdk combobox might be null on the process of local interpreter addition.
...
GitOrigin-RevId: 9250b202e2142811fdaec174c97e99c7b8d7aa4e
2024-07-18 23:06:34 +00:00
lada.gagina
0cd4aae5f5
[python] packaging: add a quickfix to install all missing packages in a file (PY-71152)
...
GitOrigin-RevId: 6d87758b7551df057160cfb12420064baae13b21
2024-07-18 20:53:48 +00:00
lada.gagina
19cf766f45
[python] requirements.txt: add a confirmation window for installing several packages (PY-71152)
...
GitOrigin-RevId: f6af85f16fa69280f56ac58c681e7c755a999cdf
2024-07-18 20:53:44 +00:00
Ilya.Kazakevich
ac673868e5
One more iteration to replace null with Result not to suppress errors.
...
Lots of code returns `null` without any reason. This ill pattern covers errors effectively making it impossible to find the root cause of any problem.
We replace `null` with `Result` to log and report errors.
Merge-request: IJ-MR-139850
Merged-by: Ilya Kazakevich <ilya.kazakevich@jetbrains.com >
GitOrigin-RevId: 7cbb173f672a44a98f24e89e247428ab6e8ca01d
2024-07-18 16:07:28 +00:00
Pavel Karateev
24b3d0a97f
Explicitly declare the list of default packages
...
GitOrigin-RevId: 8a6a1dd639ea2424b11c0750c560ade9c153b2c4
2024-07-18 15:52:06 +00:00
Ilya.Kazakevich
a5f7d4a772
Add venv to PyCharm tests to test projection creation
...
We need venv becsause PyCharm uses it to create a new project
GitOrigin-RevId: ceba92669d785e1bb2240fc34d364bb4174a818b
2024-07-18 15:52:06 +00:00
Ilya.Kazakevich
8d1eb81886
Remove EOL pythons from gradle script for PyCharm
...
GitOrigin-RevId: 577f0ee87ed0d5a0e23354ddb4bc056372c92422
2024-07-18 15:52:05 +00:00
Bogdan.Kirilenko
a6ed117460
[PyCharm] PY-35897 python scientific mode - ctrl+enter does not move the caret, shift+enter moves caret to the next cell
...
GitOrigin-RevId: c16f3d549b49284e709203548fe598c6cf2f639f
2024-07-18 14:20:43 +00:00
Egor.Eliseev
54d9f0dbbf
PY-54972 "Rerun failed tests" does not work with Targets API
...
Change Django tests names splitter from "::" to "."
Merge-request: IJ-MR-140288
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com >
GitOrigin-RevId: ec6b4cf31c2fe830a9f091810fb0248d3747ac2b
2024-07-18 14:18:45 +00:00
Nikita Pavlenko
0c71253275
[PyCharm] PY-72273 DataView (feat): Removed unwanted border around table and toolbar.
...
GitOrigin-RevId: 033e445606bbd7072619d42d0344a2c7ddeb705d
2024-07-17 17:52:46 +00:00
chbndrhnns
c274285cae
PY-66043: Resolve module references in PYTEST_PLUGINS
...
close #2814
Merge-request: IJ-MR-140174
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com >
GitOrigin-RevId: 4a7d46178ceedc283345980f118fbe607d84e685
2024-07-17 15:38:34 +00:00
Vladimir Koshelev
68f82c0a1c
[pycharm] get rid of PyBoundFunction
...
GitOrigin-RevId: f851c339dcf9f3e8e6ff9e3554451279bdcefea4
2024-07-17 14:21:09 +00:00
Daniil Kalinin
e9a6246df3
PY-72185 Implement incremental parsing for PSI leaves for Python
...
Merge-request: IJ-MR-138193
Merged-by: Daniil Kalinin <Daniil.Kalinin@jetbrains.com >
GitOrigin-RevId: 7d004677a5b7a4637ea956f13ed85abc0d88604e
2024-07-17 12:15:36 +00:00
ekaterina.itsenko
fdb0da5997
[PyCharm] PY-73919 Scientific View(fix): Fix "view as" -- action
...
GitOrigin-RevId: 5382c820fab1bc703ea96cca68c1a5120ed84cc2
2024-07-16 20:58:28 +00:00
Yann Cébron
6e1285e760
plugin descriptors: remove obsolete suppression comments for 'PluginXmlValidity' inspection
...
GitOrigin-RevId: 25a17cf82be4c35d4e12472e392aea15b55ea105
2024-07-16 18:55:00 +00:00
ekaterina.itsenko
85e207094b
[PyCharm] PY-73914 Scientific View(fix): Fix issues
...
GitOrigin-RevId: 5e9eb49cfa8b29edeab058f032c57bea8bbef0a8
2024-07-16 17:46:37 +00:00
Vladimir Koshelev
1aaaf77781
[pycharm] restrict analysis in order to improve completion performance
...
GitOrigin-RevId: 1c2427d1dbb07d88672347311ec5d6f362881847
2024-07-16 14:55:52 +00:00
Natalia.Murycheva
51749309f5
[PyCharm Tables] PY-73557 np.array incorrectly displays like "np.float64()" in the oldTable #PY-73557 Fixed
...
* fixed the repr function logic when it's needed to display a value for one cell in a table
GitOrigin-RevId: b6fbd5473b9cd9e9cfe702bfc4ec874ed58eaea6
2024-07-16 00:15:29 +00:00
Natalia.Murycheva
abbd34a6f1
[PyCharm Tables] PY-73133 got rid of the get_head method as for numpy it's redundant
...
GitOrigin-RevId: 22fab8f67db57c0306fcf44783bdc16e109c40b0
2024-07-16 00:15:24 +00:00
Ilya.Kazakevich
fa524aa80a
Python JUnit5 tests: move all tests to junit5Tests because TestApplication doesn't support TestSuite (yet).
...
See `package-info.java` for the layour info.
GitOrigin-RevId: b1e00b8aec41042282405b5ee2e96fb8b09017a4
2024-07-15 21:33:23 +00:00
Vladimir Koshelev
82e8947e95
[pycharm] move type guards from control flow to PyDefUse stage
...
GitOrigin-RevId: e66971e619978ad179bb49a15820a7482b27df7c
2024-07-15 18:43:02 +00:00
lada.gagina
1f45d7cc72
[python] packaging toolwindow: add context menu items to listed packages(PY-72994)
...
GitOrigin-RevId: 9a4717d6835b75288cb550518ed36a6b80e0413f
2024-07-15 11:57:34 +00:00
Bart van Helvert
40585d1a25
[mod-command] Change modal progress bar to NBRA when computing chooser presentation
...
#IJPL-158175
GitOrigin-RevId: 0681313cfeeb3df0c6dbb2bf5194e392c96fa714
2024-07-15 02:34:03 +00:00
Vladimir Krivosheev
61cc661834
IJPL-158075 mark unsafe SingleAlarm constructor as Deprecated
...
GitOrigin-RevId: dd7d7398fecd6241db6c93183df421466ff97f91
2024-07-13 08:45:37 +00:00
Ilya Muradyan
0f2ceb1d0a
PY-64586, PY-73739, PY-73825: Move jupyter support for python to the Python plugin and DataSpell plugin instead of creating dedicated plugin
...
GitOrigin-RevId: 7d7ef5dc7285bfdc797e1d763254f854ab66b78c
2024-07-12 21:36:25 +00:00
Ilya.Kazakevich
c3f31ae2df
Add test that creates python SDK
...
GitOrigin-RevId: c2638e97ce4d9177c2209dd3bd468093ba48b0c2
2024-07-12 19:18:13 +00:00
Ilya.Kazakevich
4e9344ce5d
JUnit5 extension for Python env tests.
...
We now have machinery to find python environments created by
a Gradle script.
This patch adds JUnit5 extension along with an annotation to use it.
See `com.jetbrains.python.junit5.env.showCase`
GitOrigin-RevId: 287608104ec3f2c43c44906f15a06aa86a6f1bd4
2024-07-12 19:18:13 +00:00
Ilya.Kazakevich
6c7ce9ade4
Refactor setupSdk not to catch errors.
...
Errors have to be processed by caller, not by logging nor swing messages in a function itself.
GitOrigin-RevId: b617810835f41c6874c776a2a5762d7402123336
2024-07-12 19:18:13 +00:00
Pavel Karateev
8f2402e698
PY-57769 Fix the wrong command to install pydevd-pycharm
...
(cherry picked from commit 839e4aac1d72dcf2c57af66b69a06268cff19050)
IJ-MR-139749
GitOrigin-RevId: 7eecd813750d4e014ec691d764fe31eaa0c0d564
2024-07-12 14:25:11 +00:00
Ilya.Kazakevich
9bb8be9506
Logging added to track down PY-71409
...
GitOrigin-RevId: 6e491d9c80618be940a64133c85c20dd8ca967ab
2024-07-11 22:42:11 +00:00
Mikhail Golubev
8eb96b314a
[python] Delegate to visitPySequenceExpression when visiting PySetLiteralExpression
...
GitOrigin-RevId: be032f963dccd6ebc062517047c5a1c962b31ec6
2024-07-11 19:46:02 +00:00
Natalia.Murycheva
bf711c1d91
[PyCharm Tables] (fus, "python.dataview") fixed review remarks
...
GitOrigin-RevId: 48da962da524ccd1b1772428851cdf87d316e8d9
2024-07-11 12:02:21 +00:00
ekaterina.itsenko
13be10f91f
[PyCharm] PY-72811 Scientific View (fix): Fix bug in GeoDataFrame table view
...
GitOrigin-RevId: e38102212edbd2add3b4899dda634764d251b3a0
2024-07-10 23:22:25 +00:00
ekaterina.itsenko
0b6b757d0e
[PyCharm] PY-65143 Scientific View (fix): Fix tables displaying in old pandas versions
...
GitOrigin-RevId: 863db71d3ab01c250ca1c0ab59101400c40d3f8a
2024-07-10 22:32:48 +00:00