Does #region work in Visual Studio Code? The code folding feature isn't supported, but maybe that's an alternative. The code folding feature isn't supported, but maybe that's an alternative. – Drew Kennedy May 6 '15 at 13:07. March 2013 in Visual Studio for Mac Tools for Xamarin Hi Folks, I'm not sure if I'm missing something here or not, but is there a keyboard shortcut (Mac version) to fold / collapse all code in Xamarin Studio, the same as Ctrl-M+O in Visual Studio?