As some of you already know, i'm a long-time Mac user. At work i obviously use Windows, but at home i only use Windows (through VMWare) when i want to code in Visual Studio. Other than that, i stay away from Windows as much as possible because i simply don't like it. The recent MonoDevelop 2.2 beta release promises OS X support so i wanted to try it out.
Unfortunately, there is no integrated installer for both Mono and MonoDevelop, so you'll need to download and install Mono separately. I used the stable 2.4.2 version which i downloaded here. After that, i downloaded and installed the 2.2 beta1 release of MonoDevelop here.
Installation is extremely quick and easy, so after a couple of minutes you have this on your screen:
Doesn't really look like a typical OS X application due to the GTK+ usage, but we can live with that ![]()
I then wanted to create a new project:
There are some interesting project templates there (notice the iPhone and Moonlight options) but i just selected a regular console project. After doing so, you get some interesting packaging options for your project:
After that you can start working on your project:
I wanted to run it first to make sure everything was working:
I also wanted to try the integrated debugging so i put a breakpoint in the code:
Unfortunately, running it with the debugger (that icon isn't shown in the screenshot because it's not visible when you reduce the size of the window to the size shown in the picture) didn't make it break on the breakpoint... it just showed the output as it does when not running with the debugger. I then looked in the solution options to see if i had to enable debugging or anything like that. Didn't really find any debugging related settings (i was hoping for a 'make it work' checkbox or something like that) but i did see this:
You can set a few formatting options (obviously not as many as a Resharper user is used to) for your C# code, which is definitely a nice and important touch. Unfortunately i got the following exception when saving my changes:
A very nice addition here would be a button which allows you to automatically report the bug with its stackstrace to the MonoDevelop team. It would benefit both the developers and the users so i hope they will add this soon.
I also looked into some project specific settings and you'll find plenty of familiar options there:
Alright, enough with the settings... let's start coding! Once i added the new file, i was slightly disappointed with the unnecessary whitespace in the file:
Most people will just delete this every time anyway, so it would be better if empty classes were created with as little excessive whitespace as possible.
And then i started coding. Well, i tried to. The editor was unbearably slow on my Macbook. Ok, it's not the fastest machine (Macbook 2.1, 2.16Gh Core 2 Duo and 3GB RAM) but it should definitely be capable enough to write and edit code in a usable manner. The editor would lag so much behind my typing that it was just completely unusable. It's not because i type fast or anything, because it was unusable when typing slowly as well. After a couple of lines of code, i simply gave up. From what i did saw, it has simple code completion and intellisense support so that's nice. But i really hope they can seriously speed up the editor soon.
All in all, i am hopeful that MonoDevelop on OS X will become a reasonably viable solution in the near future. It's a simple IDE, nowhere near as powerful as Visual Studio (let alone one with Resharper) but it does have most of the important basics that you'll need. At this point, i don't consider it usable (after all, writing and editing code is fairly important) but i really hope that the MonoDevelop team will fix this soon. It would be very nice to be able to use this successfully on OS X.










Pingback: Reflective Perspective - Chris Alcock » The Morning Brew #434
Pingback: Trying MonoDevelop On OS X, Part Two | The Inquisitive Coder – Davy Brion's Blog