IDEA experience

  1. To search for IDEA's configuration, you can search in Preferences, such as searchingLive Templates

  2. Live TemplatesCustomizable templates, Live Templates defines a large number of templates that can be used, such as Java common

    You can also click to add a custom template or comment.

  3. Help ——>Find Action

    This function is very useful. If you don't remember where some functions or shortcuts are, try searching in Find Action.

  4. shift+Mouse1(左键)+ Current page navigation (maybe above or below). Selects all content under the specified navigation on the current page. What is the use of this function? When an html page (similar to other pages), when the DOM structure is relatively complex, it can be used to select all the content of the specified element, instead of trying to find the tag pairing relationship by yourself. The html below is sorted and indented, it will be more obvious if there is no indentation.

  5. Use to generate entity classes Persistencefrom database

    persistence

  6. Select the file in IDEA Finderand 资源管理器open it in or

    • Open the file in Finder (Mac), you can search with Find Action, or enter the keyword in Finder.
    • The corresponding in Windows should Find Actionbe searched in show inor Explorer(Explorer)
  7. Regular search

  8. When using an interface object, jump to the concrete implementation class.

  9. Surround with, surround with can also call the template directly

    surround_with_details

  10. Finally, I will introduce a shortcut key plug-in Key Promoter X. I used IDEA at the beginning. Using this plug-in will help me remember the shortcut keys.

There are many useful functions in IDEA, welcome to exchange!

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326283638&siteId=291194637