Thursday, December 6, 2012

Hey! .... It's been a long time since I posted something in my blog! Heheh ... Anyway, I was kind a busy for a several weeks working on the mobile app for my company.  I just paused for awhile and rethink some of my tools to update.  Everyday of work I had needs an IDE but I prefer pure text editor.

Now, working on something on Mac text editor is a bit handy but you need to be familiar with at least some shortcuts that will make your self convenient.  One text editor I've been using is "TextMate" though I've been using the terminal edit on Mac "VIM" hehe! Late I tried using "Sublime Text" quite okay but I still need to do some adjustments when coding.  (They aren't FREE, 30days is over then you have to purchase the license) .  Then I go back to "TextMate 10", but one server side scripting I've been playing around lately is CoffeeScript which I need a bundle for TextMate to run do some fancy actions like syntax highlighting, ability to compile or evaluate CoffeeScript inline, convenient symbol listing for functions and a number of expando snippets.  Then I found this article which is very helpful. (https://github.com/jashkenas/coffee-script-tmbundle)  OKaY! great :)



CoffeeScript.tmbundle

TextMate Bundle for the CoffeeScript programming language.

Installation:

cd ~/Library/Application\ Support/TextMate/Bundles (Textmate 1)
cd /Applications/TextMate.app/Contents/SharedSupport/Bundles (Textmate 1.5.10 & 2)
git clone git://github.com/jashkenas/coffee-script-tmbundle CoffeeScriptBundle.tmbundle
Just got to Bundles -> Bundle Editor -> Reload Bundles
This is for HAML
git clone git://github.com/textmate/ruby-haml.tmbundle.git
This is for Removing trailing white spaces
git clone git://github.com/vigetlabs/whitespace-tmbundle.git Whitespace.tmbundle