LoginSignup
10
9

More than 5 years have passed since last update.

sublime textでrubyの構文チェックをする

Posted at

sublime textのpackageフォルダにcloneする(mac)

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
git clone git@github.com:pderichs/sublime_rubocop.git "RuboCop"

設定

  • Rubocop: Toggle auto checkを実行するとsaveした際に規約に沿っているかチェックが実行され、好ましくない構文などがある行が赤くなる。
  • Rubocop: Check current projectでプロジェクト全体をチェックできる。
10
9
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
10
9