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.

Steve.

Posts

  • 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!!

    Steve.

Sign In or Register to comment.