Files
Marcus Mewsandintellij-monorepo-bot 8637e79bf7 PY-76572 Extract method with typehints
- refactor platform expand-all folding action
- introduce platform folding attribute 'keepExpandedOnFirstCollapseAll'
- use 'keepExpandedOnFirstCollapseAll' for Python type annotation regions
- add tests for new PyCharm two-step collapse action
- add tests for legacy PyCharm two-step expand action

GitOrigin-RevId: ad0931b1b64d2ce6dfee52086193f17234fa537e
2025-08-06 14:39:32 +00:00

20 lines
401 B
Python

<fold text='...'># the first line in comment
# the second line
# the third line</fold>
print("")
<fold text='...'># multiline comment starts here
# line in comment
# line in comment
# multiline comment ends here</fold>
print("")
<fold text='...'># one more comment
#
# one more comment
#
#</fold>
def normal_foldable_element_to_ensure_two_step_folding() :<fold text='...'>
pass</fold>