The Java Idea Basic configuration

Source: Internet
Author: User
Tags try catch

Plug-in configuration Ctrl+alt+s
    • Search maven, configure the MAVEN repository
    • Search Plugins Add MyBatis Plugin
    • Search the git configuration path to the Git.exe of the installation directory
    • Youdao Dictionary plugin: translation (ALT + 0 and alt+1)
    • Maven View Plugin Search maven Helper
    • Theme Address: http://www.riaway.com/themeshow.php?tid=58$cid=1
    • Plugin website: http://www.hollischuang.com/archives/966
Common shortcut keys
    • Try Catch:ctrl + ALT + T
    • Parameter name hint: CTRL + P
    • Ignore case settings: Change the first selection box in code completion to None
    • Auto Completion: ALT + ENTER or CTRL + ALT + V
    • Formatting: Ctrl + ALT + L
    • Import Package: Ctrl + ENTER
    • Optimization Package: Ctrl + ALT + O
    • Get Set Construction: ALT + Insert
    • Ctrl+alt+i, automatically indent the selected code into the orchestration
    • CTRL + Q return value hint
Mode
    • F9 Resume Programe Recovery program
    • ALT+F10 Show execution point shows execution breakpoints
    • F8 step over equivalent to eclipse F6 skip to the next step
    • F7 Step into the equivalent of Eclipse F5 is to enter the code
    • Alt+shift+f7 force Step into this is a mandatory entry code
    • Shift+f8 Step out is equivalent to eclipse's F8 jumping to the next breakpoint, also equivalent to eclipse's F7 bounce function
    • ATL+F9 run to Cursor at cursor
    • CTRL+SHIFT+F9 Debug Run Java class
    • CTRL+SHIFT+F10 Normal running Java class
    • Alt+f8 Check values when debugging
Add Serialversionuid
ctrl+alt+s 下搜索Inspections在Java下 Serialization issues 下 Serializable class without ‘SerialVersionUID‘
Remove the wavy line of the idea's yellow or gray repeating code
ctrl+alt+s 下搜索Inspections在General下Duplicated Code 取消勾选.提交之后就可以了
Configure how to view byte codes
ctrl+alt+s 下搜索External Tools 新增添加如下内容name中填写Show  Byte CodeProgram中填写$JDKPath$\bin\javap.exeParameters中填写-c $FileClass$Working中填写$OutputPath$点击OK最后在类中右键选择External Tools 下Show Byte Code

Java idea Basic configuration

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.