I would like to set Visual Studio for Mac 2017 to automatically open .axml files in the source editor mode without loading the Android designer.
Does anyone know how to accomplish this?
On top of that I would also like this to happen when I use the Go To File binding I have setup. Currently every time I open an .axml file through Go To File it takes about 10-50 seconds to load up (no exaggeration). If it takes longer than that it never opens and the entire IDE stops working.
I am currently right-clicking on the files and selecting open with -> Source Code Editor.
Any pointers would be appreciated.
Since Visual Studio for Mac does not currently support configuring the editor used to open a file I created an Open With addin that provides this feature.
It provides an Open With dialog that allows you to change the default editor or application used to open a file in a similar way to how this is done in Visual Studio on Windows.
After installing the Open With addin into Visual Studio for Mac 7.0 or above, you can right click a file in the Solution window, and select Open With - Preferences to display an Open With dialog. This dialog is based on Visual Studio's dialog. You can change the default application or editor used here or add a custom application.
So you should be able to configure Visual Studio to open .axml files into the text editor or Android Studio.