Tuesday, December 9, 2008

Intellij - Ubuntu Does this combination work?

Hey Ya, It works.

The most intelligent Java IDE on earth is definitely Intellij Idea. I was in a plan of migrating to Ubuntu because of the nature of Ubuntu. It looks great, perfect fit for me as I knew a bit of linux administration with its forefathers (Debian). It is quite faster too than its competitor Windows(Maharaj), Will talk about why Ubuntu later on in a different post.

As a programmer, I faced lots of difficulties in Ubuntu. My immediate need was to have a perfect editor to fit my bill. Then I installed Jedit. Though Gedit is good enough, as I wanted to lots of functionalities, i went with it.

When I installed Intellij Idea in Ubuntu it looked terrible. If you are not concerned about working in Ubuntu, that would be the day you will work last on Intellij Idea in Ubuntu.

So here is mentioned what you have to make it look great.
Under IDE Settings select the Look and Feel of Intellij, Choose Nimbus, it is the open source and modern theme developed for Java. So Now IDE looks great.
Then we have to tweak fonts that appear over Intellij. Now go to appearance under Editor, select checkbox for using anti-aliasing effect. Now the fonts look good to certain extent.
For making things look great issue the following command in the terminal

sudo apt-get install ttf-liberation

Now this will install liberation fonts. If you wanna check how liberation fonts looks like follow this link Liberation Fonts

You may want to install microsoft specific fonts in Ubuntu, for that, issue the following command,

sudo apt-get install msttcorefonts

You may set Arial 12 for the IDE appearance.

Once you install this font, restart your IDE. During restarting, Intellij essentially reloads the fonts installed in your system. Now Settings --> Editor --> Colors & Fonts ---> Fonts
Now select Liberation Mono and the size is 13 and spacing is 1.5.

Now it looks awesome. Isn't it?