This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Consecutive comment lines are not foldable in Python but are in (at least some) other languages #5904
Labels
enhancement
New feature or request
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.
The text was updated successfully, but these errors were encountered: