Thursday, October 30, 2014

Can't be portable with MavensMate

I wanted to try MavensMate.  Force.com IDE is like this comfort food you can't live without, but you started to wonder whether there's a better dish to keep you healthy.

So after thinking about it for quite some time, I finally got around to actually do it today.  I don't have a Mac, but MM should work for Windows too.  I downloaded Sublime Text and MavensMate, followed the instructions (solved some little issues along the way), and ... it didn't work.  "New Project" from the menu did absolutely nothing.  So I opened the console in Sublime and noticed the error message about needing mm_workspace information.  Eventually I found the issue - basically the portable version of Sublime Text does NOT work for MavensMate on Windows, because MM would be at a loss when it needs to find the settings file.  I couldn't figure out where the connection.py file is to modify as suggested on the Github issue page (maybe because I'm using the x64 version of ST3) so I just reinstalled Sublime with the regular Windows installer, and things started to work.

Overall the first step for adopting MavensMate was a bit more involved than I expected. It's a young tool - I told myself.