Squish tip of the week: How to get around folding/collapsing comment lines while editing comments in Python

Squish tip of the week: How to get around folding/collapsing comment lines while editing comments in Python

Lately, there was a support question regarding folding/collapsing comment lines while editing comments in Python.

If one tries to comment tests in Python, the Squish IDE folds or minimizes the comment while writing. In some cases this is unpleasant and time-consuming even if one subsequently clicks the small “+” icon to expand the comment.

We are aware of this “feature” and on the way to enhance this for a more pleasant use. Meanwhile, there is a simple solution for that.

How to disable auto folding/collapsing of comment lines

How to get around folding/collapsing comment lines while editing comments in Python
(Click image to enlarge)

Go to Edit > Preferences > PyDev > Editor > Code Folding, uncheck the “Fold Comments” checkbox.

Related