Xamarin Studio Settings for Visual Studio Developers

posted on 26 Feb 2014 | Xamarin

If you are like me, a Visual Studio developer just getting started with Xamarin Studio, this new environment can seem a bit alien. Here's a couple of quick settings you can change to make yourself feel much more at home in the Xamarin IDE.

The instructions below are for Xamarin Studio running on Windows, but if you are using Xamarin Studio on OSX, just open Xamarin Studio, Preferences whenever you see Tools, Options in the steps.

Code Folding

Under Tools, Options, then Text Editor, select General. On this screen, you can just tick the box for Enable code folding, and you're all set.

Optionally, you can also tell Xamarin Studio whether it should collapse by default code #regions and code comments in the editor.

Code Folding Options in Xamarin Studio

Syntax Highlighting

Also under Tools, Options, and Text Editor, you'll find the Syntax Highlighting settings. Here you can tell Xamarin Studio to use a syntax highlighting theme that closely resembles the one used by Visual Studio.

Visual Studio Colored Syntax Highlighting in Xamarin Studio

Key Bindings

Under Tools, Options, then Environment, you'll find the Key Bindings settings. Here you can change the key binding scheme to match Visual Studio. This scheme appears to only be available in the Windows version of Xamarin Studio.

Visual Studio Key Bindings in Xamarin Studio

In my copy of Xamarin Studio (I'm using the Alpha channel), this key binding scheme has a conflict with Control + . being bound to two different commands. I resolved this by changing the quick fix command to use Alt + Enter which should be familiar to ReSharper users.

Source Analysis

This last one is less of a Visual Studio familiarity issue per se, but rather for those of us who might be missing ReSharper in this new IDE. Under Tools, Options, then Text Editor, you'll find the Source Analysis settings. Turn this on to get real-time feedback in the code editor about the your code, similar to RS.

Xamarin Studio Source Analysis

These settings go a long way toward mitigating the friction of moving between Visual Studio and Xamarin Studio.

Maybe once I'm more familiar moving around inside Xamarin's IDE, I will consider changing the key bindings and syntax highlighting back to their defaults. Or not... (:

comments powered by Disqus