Skip to content

Instantly share code, notes, and snippets.

@jugyo
Last active December 31, 2015 12:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jugyo/7984441 to your computer and use it in GitHub Desktop.
Save jugyo/7984441 to your computer and use it in GitHub Desktop.
おれのさぶらいむてきすと - CopyPathFromProject がお得!

おれのさぶらいむてきすと Advent Calendar 2013 16日目! 昨日は s12bt さんの、、あれ、あれ、 s12bt さん!

こんにちは @jugyo です〜。

今日紹介するのは地味に便利なプラグイン CopyPathFromProject です。 例えば Rails アプリの app/model/user.rb というファイルを開いているとき、 Copy Path From Project: copy path from project というコマンドを実行すると app/model/user.rb という文字列がクリップボードにコピーされます。便利ですね〜。

screenshot

そしてなんとさらに! Copy Path From Project: copy path from project with line number というコマンドを実行すると app/model/user.rb:12 というように行番号まで付けちゃいます。お得!

ちなみに SideBarEnhancements というプラグインにこれと似たような Copy Path 系のコマンドがいくつかあってめっちゃ便利です。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment