LoginSignup
1
0

More than 5 years have passed since last update.

Redcar で RubyMotoin のコードを補完する

Posted at

Redcarredcar-rubymotion というプラグインをインストールすると RubyMotoin のコードが補完できるようになります。

Redcar のインストール

$ sudo gem install redcar

redcar-rubymotion のインストール

$ git clone https://github.com/kattrali/redcar-rubymotion.git ~/.redcar/plugins/rubymotion

コード補完の準備

RubyMotion プロジェクトを作成したのち、

$ rake ctags

とタグファイルを作成しておきます。(redcar-rubymotion インストール後、[Cocoa]->[Generate Tags] で作成できるようなのですが、私の環境ではエラーとなってしまいました)

コード補完

$ redcar .

のように Terminal から Redcar を起動し、RubyMotion アプリを書いていきましょう。コード補完が必要になったときには control + shift + space キーを押します。

コード補完

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0