Commit Graph

319 Commits

Author SHA1 Message Date
Bogdan Kirilenko
72a7ea91f7 [jupyter] PY-66455 improved toolbar disappearance logic
GitOrigin-RevId: 7410c1146e7fbdc674d95523185ea348a9880afc
2024-03-09 12:53:29 +01:00
Anton Efimchuk
553dbbb8c9 PY-65441 Add collapsible headings
Merge-request: IJ-MR-127833
Merged-by: Anton Efimchuk <Anton.Efimchuk@jetbrains.com>

GitOrigin-RevId: 53f42a84870daac98a3782c4c799cf797a0d777b
2024-03-08 16:59:04 +00:00
Igor Slobodskov
89f67cb249 [DS-4896] add special NonIncrementalCellLinesException
GitOrigin-RevId: d6bdeae2a43a33622f0ad85c05acd601d10822f5
2024-03-08 13:45:53 +00:00
Bogdan Kirilenko
2655a762cb [jupyter] PY-66455 fix inserted cell position + fix merge conflict
GitOrigin-RevId: 81bb0b43f521d8d538c280b90f038a2bbd5ca043
2024-03-08 01:22:03 +00:00
Nikita Pavlenko
a4626e0c40 [python] PY-66455 Jupyter: Fixed speciality with overpainted area of new cell toolbars.
GitOrigin-RevId: f53e5f7e97e53fbc45a7c1ab661d72dd8935c666
2024-03-07 15:59:28 +00:00
Vladimir Kharitonov
6a26cd0e03 fix deprecation JBCefJSQuery#create warning
GitOrigin-RevId: 2ab8a2f02a8b1734adca17e4bf5dbfa7eafbcd45
2024-03-04 17:36:37 +00:00
Bogdan Kirilenko
cb46400155 [jupyter] PY-66455 Updated Add Code Cell/Add Markdown Cell button WIP
GitOrigin-RevId: e7247e189dedbc0380b7d7714f6cb79f6d313826
2024-03-03 22:13:49 +00:00
Nikita Pavlenko
ee031b8277 [python] Jupyter (refactor): isOpaque moved to init, unnecessary updateUI removed.
GitOrigin-RevId: 11f87daebc4c960f6800ab6527b1f2e68e5c00e3
2024-03-01 19:42:14 +00:00
Nikita Pavlenko
e14ea09802 [python] Jupyter: StubComponent for CollapsingComponent will be created when it was needed. #PY-70765 Fixed
GitOrigin-RevId: 4f44fb827182156e34fd8ac944acaa133ed5aebb
2024-02-27 19:53:51 +00:00
Nikita Pavlenko
ac21f87bf9 [python] Jupyter (refactor): Unused icons removed, icons class placed in "gen" folder.
GitOrigin-RevId: 50cd247ae2421ee7db6222c6d627211eab15d5fe
2024-02-27 10:32:48 +00:00
Igor Slobodskov
3235bf4d32 [DS-6282] add workaround for Python Console without interval pointers
GitOrigin-RevId: 9f2a8972a83a718c8a6c29dd89eefb4e613eaf91
2024-02-26 21:43:21 +00:00
Anton Efimchuk
f142c54741 PY-65441 Add support for folding of multiple cells. Add support for actions in gutter for cells.
GitOrigin-RevId: 9539d454e79d49040f71c57d3dec1f18457d2878
2024-02-26 14:59:04 +00:00
Anton Efimchuk
5eb09e47b4 PY-65441 Fix text outputs render
GitOrigin-RevId: f3691b3fc3a64b2828536f7823bba4f1629b910b
2024-02-22 09:32:00 +00:00
Anton Efimchuk
b30ac18caa PY-65441 Expand/Collapse jupyter code/markdown cells
Merge-request: IJ-MR-126097
Merged-by: Anton Efimchuk <Anton.Efimchuk@jetbrains.com>

GitOrigin-RevId: 04b7b1b9745fbe7da922cda2060416e3d457be1c
2024-02-21 21:43:15 +00:00
Nikita Ashihmin
7b0e6b6743 [pycharm] PY-70617 Jupyter(refactor): Move classes from 1 file to separate to improve reading. No other things
GitOrigin-RevId: c4269c0baeebcdc5dd11f6bc0602cfed1f7fc940
2024-02-21 14:45:35 +00:00
Andrey Vokin
1817160e36 [R] Fix "Companion objects in IDE extension implementations may only contain a logger and constants" inspection
GitOrigin-RevId: 1f195432490cf1bf208665609d886698c7c2fe7b
2024-02-20 17:48:49 +00:00
Arkady.Bazhanov
1937bdef3c Initial support for JSON highlighting in cell outputs
Part of KTNB-321

GitOrigin-RevId: c9dc231432ed8a536f961172877474f532e639a4
2024-02-19 14:07:24 +00:00
Nikita Provotorov
ccdf7659c8 [ds, keyboard input] JBR-3697: disable input methods support for the notebook editor whenever the notebook enters the command mode.
And enable back when it enters the edit mode.

GitOrigin-RevId: b26ce501878a0a410d1730d4bd9f36febce49c24
2024-02-16 12:28:45 +00:00
Bogdan Kirilenko
f3c9ba4647 [jupyter] PY-70471 UI: removed Out counter, In count - [x], attempt to disable sticky lines for notebooks
GitOrigin-RevId: 4eb77a930c4dfaacd849b74ea9c4e8b8f78dc42d
2024-02-13 22:01:40 +00:00
Nikita Pavlenko
bb1d067220 [python] PY-56986, PY-69759 Jupyter: Text and error outputs are now lazy created and do not caused freezes.
GitOrigin-RevId: d7c8b86e5e60fae953193ae01ff73ff073ec9ad4
2024-02-13 17:22:36 +00:00
Nikita Ashihmin
c2f5e3157e [pycharm] PY-66249 Jupyter(fix): Add recalculate for NotebookOutputInlayController
GitOrigin-RevId: 5344c2c3fab9da0b3461a80c69f2c8fa4289121e
2024-02-11 11:12:50 +00:00
Nikolay Egorov
4a8a40e3ed [KTNB] Improvements for plugin services, debug:
- abstract File-Service pattern, migrate plugin services
- modern namings and separate files for debug classes
- separate logic between compiler service and NotebookStructureTrackerService and Debug

GitOrigin-RevId: 9b1add219769758eaecd7428177b72ad86b46c4b
2024-02-05 09:01:01 +00:00
Nikolay Egorov
a9dd6b2aa2 [KTNB] Introduce debug-related logic:
- silent debug session connection logic with a user option for debug port
 - separate class to track compiled classes data with regard to Notebook structure

GitOrigin-RevId: 4665ecf2266f1c59e069dc5ded30afda0390ce49
2024-02-05 09:00:56 +00:00
Nikita Pavlenko
8701358137 [python] PY-63760 Jupyter: Code beautifications and fixed gray rectangles during resize. #PY-61562 Fixed
GitOrigin-RevId: 4402980f7d1f2579ac30608521084ebf2f4d1ccd
2024-01-31 12:42:08 +00:00
Nikita Ashihmin
f7a2d9ee0e [pycharm] PY-51840 When using the tqdm module, the progress bar will not be displayed correctly
GitOrigin-RevId: e29fa43b8d19e2a8a8365a9a945dca2c39b177ff
2024-01-28 11:28:32 +00:00
Nikita Ashihmin
0a15537d70 [pycharm] PY-66053 Jupyter: add statistic
GitOrigin-RevId: 01affd99d082328c16470dc689980a355e33095a
2024-01-15 00:09:38 +00:00
Gregory.Shrago
f39acce4c9 convert DumbAwareActionButton to regular AnAction
GitOrigin-RevId: 58e3216583b3805a97590d7b2f92d21e884453aa
2024-01-09 00:29:31 +00:00
Bogdan Kirilenko
41f7ee9ccd [jupyter] PY-20132 adjusted above and below cell delimiter panels for jupyter diff viewer
GitOrigin-RevId: f6f6af3cd7c5d872b147a27f8f9605b1b6c50874
2023-12-19 13:28:41 +00:00
Bogdan Kirilenko
69b94eb752 [jupyter] PY-20132 temporarily disabled jupyter outputs in the diff viewer
GitOrigin-RevId: ea2e783e1c449712e2f868c08145a8013d0faa14
2023-12-19 13:28:34 +00:00
Bogdan Kirilenko
4a07e7311c [jupyter] PY-20132 excluding some inlays for better UI in the jupyter diff viewer
GitOrigin-RevId: dd9086774280d1efb9fa7171f781b66b2c17c314
2023-12-19 13:28:26 +00:00
Igor Slobodskov
3030aeadb3 [DS-4896] add more ThreadingAssertions.assertWriteAccess() to NotebookIntervalPointerFactoryImpl
GitOrigin-RevId: e3b9cbedc3cd0146b8b77189b3e6e307b32d6913
2023-12-05 20:47:33 +00:00
Nikolay Egorov
c775a70695 KTNB-395: Address uncovered cases:
1. Consider new theme in NotebookEditorColorsListener
2. Listen to "border" property change as a more popular UX-triggered event so that EditorColorsScheme applied properly

GitOrigin-RevId: 3da6d8c95b95c7faace517621454947a0c1c3686
2023-12-05 10:18:33 +00:00
Anton Bragin
267d152614 DS-5949 Sausage button has square edges and uses EditorTabs.background
GitOrigin-RevId: 37716d4be3789ac665051d696c92bd5a51a3734c
2023-11-13 12:35:50 +00:00
Ilya.Kazakevich
1224ab28e1 Notebook inlay: add logging to prevent NPE
GitOrigin-RevId: c59be4b171c45ecfaa27c13e0ec779f4f3ef3c18
2023-11-09 20:15:30 +00:00
Nikolay Egorov
40ab25c0bb DS-5877: Prevent scrolling if output can't fit
(cherry picked from commit 337f5c22e4f2d26d8d760536dae375591b0bd9c4)

IJ-MR-118635

GitOrigin-RevId: 7a21fe3e227174a4bd70d0add7ebf80ce49d8dd2
2023-11-03 20:49:02 +00:00
Nikolay Egorov
3e7d1533ee KTNB-395: Changes for IJ-MR-117926
(cherry picked from commit 6645d9a235e3af5b86a0d0f1dd1990f85068796f)

IJ-MR-117926

GitOrigin-RevId: 2b10ba82e37ee3b932b3409fab562ed9ea569d09
2023-11-03 17:31:11 +00:00
Nikolay Egorov
75eb6655d6 KTNB-395: Adjust cell separators regions colors once theme is changed
(cherry picked from commit 9cab3ad3b4569bf0cfd09e56e15d285ff6937824)

IJ-MR-117926

GitOrigin-RevId: 160a3a3f9ca08413b03d25688901134816ecb469
2023-11-03 17:31:07 +00:00
Vladimir Krivosheev
69fc441f6e IJPL-310 mark extensions as obsolete (part 11)
GitOrigin-RevId: ef915fa2bf11f9fbcdf9ebbf80bc553129314335
2023-10-29 20:09:28 +00:00
Anton Bragin
ab2c3dc188 DS-5867 Cell creation by floating button is logged into FUS
GitOrigin-RevId: 3747b22fe0e37abbab9ac9679f161aa8472cebd7
2023-10-26 18:47:40 +00:00
Tagir Valeev
51854f80b3 "Method can be static" fix massive application
GitOrigin-RevId: ed296b85922a6814d5c6057b5cbc720f0c546e41
2023-10-20 19:12:56 +00:00
Igor Slobodskov
49215543a3 [DS-5557] inherit NotebookIntervalPointerConcurrentMap from CheckedDisposable
Because this class has method isDisposed()

GitOrigin-RevId: 8e13a6df6a42783c5868bd20a2dd754e0755b78f
2023-10-05 22:09:51 +00:00
Igor Slobodskov
f3793d8c67 [DS-5557] refactor code, don't use InlayProgressStatus in Jupyter
JupyterCell.executionStartTime and JupyterCell.executionEndTime are stored directly in JupyterCell.
No need to use JupyterInlayProgressStatusManagerImpl to access this data.
Refactor JupyterInlayProgressStatusManagerImpl and BelowCellInlayController.


Merge-request: IJ-MR-115382
Merged-by: Igor Slobodskov <Igor.Slobodskov@jetbrains.com>

GitOrigin-RevId: 61089e32e0334ebbd6d018e1563551ca4afbe429
2023-09-26 13:24:09 +00:00
Olga.Lavrichenko
2389baa7a9 DS-5574 Moved SQL toolbar to sql module
GitOrigin-RevId: 01c7a5442c2add7462c3f37413a00759664bde98
2023-09-23 18:19:59 +00:00
Olga.Lavrichenko
5c87d55bde DS-5574 Added toolbar with data sources for SQL cell
GitOrigin-RevId: cdf8b65368815879db19058154b487a7116ac0e1
2023-09-23 18:19:59 +00:00
Daniil Ovchinnikov
c973850ddc IJPL-255 replace Application.assertIsDispatchThread -> ThreadingAssertions.assertEventDispatchThread
GitOrigin-RevId: da80a0648ffce76e93f35f72afc93334b21fe9a2
2023-09-22 00:08:26 +00:00
Igor Slobodskov
89dd759681 [DS-5554] move read action up to caller code and wrap whole cycles inside one read
GitOrigin-RevId: a807c4a3d6266d57d0c152932e6c88a16e3dbcab
2023-09-21 19:01:58 +00:00
Anton Bragin
21324be8ac DS-2556 Icon classes regenerated
GitOrigin-RevId: 6ff6d15197cf6ef7193850baeddeb2030766c4b3
2023-09-19 22:04:20 +00:00
Anton Bragin
42036394f9 DS-2556 Jupyter support extracted to a dedicated plugin
GitOrigin-RevId: 3a553c72e16cec31c09638bfcb1fc6425813942d
2023-09-19 22:04:19 +00:00
Anton Bragin
24521d56f2 DS-5554 Caret access is moved under read action to avoid read access exceptions
GitOrigin-RevId: 2a252a71cd6d5deacebb4f7aa7115cb0eab2473c
2023-09-15 11:50:28 +00:00
Bart van Helvert
9cb9954ac3 Fix field may be static
GitOrigin-RevId: 67068e185c1694b3abb418bf4e237e7101fc9f18
2023-09-12 17:27:02 +00:00