Consecutive comment lines are not foldable in Python but are in (at least some) other languages #5905
jolsen-mitsu
started this conversation in
Enhancement
Replies: 1 comment
-
Moving this issue to discussions as an enhancement request for comments and upvotes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environment data
Version: 1.89.1 (user setup)
Commit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685
Date: 2024-05-07T05:13:33.891Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.22621
Only enabled extensions I have, to make sure other extension not interfering with this functionality:
Code Snippet
Repro Steps
Add several contiguous single-line comments in python language-selected editor. Hover mouse on the first comment between the comment and the line number column. Ideally, a fold/unfold icon would appear and be actionable.
Expected behavior
I expect the multiple single-line comments to be foldable in Python, like they are in JavaScript
Actual behavior
They are not treated as foldable, so there is no option to fold them
Logs
After setting logLevel to Trace and restarting VS Code, there is no output in the panel to copy.
Beta Was this translation helpful? Give feedback.
All reactions