optimization - Formatting space/tab delineated tables in Sublime Text 2 -


i have code in routes.rb file like:

match 'subscribe' => 'home#subscribe', :as => :subscribe, :method=>:post match 'identify'=>"home#identify", :as=> :identify match 'about' => 'home#about_us', :as => :about match 'how-it-works' => 'home#how_it_works', :as => :how match 'faq' => 'home#faq', :as => :faq match 'privacy' => 'home#privacy', :as => :privacy 

is there way quickly/easily format in sublime text it's more like:

match 'faq'             => 'home#faq',            :as => :faq match 'privacy'         => 'home#privacy',        :as => :privacy 

..etc

this alignment plugin does. however, don't know if handles multiple "alignment" items per line. may need write own macro/plugin it, or search around bit more. may want ask on sublime text forums, might know plugin want (though can't guarantee :))


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -