Forum Visual Studio
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Remember collapsed regions?

Coming from VS I use #regions all of the time, especially in big source files!! Now, VS remembers the state of the #region and the next time VS loads, the #regions are as they were left. In XS, however, they are NOT remembered, is there a setting for this anywhere? If not, could I plead for it to be included!!!!!! It would save me hours on long code.



  • mhutchmhutch USMember, Xamarin Team Xamurai

    It's disabled by default but you can turn in on in text editor preferences.

  • coder_stevecoder_steve GBMember

    Yes, I know that because I have turned it on. But XS does NOT remember the setting and the next time I start XS, the #regions are NOT collapsed. Can this be added in a future update please?

  • MikeKrgerMikeKrger DEXamarin Team, Beta Xamurai

    There is a setting that #region directives are always collapsed. There is no 'remembering' atm - you can choose: folding on/off & when folding is on you can choose #regions always collapsed on/off.

  • coder_stevecoder_steve GBMember

    @MikeKrger, Thanks for that, didn't realise is was in!!


Sign In or Register to comment.