Skip to main content

Why did I break up with my Eclipse IDE?

The breakup was inevitable. My relationship with eclipse had got sour and more. Most of the time it won't listen to my commands and crave for attention. Many times it crashed without giving any valid reasons. I had lost peace of mind and decided that this relationship has run its course. It was time we seek a legal separation, it was not me, it was eclipse.

Two months ago I abandoned eclipse. Yes, it was painful. But it was necessary. As they say if you find your love only when you let go the wrong one (I know I should stop reading Jane Austen for a while). I spend the next couple of minutes trying to find the right replacement for Eclipse but a relationship of 8 years is hardly worth forgetting, is it?

A quick Google search highlighted two favorite keywords in one sentence. Anyone who has done bit of coding anywhere knows the power SublimeText has on your mind. Yes the beautiful, colourful, intended code and the ease of search using grep and regex. As mind wandered aimlessly into the countless Google pages, it wondered won't it be cool to have a IDE build on Sublime?

And thats when I met Mavens Mate. It was like love at first sight, there was no turning back. Here I was in the middle of discovering a great relationship.
The very thing you notice about this great editor is that its simplicity of use. There is a slight learning curve on its usage but not a steep hill climb. It was match-made in heaven, it did not consume RAM, did not crave for my attention and whenever I gave it a command, it simply ran its processes in background.

Here are few reasons why you need to move on.
Thats me with my new love at the London Summer of Hacks

1. Easy to Install
Mavens Mate is extremely easy to install. Install Sublime, install Chrome (shame on you if you call yourself a developer and don't have these two things) and get the plugin

2. Incredibly responsive
I was never able to figure out why Eclipse used to consume so much energy to compile a few lines of code. Its efficiency could only be compared to Eddie the computer on board of Heart of Gold who burned its entire resources to make english tea. MavensMate is fast and did not consume as many resources as Eclipse. There are a few hiccups while using it, but nothing that cannot be fixed with a quick Google search.

3. Ability to Work on and Edit static resources 
MavensMate provides a easy to operate interface to write and deploy static resources using sublime text. The resource bundle makes you head pain less while working with static resources. 

4. Somethings eclipse just refuses to help you
Imagine you on the clock, some important delivery is coming up. The company and the client is looking at you. You know coming Monday your clients shiny new office is going to get a shiny new system were they can work much more efficiently than ever and lo, the test classes are still undone. Now that would be a normal thing but eclipse suddenly feels low and it takes down your entire system. If it has not happened before, well you are lucky, but since my few months of playing around with Sublime, it has not gone down once. 

5. The interface is slick

Black does not hurt the eyes as much as bright white does. It becomes immently painful to stare at the white background for hours. The interface is slick with very less.

Bottom line: I feel in love with this shiny new toy that lets me do code and worry about other things less. Sublime text is worth given a try. Its free, fast and fun. You would not regret the decision. There was the time in the past were we had no choice but to use eclipse, Mavens Mate has changed that and perhaps for good. I have also discovered this new cloud based editor

I often use when I am away from my Mac or using some shared machine. One of the coolest thing about Aside is that unlike all the other editors, it doesn't require your username, password or token. It simply connects using oAuth, meaning one click 'Allow' and you are done. is build by a dear friend Phil Rymek and it built on heroku. comes packing with much more cooler stuff than any other editors out there. It has a rad of features that many editors lack and has become my favorite thing. It is a easy to use cloud based editor that has no hassles of installing and maintaining one. 

Here are few of the coolest features that comes packing.

Save conflict detection
Static Resource support, including editing zipped files
Edit Custom Object metadata
Debug log access
Find and replace within file
Org-wide code search
Local code history
"Open in Salesforce", allowing easy access to rendered VF pages and more
Look and feel of editor is fully configurable (theme, font size, invisibles, etc)
Highlight lines not unit tested and see other coverage information
See all unit test results, class-by-class
Configure the result view to focus on certain unit tests
Easily drill into failures with the stack trace parser
Run unit tests three different ways
Manual selection - from a multi-select typeahead
Generate a code coverage report for organization
Maintains query history
Show/hide/reorder/resize columns
Share queries with other users

The list keeps on increasing. The best part about is that if you are keen on checking it out, one click does it.

Which is your favorite editor? Let me know in comments.


Popular posts from this blog

The curious case of the custom redirection on Salesforce Console

Every developer worth their salt knows that the easiest way of redirection from a page to another is by using everyone's favorite function

public PageReference redirect() { PageReference pageRef = page.peskyProblemRedirection; pageRef.setRedirect(true); return pageRef; }
And the method is called by adding it to the Action attribute of the CommandButton or link, which works like charm and the user is redirected to the page after completion of the action.
So why am I going back to the basics? Because this way of redirection causes a pesky little problem in using the Service Cloud or Sales Cloud console.

Let's illustrate the problem, let's say you have a visualforce page as follows:

<apex:page sidebar="false" showHeader="false" controller="myExampleController"> <apex:form > <apex:pageBlock > <apex:pageBlockButtons > <apex:commandButton action="{!Redirect}&qu…

Some PDF tricks on Visualforce: Landscape, A4, page number and more

The beauty of Visualforce is simplicity. Remember the shock you received when you were told the entire page renders as PDF if you just add renderAs=PDF to the Page tag.

For those who thought I spoke alien language right now, here is the trick, to render a page as PDF, we add a simple attribute to the <apex: page> tag

<apex: page renderAs='pdf'> This will render the entire page as PDF.

Now, say we need to add some extra features to the PDF. Like a page number in the footer or we need to render the page in landscape mode. Faced with this problem, I put on my Indiana Jones hat and went hunting for it in the vast hay-sack of the internet (read: googled extensively). Imagine my happiness when i found a big big page with many big big examples to solve the problem. The document I am referring to is from W3C, paged Box media.

Long story short, I now possess the ultimate secret of rendering the page in any format I want. So here are few tricks I learned from the page. To p…

Cache me if you can: What you should know before daring to set URL parameter on visualforce

If someone gave me a pence for every time there was an SOQL query in an APEX Class without using Limit or a condition during a code review, I could afford a Lamborgini this month. Sigh. If only. We make it a habit of going digging for data, at the very moment we need it. The crux of this problem happens when you have chain classes which are independent of each other. Each class needs the reference from a single record and we have to query for that record every single time.

While we don't see it, every SOQL query has a cost to it, and it does not go in my Lamborghini fund, however, it should. In a recent project, we had to construct an Account 360 page that could fetch information from different integration points. The page was also called using a live telephony integration, which could pass the phone number for the account. This required an ability to keep in context the Account that was on call.

Passing the Account id in URL parameter was a valid option, however, any manipulatio…