84 Commits

Author SHA1 Message Date
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
Anton Bragin
9cfbe1372e DS-4799 Slice parameters are passed to pydevd
GitOrigin-RevId: 3350225dabdec45c5696bc6cfd445e273e68f1bd
2023-05-09 22:47:39 +00:00
Egor Eliseev
6d6205dfb0 PY-49991 Load elements for groups on demand
Load Special Variables and Return Values groups only on demand

IJ-CR-20988

GitOrigin-RevId: 7c4fef6c7f3a77e01b8e3f31782440265a08823b
2022-06-28 13:51:06 +00:00
Andrey Lisin
c210c28ab5 PY-49453 Replace the rest of deprecated methods in debugger
(cherry picked from commit f6f7f0ffed6cd2d51410e9fe07267f813b4c4ff1)

IJ-MR-22034

GitOrigin-RevId: eff02449dcab685184cb9c7d4e86fb9766fb5196
2022-05-24 13:07:16 +00:00
Elizaveta Shashkova
b1e8fc9ecb PY-21984 Type Renderers fixes
GitOrigin-RevId: 5911d95d52d994ac4f3e8c514b28f1008b0047e6
2022-02-21 15:44:09 +00:00
Elizaveta Sidorova
260d4cbd0b PY-21984 Support Type Renderers for Python
GitOrigin-RevId: e8413ebb22667882f7fb9befc006f8ce676ca7b1
2022-02-21 15:44:08 +00:00
Elizaveta Shashkova
835392853b DS-2323 In and Out counters do not match
Patch stdout only after the greeting message is printed, so we can properly detetct console type and update counters in UI

GitOrigin-RevId: 83139d340334b5a85e9b34c4526e8aaa159da321
2021-12-01 15:26:38 +00:00
Egor Eliseev
928032de8c PY-31820 Execution queue in Python Console
Add execution queue to Python Console

GitOrigin-RevId: 5b007c72720e2e3dd2c1edf6ca499cfe2c8967cd
2021-09-30 11:50:53 +00:00
Elizaveta Shashkova
c0cb4e3973 IJ-CR-10044 PY-49021 Support interrupt in Python and Debug Console (including waiting for input case)
GitOrigin-RevId: 9eed8bb57194f3c698d2175de7d25d281444a14d
2021-06-17 16:46:41 +00:00
Elizaveta Shashkova
f52408e27f DS-1268 Unified table interface
GitOrigin-RevId: 56bb2a1b4429eaf20b817d0f56b7637bbb8f4453
2021-04-19 11:49:21 +03:00
Elizaveta Shashkova
729f4f5982 PY-30650 Revert frame caching in Python Console
Frame caching revealed several concurrency issues, both on Java and Python side. Implement proper frame caching later

GitOrigin-RevId: 7f0affb4891005e6a6500478c8cdb05df1bb406b
2020-10-21 12:39:58 +00:00
Elizaveta Shashkova
8cfe5a0921 PY-30650 Add frame caching for Python Console
Add frame caching, because platform UI loads Variables View twice for the same command. Also fix corresponding issues: 1. Updating & reading variables values from different threads on Python side should be synchronised 2. Report loaded async values to all value nodes, not only to the last one

GitOrigin-RevId: 3b67282fc3afe1cbdd175edd6d5f34a59ef493af
2020-10-16 14:34:08 +00:00
Nikolay.Smirnov
13ed09e835 PY-41521 Powerful Data Viewer
Signed-off-by: Elizaveta Shashkova <elizaveta.shashkova@jetbrains.com>

GitOrigin-RevId: ae43b5f0e5261839615c83053147000aa693028d
2020-09-04 10:32:57 +00:00
Elizaveta Shashkova
b1936886a0 IDEA-CR-63337: PY-40019 Make Console commands execution visible for users and properly report exceptions from Python side inside IDE
GitOrigin-RevId: 9bdcff1fc822dea47d6e23192920dec5c452cd04
2020-06-08 22:06:45 +03:00
Andrey Lisin
895e3b3c72 IDEA-CR-60140: PY-39809 Don't truncate long lines in Python console view
(cherry picked from commit 79b03395640ff51ce279d548278e1b149cb995a7)

GitOrigin-RevId: 36b22d572539d78dfe36ea881200be42a79e6220
2020-03-17 20:53:55 +00:00
Elizaveta Shashkova
26ecad60eb IDEA-CR-58711: PY-38658 Breakpoints don't work if a module is named protocol.py
Do not add protocol.py to ignored files during automatic generation

Signed-off-by: Elizaveta Shashkova <Elizaveta.Shashkova@jetbrains.com>

GitOrigin-RevId: a2075419ea118ac66a2061ebeb8d2e15198e645a
2020-02-25 09:05:49 +00:00
Elizaveta Shashkova
25785c3200 IDEA-CR-54438: PY-38760 Define a separate exception type for sending completion errors to IDE side
Also fixes EA-214990

GitOrigin-RevId: 8ff2ce9d6ffcf893447893d6c8d9e1ae780cc804
2019-11-07 02:40:58 +00:00
Elizaveta Shashkova
06eb532762 IDEA-CR-51224: PY-37204 Remove accidentally added code from pydev_console_utils, because it's already exists in pydev_code_executor
GitOrigin-RevId: d8604efa46ecbe3529d1b22b3bb528a2a11c9990
2019-08-16 17:02:49 +03:00
Vladimir Lagunov
62f6c087c7 IDEA-CR-48777: PY-34633 Python docker-compose, code review: repair pydev connection to localhost on Windows
(cherry picked from commit 229fa115b18861c45bcb92169d9092ca97490a16)

GitOrigin-RevId: 22c0c59e60c463e0aa3dd3e1e702537bb16c2d18
2019-07-04 09:02:24 +03:00
Vladimir Lagunov
c9260bd5be IDEA-CR-48777: PY-34633 Python docker-compose: support debugger for Python Console and Docker for Mac
(cherry picked from commit 12640e452f8a17fe63ae9adf4fd31620ebba80a6)

GitOrigin-RevId: 3002704426b9e086f5939d8b0c9ff7d22e234edb
2019-07-04 09:02:24 +03:00
Rustam Vishnyakov
123242c4b2 EditorConfig documentation test
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
2019-06-16 04:03:21 +03:00
Egor Zhdan
c1813cfb52 Cleanup: NotNull/Nullable
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-16 04:02:08 +03:00
Anna Kozlova
91f7445298 constructor reference: don't ignore constructor parameters during method reference inference (IDEA-185578)
GitOrigin-RevId: e836468e05db28157713e9edd3c70382f8ecdebc
2019-06-13 03:15:49 +03:00
Egor Zhdan
39d2d77155 Cleanup: NotNull/Nullable
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-13 03:14:35 +03:00
Julia Beliaeva
3fee046d20 [vcs-log] cleanup RootCellRenderer
GitOrigin-RevId: bba216626193ac756cd133b8ae9bc4e577abea42
2019-06-10 04:10:14 +03:00
Eldar Abusalimov
dcaeb8f8c7 OC-4061: ApplicationUtil: Make runWithCheckCanceled() return result
GitOrigin-RevId: 3aa9f23cc5097e644eddf82a4faca669759b4760
2019-06-10 04:09:35 +03:00
Elizaveta Shashkova
1530f7d6d9 PyDev: Fix issue where frame eval broke with generators. Fixes #130.
GitOrigin-RevId: e79e1b858c9bc545af96bb055950b59f7f8136ba
2019-06-07 18:17:18 +03:00
Elizaveta Shashkova
846ac82c42 PyDev: Re-enable frame eval mode in the debugger. ptvsd:768
GitOrigin-RevId: 95f9b011f580edc3ada13c45844dfb76f7782778
2019-06-07 18:04:01 +03:00
Elizaveta Shashkova
01720ee06b PY-31575 Moved pydevd_tracing to be consistent with PyDev.Debugger
GitOrigin-RevId: f9ac797fabd83605de6088d931664fc419069084
2019-06-07 17:58:23 +03:00
Elizaveta Shashkova
cf7e7d96b8 PyDev: Fix issue where 'console_main' was unset on a racing condition.
GitOrigin-RevId: f553a1015589d43dfb17c1a4c45b31b01a16c75d
2019-06-07 17:40:03 +03:00
Elizaveta Shashkova
c34146bd34 PY-31650 Do not override original module when saving __main__ 2018-10-30 15:44:36 +03:00
Elizaveta Shashkova
e01c84d4a5 PY-31650 Attach debugger from Python Console fails 2018-10-29 17:52:57 +03:00
Alexander Koshevoy
afe529a1f8 Make PyDev debugger independent from Thriftpy library
- Extract `get_ipython_hidden_vars()` and `console_exec()` methods from pydevconsole.py to pydev_console_integration.py.
- Make `DebugConsole` derive from `BaseCodeExecutor`.
2018-09-04 12:02:28 +03:00
Alexander Koshevoy
25248e839a Remove dependency on pydevd_thrift from pydevd_comm.py
Move ThriftAbstractGetValueAsyncThread and ThriftGetValueAsyncThreadConsole from pydevd_comm.py to pydev_console_commands.py.
2018-09-04 12:02:28 +03:00
Alexander Koshevoy
a62968901b Extract CodeFragment PyDev class to pydev_console_types.py 2018-09-04 12:02:28 +03:00
Alexander Koshevoy
0dfa56eee4 Extract StdIn PyDev classes of to pydev_stdin.py 2018-09-04 12:02:28 +03:00
Alexander Koshevoy
b6235504f3 PY-18029 Remove irrelevant comments 2018-08-22 23:16:40 +03:00
Alexander Koshevoy
82457d6510 PY-18029 Rename thrift_communication to protocol and explicitly name protocol entities there 2018-08-22 23:16:40 +03:00
Alexander Koshevoy
0dc7fca983 PY-18029 Fix completion for IPython console 2018-08-22 23:16:40 +03:00
Alexander Koshevoy
0212297426 PY-18029 Move methods for building Python console protocol structures from pydevd_vars to pydevd_thrift 2018-08-22 23:16:40 +03:00
Alexander Koshevoy
7dba25bb00 PY-18029 Remove obsolete todos and commented-out code from .py files 2018-08-22 23:16:40 +03:00
Alexander Koshevoy
0cf8352574 PY-18029 Fix-up for initial pydev console changes 2018-08-22 23:16:40 +03:00
Alexander Koshevoy
9b99c525da PY-18029 do_get_completions() method added to BaseInterpreterInterface 2018-08-22 23:16:40 +03:00
Alexander Koshevoy
5cf8ece2cb PY-18029 Fix-up for initial pydev console changes 2018-08-22 23:16:40 +03:00
Alexander Koshevoy
d4c1dc28f3 PY-18029 Fix-up for initial pydev console changes 2018-08-22 23:16:40 +03:00
Alexander Koshevoy
010e0e8d51 PY-18029 Python console Thrift communication implemented on Python side
A fix-up required for Python console tests!
2018-08-22 23:16:40 +03:00
Alexander Koshevoy
f39e7ddeca PY-18029 Fix-up to use ThriftGetValueAsyncThreadConsole 2018-08-22 23:16:40 +03:00
Alexander Koshevoy
0231afbf64 PY-18029 Thrift on PyCharm helpers side under construction 2018-08-22 23:16:40 +03:00
Elizaveta Shashkova
c25e0b5778 Disable IPython completion for speed (PY-30222) and correct types showing (PY-30611)
IPython completion works very slow in some cases and becomes useless. It's better to make completion less detailed, but
2018-07-17 12:51:13 +03:00
Elizaveta Shashkova
80f8cf2cef Attach debugger to Console shows Cython extensions warning (PY-28698)
Update sys.path value to make extension's folder available during import
2018-04-03 12:58:25 +03:00