Eclipse Settings Custom shortcut keys

Source: Internet
Author: User

Eclipse has a lot of powerful and user-friendly features, and the features are sometimes hidden deep (need to click several menus to find), and the system provides shortcut keys are sometimes difficult to remember or even provide shortcut keys, you need to manually set the shortcut keys. There are two setup methods, including manual setup and import of configuration files.

Tools/Materials
    • Eclipse

Manual Setup Method/step
    1. 1

      Click on the Window menu->preferences submenu->general->keys, enter the shortcut key management interface

    2. 2

      Here you can find all the functions of the shortcut keys, need to modify or add new, click the need to modify or add the command, set the shortcut key in the binding

    3. 3

      After setting the shortcut, you also need to set when you can use the shortcut, Eclipse provides a variety of scenarios to choose from, generally choose in Windows (that is, in the Eclipse Window activation state) can

    4. 4

      Complete the above operation, click OK to complete the setup

      END
Import configuration file methods/steps
    1. After a lot of custom shortcuts have been set up on a machine, it is necessary to copy the shortcut keys by importing the configuration file by using the custom shortcut keys in other machines.

    2. First in the original machine export shortcut key file, in the original Machine Workspace workspace folder open \workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings, Locate Org.eclipse.ui.workbench.prefs File

    3. 3

      Copy the Org.eclipse.ui.workbench.prefs file to the same path as the target machine

      END
Precautions
    • If you do not know the specific purpose of its function, you can check the description in description

    • Although the Export shortcut key setting is available in Windows->preference->general->keys, but there is no import button, it is estimated to be an eclipse bug, so you can only set it by copying the configuration file.

    • The same machine if you convert the path of the workspace workspace, the original custom shortcut keys will also be reset, this from the configuration file in the workspace directory can be seen, custom shortcut keys are based on workspace, all conversion workspace need to re-copy the configuration file

Eclipse settings custom shortcut keys

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.