Fold/Collapse code in console output (not editor)
I am printing different chunks of data in console for debugging i wonder if there is way to make data fordable (hide/show by clicking button)?
e.g.
print('Foldable Output')
print('fold_start')
print(1)
print(2)
print(3)
print('fold_end')
print('Regular Output')
print(4)
print(5)
print(6)now in console i get and a “-” minus sign next to first chunk of data to be able to fold this section entirely from three lines to just 1 line.
Foldable output
-----
1
2
3
-----
Regular Output
请先登录再写评论。
Unfortunately, folding output is not possible in the current implementation of Python Console. Please create a feature request in the PyCharm branch of YouTrack: https://youtrack.jetbrains.com/issues/PY, and let us know if you need any assistance.