-
Notifications
You must be signed in to change notification settings - Fork 498
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
Cutting/Deleting folded code affects only one line #1563
Comments
My first thought is that this is probably something VSCode itself controls, rather than us. Maybe open an issue in https://github.com/Microsoft/vscode and see what they say? I'll close here, since I don't think we can change this behaviour from the extension. But if it turns out we can, we can reopen. |
Hmm, I don't think so. I've deleted entire collapsed regions in TS and that is supposed to work. I think the bug is in the PS extension. @glennsarti ? |
There is same behaviour for |
This might be a difference based on a new setting that doesn't show the ending |
OK, I see the same behavior with the C# extension where it collapses to a single line so yeah, I guess it's a VSCode issue after all. |
Will that be fixed by #1557 ? |
@rkeithhill ^^ |
Well, yes and no. :-) I wouldn't really mind the "collapse to single line" behavior if cut/copy/delete worked as expected. But it seems that may be a VSCode bug that we can't control. :-( Either that or the C# extension has the same folding bug. But that's a bit hard to believe. |
Having something like this:
Folding it...
Now when you delete that line or CTRL+X it my expectation would be that it would affect whole folded section and not just highlighted line. Or am I wrong? I believe this is how it works in Visual Studio 2015+ although I've not checked recently.
The text was updated successfully, but these errors were encountered: