IssueRaiser

[folding] Show number of lines folded

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- Please search existing issues to avoid creating duplicates. --> <!-- Describe the feature you'd like. --> Current when a block is folded it currently only show ellipses, which I think it could be improved by show the lines of code in the block. e.g. (using Python as an example) ```python def printthis(printme): print(printme) print("how did it print?") ``` When the code above is folded, it is represented as: ```python def printthis(printme): ... ``` Instead of just "...", it would be very useful to display how many lines are folded. ```python def printthis(printme): ...(2 lines)... ``` With short block it is not too difficult to identify the number lines folded by looking at the line number, but for a larger blocks, it would aid significantly by showing the number of line folded.

Posted by uber6 on Aug 6, 2021, 10:30 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.3,000 issues0 comments

ux (Other)

[folding] Show number of lines folded

uber6Aug 6, 2021, 10:30 AM

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- Please search existing issues to avoid creating duplicates. --> <!-- Describe the feature you'd like. --> Current when a block is folded it currently only show ellipses, which I think it could be improved by show the lines of code in the block. e.g. (using Python as an example) ```python def printthis(printme): print(printme) print("how did it print?") ``` When the code above is folded, it is represented as: ```python def printthis(printme): ... ``` Instead of just "...", it would be very useful to display how many lines are folded. ```python def printthis(printme): ...(2 lines)... ``` With short block it is not too difficult to identify the number lines folded by looking at the line number, but for a larger blocks, it would aid significantly by showing the number of line folded.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue