roslyn: Incorrect VB code collapsing in VS2015 update 1

The following code does not collapse in the same ways as in VS2013 when ctrl-M and Ctrl-O is pressed

Module Module1

Region “asif”

Private Sub method1()

End Sub

End Region

Region “asif1”

Private Sub method2()

End Sub

End Region

End Module

I have brought this issue to: Dustin Campbell Dustin.Campbell@microsoft.com

vs2013codefolding vs2015codefolding

The attached files shows the difference

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

Isn’t the C# options a weird place to put this option anyway,

There are individual options for both C# and VB. Hence “Tools | Option | Text Editor | C#/Basic | Advanced”

That was shorthand for writing:

Tools | Option | Text Editor | C# | Advanced Tools | Option | Text Editor | Basic | Advanced

I’m going to add an option to control this behavior for people that want it.