Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
can convert full objc method signature in clipboard into an inline in…
…vocation via '.m'
- Loading branch information
Showing
5 changed files
with
53 additions
and
13 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
Commands/Method call (use signature in clipboard) copy.tmCommand
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>beforeRunningCommand</key> | ||
<string>nop</string> | ||
<key>command</key> | ||
<string>export RUBYLIB="$TM_BUNDLE_SUPPORT/RakeMate${RUBYLIB:+:$RUBYLIB}" | ||
export TM_RUBY=$(which "${TM_RUBY:-macruby}") | ||
export TM_RAKE=$(which "${TM_RAKE:-macrake}") | ||
"${TM_RUBY}" -- "$TM_BUNDLE_SUPPORT/bin/paste_objc_headers.rb" method_call | ||
</string> | ||
<key>fallbackInput</key> | ||
<string>none</string> | ||
<key>input</key> | ||
<string>selection</string> | ||
<key>name</key> | ||
<string>Method call (use signature in clipboard) copy</string> | ||
<key>output</key> | ||
<string>insertAsSnippet</string> | ||
<key>scope</key> | ||
<string>source.ruby.mac</string> | ||
<key>tabTrigger</key> | ||
<string>.m</string> | ||
<key>uuid</key> | ||
<string>78EA9EFF-8142-4169-BF6B-024DDF71D5DF</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters