mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-13 00:44:18 +00:00
first commit of a million rails snippets, conditions missing, command implementation missing...
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: mcol
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Remove / Add Column
|
||||
## condition: "meta.rails.migration - meta.rails.migration.create_table - meta.rails.migration.change_table"
|
||||
# --
|
||||
remove_column :${1:table}, :${2:column}${3: [press tab twice to generate add_column]}
|
||||
Reference in New Issue
Block a user