Skip to content
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

Collapse section hotkey collapses entire region if method signature has newlines #35000

Open
vsfeedback opened this Issue Apr 16, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@vsfeedback
Copy link

vsfeedback commented Apr 16, 2019

VSF_TYPE_MARKDOWNUsing the "Ctrl+M, M" Hotkey, if the caret is on method Foo it will correctly collapse the selection. But with the caret on method Bar it will collapse the entire region.

# region MyRegion
public void Foo(int param1, int param2) 
{
    string foo = "foo";
}

public void Bar(
    int param1,
    int param2)
{
    string bar = "bar";
} 

#endregion

This issue has been moved from https://developercommunity.visualstudio.com/content/problem/532398/collapse-section-hotkey-collapses-entire-region-if.html
VSTS ticketId: 847516

These are the original issue comments:

Visual Studio Feedback System on 4/15/2019, 02:44 AM (15 hours ago):

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

These are the original issue solutions:
(no solutions)

@jinujoseph jinujoseph added the Area-IDE label Apr 16, 2019

@jinujoseph jinujoseph self-assigned this Apr 16, 2019

@jinujoseph jinujoseph added the Question label Apr 16, 2019

@jinujoseph jinujoseph added this to the 16.1 milestone Apr 16, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.