2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

My Eclipse Tips

Last updated at Posted at 2019-03-29

その気になったらちゃんとまとめる

最適化するためにやったこと

ショートカットのカスタマイズ

Preference > General > Keys から、ショートカットキーを設定する。 対象のCommand(挙動)のBinding を押下し、指定キーバインドを入力すれば登録できる。

タブ切り替え

next tab, previous tab をChrome と同じ command + Shift + { or } にした。エディタのタブ移動が捗る。

文字ズーム

何故かZoom out(command + -) ができるのにZoom in ができなかった。これもChrome同様 Command + Shift + +(not typo) にした。

補完

mac だと、デフォルトの command + space がSpotlight検索になってる。
個人的にこれはこれで使いまくるので、 option + space にした。

自動補完設定

https://qiita.com/yuukieiu/items/bc8179873b859e3c7741 を参考に、自動補完が.以外でも出る様に修正した。

便利ショートカット

以下にないショートカットは、適宜自分で設定すべし。 参考:Macのeclipseで次のタブ、前のタブをショートカットで操作する方法

画面移動系

https://javaworld.helpfulness.jp/post-70/ から知った。

command + F6

同ビュー内のタブ移動

command + F7

ビュー移動

command + F8

パースペクティブ切替

command + F12

デバッグ開始

エディタ系

command + shift + F

コードフォーマット

command + shift + O

自動インポート補完

command + shift + R

ファイル検索

Ctrl + H

ファイルを横断した検索、置換

command + E

タブ移動・検索。キーを離しても移動はしないので、command + F6とは挙動が異なる。

command + 1

エラーメッセージの表示、および修正候補の表示

command + /

コメント挿入

option + command + J

Javadoc コメントの挿入

ctrl + M

エディタを最大化(もう一回で戻す)

F3

各種定義元へ

command + [

Backward History. 定義元ジャンプから戻ったりで使う。

command + ]

Forward History. ↑の逆。・

新規プロジェクト作成

FIle > New (command + option + N) > Spring Starter Project

参考

https://qiita.com/saitoxu/items/6b1458f62780781e09b7
https://qiita.com/arai-wa/items/c2eb7387b5bf37b4ace4

2
2
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
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?