Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Application Analysis of IDEA

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "IDEA Application Analysis". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn "IDEA Application Analysis"!

Download, install and crack

Note: if the online activation code fails, in order not to worry, you can buy a JetBrain account for 10 yuan on TB. Contacting the seller will teach you how to operate it. The validity period is one year (I am currently using)

IDEA activation code:

1. Go to the website http://idea.lanyus.com/ to get the registration code.

two。 Fill in the following license server:

Http://intellij.mandroid.cn/

Http://idea.imsxm.com/

Http://idea.iteblog.com/key.php

II. Git code cloning

1. Clone it locally through Git, and then open it through idea

Or directly cloned through idea.

2. Switch the master to the current project usage branch through Rebase

3. Convert maven project to maven project.

Right-click the pom.xml-- > Add as Maven Project of each project

4. Packing command

Package the sit environment and skip the unit test:

Right-click drp-parent:clean install-Pdev-DskipTests

5. Submit the code

Step 1: right-click the project-- > Git-- > Add

Step 2: right-click the project-- > Git-- > Commit Directory

Step 3: right-click the project-- > Git-- > Repository-- > Pull

Step 4: right-click the project-- > Git-- > Repository-- > Push

Compare Eclispe integrated Git submission code

Step 1: right-click the project-- > Team-- > Commit

Step 2: right-click the project-- > Team-- > Pull

Step 3: right-click the project-- > Team-- > Remote-- > Push

III. Setting and environment configuration

1. Change style

File-- > Settings-- > Editor-- > Color Scheme

2. Adjust the font

File-- > Settings-- > Editor-- > Font

3. Display the toolbar in the toolbar

View-- > Toolbar

View-- > Toolbutton

4. Set JDK

File-- > Other Settings-- > Default Project Structure

Fourth, the use of shortcut keys

1. Set the shortcut keys that conflict with the Windows system

File-- > Settings-- > Keymap-- > Main menu-- > Code-- > Completion-- > Basic

Change the Ctrl+ space to Alt+.

2. Find a class or file

Find and open the class: Ctrl+N search, the up and down keys are selected, Enter opens

Find files: Ctrl+Shift+N or Ctrl+Shift+R

3. View the code level

Check out the implementation class: Ctrl + Alt + B

Return to the previous action: Atrl+Alt+ returns to the previous step on the left

See where the method is called: Ctrl+ left-click method name

4. Restart idea

File-- > Invalidate Caches/Restart

The first one empties the cache and restarts. This operation will lose all previous configurations at the local project level, local history, etc. I usually use it only when IDEA can't find the reason, be careful.

The second one clears the cache and does not restart. The next time you open IDEA, you will empty the reconstruction

The third cancellation.

The fourth one just restarts.

Fifth, install plug-ins

1. Install the lomok plug-in

a. Import the lomok plug-in jar package locally

2. Install ignore Git submittal. Ignore plug-in

Configure a network proxy

3. Install the Ali code specification plug-in

Search: Alibaba Java Coding Guidelines

VI. Debug mode

1. Break point

Breakpoint: click the left button in the left line number bar

Or the shortcut key Ctrl+F8 to hit / cancel the breakpoint

2. Breakpoint debugging

F7muri-> is equivalent to eclipse F5: if you step into the Debug mode, you will enter the current method.

F8Mel-> is equivalent to eclipse F6: step skip in Debug mode and proceed to the next step. If the current line breakpoint is a method, it will not enter the current method body.

F9Mel-> is equivalent to eclipse F8: when execution ends in Debug mode, the program is restored to run, but if there is a breakpoint in the code below that breakpoint, stop at the next breakpoint

At this point, I believe that everyone has a deeper understanding of "IDEA application analysis", might as well come to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report