A memorandum on how to use Eclipse

Shortcut key

debug

motion Key
Step in F5
Step over F6
Step return F7
Move to the next breakpoint F8

Operation efficiency improvement

motion Key
Code completion Ctrl key + Space key
Error jump Ctrl + .(period)
Quick fix Ctrl + 1
Refactoring Alt + Shift key + R
Delete all unnecessary imports Ctrl + Shift + O
Display of callers of variables, methods, etc. Right-click on the name and select "Open Call Hierarchy". Or Ctrl+ Alt + H

File search

You can select and open a file from the workspace. The difference between Ctrl + Shift + r and Ctrl + Shift + t is shown in the table below.

Key Files other than java files Inner class Remarks
Ctrl + Shift + R Can find Can't find resource(resource)Because it opens T
Ctrl + Shift + T Can't find Can find Mold(type)Because it opens T

References

Useful guys only sober Eclipse shortcut championship

Recommended Posts

A memorandum on how to use Eclipse
How to use Apache Derby on Eclipse
How to use Eclipse Debug_Shell
How to use arrays (personal memorandum)
How to use Ruby on Rails
How to use Bio-Formats on Ubuntu 20.04
How to redo a deployment on Heroku
[Ruby on Rails] How to use CarrierWave
How to install Eclipse (Photon) on Mac
[Ruby on Rails] How to use redirect_to
[Ruby on Rails] How to use kaminari
How to use Map
How to use rbenv
How to use letter_opener_web
How to use with_option
How to use fields_for
How to use java.util.logging
How to use map
How to use collection_select
How to use Twitter4J
How to use active_hash! !!
How to use MapStruct
How to use hidden_field_tag
How to use TreeSet
[How to use label]
How to use identity
How to use hashes
How to use JUnit 5
How to use Dozer.mapper
How to use Gradle
How to use org.immutables
How to use java.util.stream.Collector
How to use VisualVM
How to use Map
How to deploy a container on AWS Lambda
Notes on how to use each JUnit Rule
How to build a Pytorch environment on Ubuntu
[Ruby on Rails] How to use session method
How to automatically generate a constructor in Eclipse
[Java] How to use Map
How to use Chain API
[Java] How to use Map
How to use Priority Queuing
How to use an array for a TreeMap key
How to jump from Eclipse Java to a SQL file
[Rails] How to use enum
How to use java Optional
How to use JUnit (beginner)
How to use java non-standard library on IntelliJ IDEA
How to use Ruby return
How to deploy on heroku
How to use Z3 library in Scala with Eclipse
[Rails] How to use enum
How to leave a comment
How to make JavaScript work on a specific page
How to use @Builder (Lombok)
[Swift] How to use UserDefaults
How to use java class
How to use Swift UIScrollView
How to use Big Decimal
[Java] How to use Optional ②