9
8

More than 5 years have passed since last update.

eclipseでVisualStudioの#regionみたいにcode foldingできました

Last updated at Posted at 2015-05-04

eclipseでコーディング中コードを俯瞰したい場合はよくあると思いますが、eclipse標準機能ではVisualStudioのように細やかにcode folding(ここではエディタ上でコードの一部を折りたたむ機能のことを言います)できません。

この度、eclipseででもVisualStudioのようにcode foldingできるプラグインを見つました。

追記(2015/5/6)

私の環境では、coffee-bytesとGradle IDE Pack(3.6.4)は相性が悪いみたいです。build.gradleを編集できません。coffee-bytesプラグインを選ぶため、*.gradleの編集はMinimalist Gradle Editorを使うことにしました。

環境

  • Windows 7 ( 64bit )
  • eclipse Mars(4.5)
  • coffee-bytes (バージョン不明, 2015/5/4ダウンロード版)

エディタ画面イメージ

折りたたみ前:
beforefolding.png

インストール後(デフォルト折りたたみ):
afterfolding.png

ダウンロードとインストール

プラグインはMarketPlaceやInstall New Software...メニューからインストールできないようでしたので、プラグインファイルをダウンロードして、eclipse実行ファイルのあるディレクトリ下に自分でコピーしました。

Bartosz Kosarzycki's blogにプラグイン・ファイルへのリンクがありました。

使い方はすごく簡単ですが、最初はHow to use Coffee-Bytes code foldingを参考にしまいた。

参考

9
8
1

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
9
8