Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
Selecting whole procedure (def line and body) and commenting/uncommenting it works only on unfolded source text. When folded, only def line is commented/uncommented
Steps to Reproduce
Write any python procedure definition (def line and procedure body)
fold it so only def line is visible
comment it - visible line is commented out
unfold it - all body line are still uncommented
opposite situation:
as above
comment all proc unfolded -> all lines (def line and body) are commented out
fold it
uncomment folded proc -> visible def line is uncommented
unfold it -> all body lines are still commented out
Expected behavior:
Comment/uncomment act on all procedure lines if folded, not only on visible line
Prerequisites
Description
Selecting whole procedure (def line and body) and commenting/uncommenting it works only on unfolded source text. When folded, only def line is commented/uncommented
Steps to Reproduce
Expected behavior: Comment/uncomment act on all procedure lines if folded, not only on visible line
Actual behavior: See step to reproduce
Reproduces how often: every time
Versions
Atom : 1.26.0 Electron: 1.7.11 Chrome : 58.0.3029.110 Node : 7.9.0 language-python: 0.49.4
Ubuntu 14.04
Additional Information
None