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
{{ message }}
Repository navigation
Feature Request: Add two more highlighting modes for (otherwise unmodified) commented/uncommected code sections #145068
When I comment out a section of code (meaning, adding or removing // or # to a bunch of consecutive lines), these lines appear twice in inline diff views (e.g. Source Control). This makes navigating this code unncessarily difficult, because I have to scroll twice as much to scroll over some section of code.
I would like if VS Code treated commented/uncommented sections in a special way - specifically, if it showed them only once and with a light-grey background (as opposed to the red and green backgrounds for deleted/added text). In addition, commented code (now inactive) could be shown in italics (which is already the case in my current theme), and uncommented code (now active) could be shown in bold.
I think this feature might greatly improve navigation of commented/uncommented code sections. It applies especially to the inline view, but I can see how it can be useful in split view as well.
Reacted by Alexandru Dima, bersbersbers, Hermholtz, awn70, Andreas Pareis and Job van der Zwan
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Activity
vscode-triage-bot commentedon Mar 17, 2022
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
vscode-triage-bot commentedon May 7, 2022
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
vscodenpa commentedon May 17, 2022
🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!