LoginSignup
0
5

More than 5 years have passed since last update.

知っていると便利なEclipseのショートカットキー

Last updated at Posted at 2017-02-11

はじめに

Eclipseを使っていてこれは便利だなと思ったショートカットキーをMacとWindowsをまとめました。

ウィンドウ

コマンド Mac Windows 用途
Open Resource
(リソースを開く)
command+shift+R Ctrl+Shift+R ファイル名で検索
Show Key Assist
(キー・アシストを表示)
command+shift+L Ctrl+Shift+L ショートカットキー一覧表示
Toggles maximize/restore state of active view or editor
(アクティブ・ビューまたはエディターの最大化)
control+M Ctrl+M エディタの拡大/縮小

ファイル

コマンド Mac Windows 用途
Save
(保管)
command+s Ctrl+S ファイルの保存をする
Close All
(すべて閉じる)
command+shift+W Ctrl+Shift+W すべてのウィンドウを閉じる

検索

コマンド Mac Windows 用途

(「検索」ダイアログを開く)
Ctrl+H ワークスペース内を検索する

ナビゲート

コマンド Mac Windows 用途
Go to Matching Bracket
(対応する大括弧にジャンプ)
command+shift+P Ctrl+Shift+P 開始終了の括弧を探す
Go to Line
(指定行へジャンプ)
command+L Ctrl+L 行指定で開く
Forward History
(次のサブ・タブ)
command+] Alt+PageDown 前の行動に戻る
Backward History
(前のサブ・タブ)
command+[ Alt+PageUp 次の行動を開く

(前のメンバーへジャンプ)
Ctrl+Shift+Up 上にある前のメソッドへ移動

(次のメンバーへジャンプ)
Ctrl+Shift+Down 下にある次のメソッドへ移動

編集

コマンド Mac Windows 用途
Undo
(元に戻す)
command+Z Ctrl+Z 修正前に戻す
Redo
(やり直し)
command+shift+Z Ctrl+Y 修正後に戻す
Cut
(切り取り)
command+X Ctrl+X ドラッグした部分を切り取る
Copy
(コピー)
command+C Ctrl+C ドラッグした部分をコピーする
Paste
(貼り付け)
command+V Ctrl+V コピーした部分を貼り付ける
Content Assist
(コンテンツ・アシスト)
control+space Ctrl+Space 使用可能候補一覧を表示する
Find and Replace
(検索と置換)
command+F Ctrl+F エディタ内の検索や置換をする

テキスト編集

コマンド Mac Windows 用途

(行の末尾まで削除)
Ctrl+Shift+Delete カーソルより後ろの行末尾まで削除する

リファクタリング - Java

コマンド Mac Windows 用途
Rename - Refactoring
(名前変更)
option+command+R Alt+Shift+R 一括で名前を変更する

0
5
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
0
5