Idea turn Eclipse shortcut key

Source: Internet
Author: User
Tags try catch

1. Open idea, click File in the top menu bar,

2. Select Keymap in the left navigation of the popup setting page, select Eclipse from the Keymaps drop-down list, and if you want to use this shortcut style, click on the Copy button on the right to assign a copy, set the name you want, and click Apply. OK to use

3, if you want to modify a function of the shortcut keys, select one of the features, click the right mouse button, in the pop-up menu to select the appropriate settings for the shortcut key settings

The right-click menu in which the corresponding meaning is: Add keyboard shortcuts, add mouse shortcuts, add instructions, delete shortcut keys

4, after the choice to add shortcut keys, will pop up the settings shortcut menu, at this time as long as the input you want to set the shortcut key can be, directly press and hold the corresponding key on the keyboard to automatically fill the

5, configure automatic generation of Getset method shortcut keys, try catch, etc., automatic implementation of the method is not implemented; Select the main menu option in the Settings panel, select the Code menu in the subkey

Where implement methods is an automatic implementation of the non-implemented method, which is used in the implementation class of the interface
Generate inside will have getset and so on fast generation way
Surround with to automatically generate a corresponding shortcut such as Try Catch

6. Configure the Lenovo Function shortcut key (alt+/)

7. Fast generation of return values

8. Rapid generation of the Main method

9, Sysout Print statement (default is Sout, you can change it to SYS)

10, for, foreach (Itar generates a for loop based on array array, Itli generates a for loop based on the list collection, Iter generates a Foreach loop based on the list collection)


In this shortcut key setting, the font color becomes light blue as long as it's your own modified shortcut.

Idea turn Eclipse shortcut key

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.