Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 35 lines (22 sloc) 1.362 kB
c9d61e9 Initial commit for github
Diemer, Dan authored
1 Sublime Text 2 Completions for RubyMotion
2 ==========================================
3
4 This is a quick and dirty port of the completions generated by [RubyMotion.tmBundle](https://github.com/libin/RubyMotion.tmbundle). As such, I'm not sure if there are any missing methods or not, but feel free to contribute if you find some.
5
6 Installation
7 ------------
8
ad800e7 @diemer Added more information to readme
authored
9 Put this package into your Sublime Text 2 packages folder:
10
dd4b4b4 @dunckr fix update to iOS 7
dunckr authored
11 **Windows**: %APPDATA%\Sublime Text 2\Packages
12 **OS X**: ~/Library/Application Support/Sublime Text 2/Packages
ad800e7 @diemer Added more information to readme
authored
13 **Linux**: ~/.Sublime Text 2/Packages
14
dd4b4b4 @dunckr fix update to iOS 7
dunckr authored
15 iOS
16 ----
fab66dd Add instructions on updating this package to support iOS 6.0 Beta
Diemer, Dan authored
17
dd4b4b4 @dunckr fix update to iOS 7
dunckr authored
18 Because iOS is currently under a NDA you will have to generate the completions manually. To do this you will first need to update RubyMotion using the following commands in your OS X Terminal:
fab66dd Add instructions on updating this package to support iOS 6.0 Beta
Diemer, Dan authored
19
dd4b4b4 @dunckr fix update to iOS 7
dunckr authored
20 motion update
fab66dd Add instructions on updating this package to support iOS 6.0 Beta
Diemer, Dan authored
21
22 Now you can run the following command to regenerate the completions:
23
24 ruby ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/RubyMotion/Support/compile_completions.rb > ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/RubyMotion/RubyMotion.sublime-completions
25
ad800e7 @diemer Added more information to readme
authored
26 Usage
27 -----
28
dd4b4b4 @dunckr fix update to iOS 7
dunckr authored
29 Inside your RubyMotion project just start typing the name of a method and the autocomplete window will pop up.
ad800e7 @diemer Added more information to readme
authored
30 Press enter/return to trigger the completion.
31
32 More Information
33 ----------------
dd4b4b4 @dunckr fix update to iOS 7
dunckr authored
34 [SublimeText 2 Auto Complete Docs](http://www.sublimetext.com/docs/2/auto_complete.html)
Something went wrong with that request. Please try again.