IDEA Configuration Record __ synthesis

Source: Internet
Author: User

one. Configuration 1. Display line number settings

File-->editor-->general-->apperance tick "show line Numbers"

2. Configure JDK

Click on the top right corner icon, or the shortcut key "Ctrl+alt+shift+s",

Click the "+" button in SKDs to add.

3. Modify Font Size

File-->editor-->colors&fonts-->font

You must first click Save as, otherwise you cannot modify the font size.

4. Configure Tomcat

Run-->edit configurations

Click on the top left corner "+", select Tomcat server-->local

In Server configuration:

Application Server: Select the path where Tomcat resides

HTTP port:8080

AJP port:1099 or None, follow tomcat configuration

VM options:-xms512m-xmx1536m-xx:permsize=256m-xx:maxpermsize=512m

(-xx:permsize=256m-xx:maxpermsize=512m is not supported in jdk8, can be removed)

Garbled Solution:-dfile.encoding=utf-8

Development:

Select the project you want to start

5. Some shortcut keys to modify

Code hint:

File-->settings-->keymap search "Codecompletion" to modify to a new combination (Alt+n).

To find a method in a class:

File-->settings-->keymap, click "Find Actions by Shortcut", Alt+shift+ctrl+n, change to

Ctrl+shift+o

6. Project Thermal Deployment

The deployment in Tomcat needs to be added to the Exploded,server configuration,

The on Update action, on Frame deactivation option is adjusted to

"Update Classes and resources".

7. Introduction of class collation Settings

File-->settings-->editor-->code Style-->java-->imports

Class count to use import with ' * ' value to 1

Names count to use static import with ' * ' value changed to 1

8. Turn off initial letter sensitive automatic prompt

If the input Lis can prompt list, otherwise must enter the LIS

File-->settings-->editor-->general-->code completion

Case sensitive completion: change to None

9. Error: Can ' t start Git:git.exe

File-->settings-->version control in the upper right corner '-', delete item


10. Turn off the word spell check

File-->settings-->editor-->inspections-->spelling, cancel the tick typo

two. Shortcut keys 1. Find Files

Ctrl+shift+n

2.f3, Shift+f3 and Ctrl+k, Ctrl+shift+k

3. Navigate to the line

Ctrl+g

4.debug Debugging

F8 Next, F9 the next breakpoint

5. Copy Rows

Ctrl+d

6. Move Line

ctrl+shift+ Up/Down key

7. Display Method Comments

Ctrl+q

8. Search Method

Ctrl+shit+alt+n

9.get/set, Implementation interface method (Ctrl+i), ToString, etc.

Alt+insert

10. Replace text

Current Window Ctrl+r

All Ctrl+shift+r

11. Organize import packages and classes

Ctrl+alt+o

12. Code Formatting

Ctrl+alt+l

13.try, catch/cycle/if else, etc.

Ctrl+alt+t

14. Paste multiple copies

Ctrl+shift+v

15. Find the location of the file

Alt+f1

16. View interface Implementation Class

Ctrl+alt+b Ctrl+alt+click

17. View Next/previous warning location

F2/shit+f2

18. Navigate to the last edit location

Ctrl+shit+backspace can jump multiple times

19. Display all the methods in the class

Ctrl+f12

20. Import package, automatic correction

Alt+ctrl+o

21. Change history View

Ctrl+alt+c

22.main Method

Psvm+tab

23. Output

Sout+tab

24. Batch change file name/file Rename

Shift+f6

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.