1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ERB Snippetsの使い方

Last updated at Posted at 2019-12-02

##Sublimetextに入ってる、「ERB Sippets」が便利!

(1) Ctrl + Shift + P で Install package を開く
(2) ERB Snippets を選択

###ERB Sippetsでできること

ビューに使う erb ファイル(new.html.erb等)で

e + Tabキー → <% %>

pe + Tabキー → <%= %>

if + Tabキー → <% if      %>
         <% end %>

div + Tabキー → <div></div>

などなど、、めちゃくちゃ楽にコードを打てます。時短にも繋がります。おすすめです。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?