Commit Graph

513 Commits

Author SHA1 Message Date
Aleksandr Sorotskii
5f4980f553 bump reconnect params for debugger; PY-76400
(cherry picked from commit 9e4ea9e5832773fc78132d0ab40c9a9b879e84d0)

IJ-MR-149055

GitOrigin-RevId: 9ab5e2dc15c3168548a4fc1c8ac7a651668255c4
2024-11-11 19:15:06 +00:00
Aleksandr Sorotskii
1087c97645 Make debugger connection params customizable via registry; PY-76400
Merge-request: IJ-MR-148080
Merged-by: Aleksandr Sorotskii <aleksandr.sorotskii@jetbrains.com>

(cherry picked from commit 1ce2a48aebf3336199b12a79879f61af9e2bac7e)

IJ-MR-148080

GitOrigin-RevId: b443e0289420e4f208bc6d80c2c8f2e82a515a60
2024-10-30 15:46:30 +00:00
ekaterina.itsenko
2b3832d5a9 [pycharm] PY-72208 Tables(Jupyter, SciView): Add registry, refactoring
GitOrigin-RevId: 937c9127a008028ad63f0f2d04b14bf972dbcab0
2024-10-02 19:17:45 +00:00
Andrey Lisin
e85873223b IJ-CR-143143 Fixes after review
GitOrigin-RevId: e92672f9954e57a3115eca978d3589600ce072be
2024-09-29 20:09:16 +00:00
Ilya.Kazakevich
fe54db7b3c Python: Remove unused symbols
GitOrigin-RevId: ec2bd2dda3f215a6c318afa70adbccc8627bd586
2024-09-19 17:47:20 +00:00
Andrey Lisin
b1e1776977 Cleanup: make execute methods final; refine generic types
GitOrigin-RevId: 233b6084d227e4c5c84997058a9a6f5ddf47ec2d
2024-09-19 12:03:19 +00:00
Andrey Lisin
128109aa98 PY-73432 Refactoring: generalize type parameter
GitOrigin-RevId: a0e6af2cba15f20c01f307f0873b97b79a105136
2024-09-03 14:18:56 +00:00
Andrey Lisin
7f498ca2c8 PY-75515 Refactoring: move duplicated code to inner class
GitOrigin-RevId: b27150a87929cfdd271d8d6b4fd017d39df1dd61
2024-09-02 09:12:35 +00:00
Andrey Lisin
c5695b1efe PY-73432 Delete RecurrentTaskExecutor class and its tests due to deprecation
GitOrigin-RevId: 86dbdbefbb784a0f2d54ede8a5c244a19e944ac0
2024-08-29 12:13:31 +00:00
Andrey Lisin
27ae684901 PY-75515 Fix connection logic to debugger when IDE acts as debugger client
Implemented a retry mechanism to address situations where the debugger server socket may not be instantly available. Replaced `ScheduledExecutorService` with a single-thread executor for task execution in `ClientModeMultiProcessDebugger`, thereby reducing unnecessary "Connection to Python debugger failed" error messages.

GitOrigin-RevId: 2ea542680605ea960d0c94f421761c69a722f4d2
2024-08-28 16:05:01 +00:00
Andrey Lisin
ee07968f60 PY-73432 Deprecate RecurrentTaskExecutor and replace it with ScheduledExecutor
GitOrigin-RevId: b9641e844427b973f36d32a9aaa1bb93a552dc96
2024-08-27 14:44:28 +00:00
Natalia.Murycheva
fcec56d275 [PyCharm Tables] PY-65513 fixed NPE for format
GitOrigin-RevId: dc1f96177d8c230bb90474bbe818a9d75a3558fc
2024-08-13 14:32:03 +00:00
Natalia.Murycheva
6efdf9aa56 [PyCharm Tables] PY-65513 added Python-based formatting for tables in Data View
* supported formatting for float values
* polars is not supported at this moment

GitOrigin-RevId: cbca954fab3a2c08120eae746f34d47bc45550f5
2024-08-06 21:02:32 +00:00
ekaterina.itsenko
5a5671d785 [pycharm] PY-48714 PY-70538 PY-73919 Fix error in debug mode
GitOrigin-RevId: 1d4932b22a574c4b9f6fce3df180986e4f9c08ec
2024-07-23 13:20:27 +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
ekaterina.itsenko
2fc8ea1630 [pycharm] PY-71967 Add impl (except sorting in outputs -- to fix)
GitOrigin-RevId: ac079eefe71d7b32daa5e95eaef9c986ab842294
2024-06-24 20:29:15 +00:00
Natalia.Murycheva
238ebb61de PY-72210 DataView: improve speed of get_value_occurrences_count
1. Split additional computation for statistics and computation for visualizations
2. Computation for visualization is now called only by request

GitOrigin-RevId: d872fbd9ed5732633814228713acc734ee2043e5
2024-06-14 23:47:08 +00:00
ekaterina.itsenko
1693fd94b9 [pycharm] PY-38294 Add Sparse tensors support
GitOrigin-RevId: 0b9b046ae1da37b5fd34be800fbdd6f241f7514d
2024-06-11 14:59:03 +00:00
Ilya Muradyan
233d17a1df KTNB-235, PY-64586: Refactor DSTableCommandExecutor, remove dependencies on pydev that no more needed
GitOrigin-RevId: b53d3669841e36c8bf3bd092ceaa3e8de6e5b9ea
2024-06-07 18:55:29 +00:00
ekaterina.itsenko
07668b70e3 [pycharm] PY-40977 Fixes in expression building: NestedOrderedDict case
GitOrigin-RevId: 3cd93d74ab5b98063034e646a021350033308da4
2024-06-07 04:29:28 +00:00
Nikita Pavlenko
3f6407f38f [pycharm] DataView (fix): Moved invasive module intellij.notebooks.tables to a proper place. Dependencies cleanup. #CPP-38829 Fixed
GitOrigin-RevId: 2b9226d765d8242d3eb37248b9542145a632f8c5
2024-05-21 17:43:23 +00:00
Ilya Muradyan
36ec2d65b0 KTNB-235, PY-64586: Split intellij.python.jupyter.tables and intellij.python.pydev
GitOrigin-RevId: e417ef93a7ad78672df99631f3053fe36b8c681b
2024-05-12 11:15:23 +00:00
ekaterina.itsenko
650c59819e [pycharm] PY-38294 Scientific view(task): "View as array" functionality for tensors
GitOrigin-RevId: 2320c5904609b2357dd860786ac7b89b96b3878c
2024-04-24 11:57:26 +00:00
Olga.Lavrichenko
e432babe94 DS-6303 Code completion for DataFrame in the SQL cell
GitOrigin-RevId: e792016f4ce36a85cd3ef412c23477678bd46037
2024-03-18 12:43:40 +00:00
Andrey Lisin
7e9baa6bc8 Cleanup
GitOrigin-RevId: 898715b95257e98717295b93acd16c3d31496c35
2024-02-26 13:59:39 +00:00
Dmitriy.Panov
98ef76e4f2 missing src folder for intellij.python.pydev module
GitOrigin-RevId: ffc9d3003c591dbc507098dec467ee7918ad8d16
2024-02-24 16:34:10 +00:00
Andrey Cherkasov
1a62d88764 Cleanup: use light services
^IDEA-254577

GitOrigin-RevId: 01afb3f2166f8713cd4599f37d43ecf7f4d2944c
2024-01-23 06:03:51 +00:00
Nikita Pavlenko
3a5afcd87b [python] PY-64553 DataView code style fixes.
GitOrigin-RevId: 10f6e810847a29d49423644f010f0a2f1dad386b
2024-01-11 16:28:15 +00:00
Andrey Lisin
a84a3780ea Cleanup: generalize generic type parameter
GitOrigin-RevId: 17bccaf59b56e48598c2a8410fd786770eb3dadf
2024-01-09 16:27:49 +00:00
Andrey Lisin
d7cf8af224 Minor cleanup
GitOrigin-RevId: 55807d3023b39b879966046ceba201aa270ff98c
2024-01-09 16:18:35 +00:00
Andrey Lisin
6ee09adb6e PY-65353 Make sure debugger stops on breakpoints in every subprocess
GitOrigin-RevId: 908ef552d42f569471410a8c24bcc05a9e571946
2024-01-09 15:00:55 +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
Andrey Lisin
76307b27f5 Cleanup: unused constructor
GitOrigin-RevId: ad0967a2ed14bbdbbdd93d9e3a8255c7192d9d1c
2023-12-13 17:49:07 +00:00
Andrey Lisin
e45d6031b5 EA-985378 NPE: PySmartStepIntoHandler.findVariants
GitOrigin-RevId: feac8a755036a24f1e11acc1ce2a795c09d4ee1b
2023-12-12 16:28:38 +00:00
Anton Bragin
847d836c5b DS-2556 Data frame opening from variable view and debugger fixed
GitOrigin-RevId: 177640267ce23debe471beab1a3eeb090ad460d4
2023-09-19 22:04:19 +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
Georgii Zorabov
9fd1a47707 [DS-5285] implemented statistic tooltip for tables in console
[DS-5285] made get_value_counts in polars return empty string instead of None

[DS-5285] implemented statistic tooltip for tables in console


Merge-request: IJ-MR-112213
Merged-by: Georgii Zorabov <georgii.zorabov@jetbrains.com>

GitOrigin-RevId: 2099a4b284d2c8d7163238abee78b6ef409fe89a
2023-07-31 12:46:56 +00:00
Anton Bragin
038cb97c9d EA-258736 PyDebugValue.computeChildren nullability checks added
GitOrigin-RevId: fb24e41075bff75265dec3b4a8b8068f221dc161
2023-07-12 12:52:06 +00:00
Olga.Lavrichenko
1761aebe4a DS-5113 Removed additional calls in PyConsoleRuntimeEnvService
GitOrigin-RevId: 770f9ae0696b67ba1603e18a6310b3ca15f626a9
2023-06-11 18:14:40 +00:00
Daniel Schmidt
28875fa3fe PY-60107 - remove temporary breakpoints from internal map
Picked from https://github.com/JetBrains/intellij-community/pull/2396

GitOrigin-RevId: 238201ba933486b49b5a80dd90600c1217700dd4
2023-06-06 08:45:40 +00:00
Andrey Vokin
2633af2954 DS-4699 Support Image Preview for CV libraries
Implemented basic image preview request to Jupyter kernel

GitOrigin-RevId: d60e9d72bad7295a3eab1de1f7c113b494b9e38f
2023-05-31 09:53:36 +00:00
Alexey Belkov
4467dc883b Apply Kotlin inspection "Unnecessary type argument" on whole project
GitOrigin-RevId: 70a38b512309685d57bb5eddf2fc5068f14fe481
2023-05-27 14:22:18 +00:00
Alexey Belkov
1d790f1992 Apply "Java methods should be replaced with Kotlin analog" inspection on whole project
GitOrigin-RevId: 35d07247cdf7742957dde59bbb8d6408754a9c4e
2023-05-26 09:44:56 +00:00
Alexey Belkov
a6521777bf Revert "Apply "Java methods should be replaced with Kotlin analog" inspection on whole project"
This reverts commit 9863c1e3

GitOrigin-RevId: 7fe730efd4ffe4fef76fe6f36c3e53b496067855
2023-05-25 07:09:00 +00:00
Alexey Belkov
ebe914e465 Apply "Java methods should be replaced with Kotlin analog" inspection on whole project
GitOrigin-RevId: 9863c1e384067b97b5015147589e409facd37549
2023-05-24 16:04:31 +00:00
Anton Bragin
c716176147 DS-4799 Table viewing in debugger fixed
GitOrigin-RevId: e0d6feef52fab7294f987329bc3b89f3ac6b1532
2023-05-09 22:47:39 +00:00
Anton Bragin
9cfbe1372e DS-4799 Slice parameters are passed to pydevd
GitOrigin-RevId: 3350225dabdec45c5696bc6cfd445e273e68f1bd
2023-05-09 22:47:39 +00:00
Anton Bragin
b4152bd2df DS-4799 Slice refactoring
Adding parameters to pass to pydev

GitOrigin-RevId: 0ee5427de4b48bae002d1b4ffc07821eccfe8499
2023-05-09 22:47:39 +00:00
Olga.Lavrichenko
17408a0eca DS-4525 DS-4818 DS-3857 DS-4412 DS-4332 DS-4195 DS-4218 Created PyConsoleRuntimeService + added completion from runtime state in python script / python console / jupyter notebook
GitOrigin-RevId: c994bbedd0e735681a2cc8d071fb00cab328c404
2023-03-31 12:30:40 +00:00