Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
392 views
in Technique[技术] by (71.8m points)

keyboard shortcuts - Eclipse: make ESC key focus on active code window

In eclipse (version: 2020-06 (4.16.0)) I wonder if there is a way to map ESC key to focus on active code window.

I've seen this behaviour in NoSQLBooster and is really useful


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Yes, to map Esc (in addition to the default of F12) to focus on the active editor, do the following:

  1. Window > Preferences: General > Keys (or hit Ctrl+kbd>Shift+L twice)
  2. Select the Active Editor command
  3. Click the Copy Command button
  4. Set the focus into the Binding field and hit Esc
  5. Click the Apply and Close button

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...