我的 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
..ETC