You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an interesting problem - and I would be happy for any suggestions on any elegant ways to fix it. As far as I can tell, beautifying a document sometimes changes the line numbers of statements in the file. So a folded statement may be moved to a new line when beautified. This means we cannot simply cache the line folds before formatting and then restore them after formatting.
One workaround is to format a subset of the document by selecting a code region before formatting.
test scenario
then collapse the ol element;
after that, try to use ALT + CTRL + L (beautify command)
you'll notice that the colapsed blocks will get expanded.
The text was updated successfully, but these errors were encountered: