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
Post a Comment