我的routes.rb文件中有一些代码,如:
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
有没有办法在Sublime Text中快速/轻松地格式化它,所以它更像是:
match 'faq' => 'home#faq', :as => :faq
match 'privacy' => 'home#privacy', :as => :privacy
...等