Wednesday, September 24, 2008

A better javascript emacs mode

I have started to dip a little more into more heavy-duty javascript and quickly discovered that the javascript mode I was using had a very tough time with the closure on object property javascript programming style that seems to be popular now-a-days. I tried js2, but I did not like how the indentation was 'adjustable', i.e. if you keep hitting tab it will move your line all over the place. I look for consistency in my emacs modes - I want to be able to do M-x h, C-M \ and have everything be all nice and pretty.

So I settled on this javascript mode - which was advertised as having good indentation - and it does! Hoorah!

No comments: