-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[VS Integration]The “Uncomment Selected Lines” button in the toolbar does not work for single-line comments. #1617
Comments
Which version of X#? And which version of Visual Studio? |
Visual Studio(Ver 17.11.5) and X# (Ver 2.21.0.3) By “Select a line of code”, I mean, select a line of code(Just like selecting multiple lines of code), not “cursor is on the line and nothing is selected”. |
Can you record a video to show what you're doing? |
If I understood correctly:
|
cpyrgas, Your understanding is correct.! |
Ok, but what do you expect to happen for a line of code like this, where the cursor is positioned at the start of the line
Should both comments be uncommented? The idea behind the current behavior is:
This is also what the C# language service does for uncommenting. |
Robert,I see no problem with handling it that way. |
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: