intellij

Windows: Anti-aliased fonts don’t work

I was recently installing a new machine and getting a strange feeling that something was awry with my IntelliJ fonts. They looked like they were not being anti-aliased, even though I had checked the correct option. Also I noticed that generally fonts were looking a bit ropey.

After some puzzling I discovered the dialog above. If you right click on the desktop then to properties->appearance->effects… you will see it and you need to make sure the font smoothing is checked.

Phew, now I have beautiful code again.

Share

intellij
visual studio

Comments Off

Permalink

Installing JRuby with Intellij (OS X)

GET it from http://jruby.org/

There is a download page, download and exract the tar file somehwere.

I put it in /System/Library/Frameworks/JRuby.framework/jruby-1.5.1

I then created a symbolic link to jruby_current

ln -s jruby-1.5.1/ jruby_current

And then simply add it to my ~/.bash_profile

$vi ~/.bash_profile
export PATH=/System/Library/Frameworks/JRuby.framework/jruby_current/bin:$PATH
#Reload the profile…
$. ~/.bash_profile
#Try out jruby…
$jruby -v
jruby 1.5.1 (ruby 1.8.7 patchlevel 249) (2010-06-06 f3a3480) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_17) [x86_64-java]

Now you can add the JRuby SDK to your Java Module in Intellij:

Now you can have ruby and Java in the same project. Awesome.

Share

build
intellij
java
jruby
ruby
thoughtblog

Comments Off

Permalink

Resources not available on classpath in Intellij

Today I spent a while puzzling over why my StringTemplates weren’t available on the classpath in Intellij.

I forgot that you have to specifically identify file types to copy into the classes folder, you do it in the project settings. Search for “resource” and look in the compiler settings.

Share

intellij

Comments Off

Permalink