Snippets are an incredibly powerful way to quickly generate commonly needed code syntax from a shortcut.
The idea is that you can type something like habtm
and then press the Tab key and it will expand into has_and_belongs_to_many
.
Many Core and Community packages come bundled with their own snippets that are specific to it. For example, the language-html
package that provides support for HTML syntax highlighting and grammar comes with dozens of snippets to create many of the various HTML tags you might want to use. If you create a new HTML file in Atom, you can type html
and then press Tab and it will expand to:
Read full article from Snippets
No comments:
Post a Comment