public
Description: Ruby on Rails TextMate bundle [Learn it with PeepCode - http://peepcode.com/products/textmate-for-rails-2]
Homepage: http://groups.google.com/group/rubyonrails-textmate
Clone URL: git://github.com/drnic/ruby-on-rails-tmbundle.git
Click here to lend your support to: ruby-on-rails-tmbundle and make a donation at www.pledgie.com !
ruby-on-rails-tmbundle / Macros / Rename %3A Rename Several Columns (mncc).tmMacro
100644 45 lines (44 sloc) 1.208 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>commands</key>
  <array>
    <dict>
      <key>command</key>
      <string>deleteWordLeft:</string>
    </dict>
    <dict>
      <key>command</key>
      <string>moveToBeginningOfLine:</string>
    </dict>
    <dict>
      <key>command</key>
      <string>moveToEndOfDocumentAndModifySelection:</string>
    </dict>
    <dict>
      <key>argument</key>
      <dict>
        <key>command</key>
        <string>intelligent_migration_snippet.rb rename_column_continue</string>
        <key>input</key>
        <string>selection</string>
        <key>output</key>
        <string>insertAsSnippet</string>
      </dict>
      <key>command</key>
      <string>executeCommandWithOptions:</string>
    </dict>
  </array>
  <key>name</key>
  <string>Rename / Rename Several Columns (mncc)</string>
  <key>scope</key>
  <string>meta.rails.migration - meta.rails.migration.create_table - meta.rails.migration.change_table</string>
  <key>scopeType</key>
  <string>local</string>
  <key>tabTrigger</key>
  <string>mncc</string>
  <key>uuid</key>
  <string>04A86178-71B1-430A-A06D-DFF7C9A338B5</string>
</dict>
</plist>