AndroidStudio commonly used plug-ins are necessary to improve development efficiency

Statistic code statistics tool

A code statistics tool that can be used to count the number of lines and size of code in the current project.

image.png

View->Tool Windows->StatisticTurn on the function via the button in the top menu .

image.pngAt this point, you can see the statistics of our project code

image.png

Translation A translation plugin

image.png

Directly select the content to be translated, and right-click to find the translation button;

image.png

Markdown

A Markdown plug-in officially produced by IDEA, which supports editing and previewing Markdown files

image.png

Key Promoter X shortcut key tips

Key Promoter X is a plug-in that helps you quickly learn shortcut keys. When you click on some functions with the mouse in AndroidStudio, it will automatically prompt you to use the shortcut keys for this function

image.pngWhen the mouse clicks on certain functions as shown in the figure below, there will be corresponding shortcut key prompts

androidstudio shortcut key reminder.gif

Restful Fast Request

It is the IDEA version of Postman, which is a powerful Restful API toolkit plug-in. In AndroidStudio, it can also quickly generate interface debugging cases according to existing methods.

image.pngThen use the method as follows:

howToUse_en.gif

PlantUML Integration

PlantUML is an open source UML diagram drawing tool that supports text to generate graphics. The installation is as follows:

image.pngSequence Diagram (Sequence Diagram), is a UML interaction diagram. It shows the dynamic collaboration between multiple objects by describing the chronological order in which messages are sent between objects.

image.pngGenerated here is a simple sequence diagram

image.png

Of course, there are more detailed usages, you can check the official website https://plantuml.com/zh/

image.png

Sequence Diagram generates a timing diagram according to the code

The plug-in for generating sequence diagrams based on codes also supports direct navigation to the corresponding codes on the sequence diagrams and export as pictures or PlantUML files.

image.png

String Manipulation is used to process strings

A plug-in for processing strings in the industry, supports switching of various format code naming methods, supports escape and reverse escape in various languages, supports character encryption, supports sorting, alignment, filtering, etc. of multiple characters.

image.png

Then when using it, you only need to select the string and right click

image.png

Rainbow Brackets Rainbow Brackets

image.pngAfter installation, restart AndroiStudio to open the project

image.png

Android Wifi connects to mobile phone for debugging


Use Android Studio Dolphin | 2021.3.1 Patch 1 and above, select and click Pair Devices Using Wi-Fi to pop up the scan code box. Prompt to use android11+ devices to scan the code to connect. At this time, you need a mobile phone and a computer together with a wireless network. Then find wireless debugging in the mobile phone developer options, usually under the USB debugging switch. Click Wireless Debugging to enable the wireless debugging function. Click on the wireless debugging page to use the QR code to pair the device to scan the QR code link of the AS for debugging. After waiting for a while to connect, you can see the device information.

image.png

CodeGlance Pro

Code view page generation browse directory

image.pngRestart AndroidStudio after successful installation

image.png

SonarLint code review plugin

Sonar is an open source platform for code quality management. It is used to manage the quality of source code. Through plug-ins, it can support more than 20 kinds of programming including java, C#, C/C++, PL/SQL, Cobol, JavaScript, Groovy, etc. Language code quality management and detection

image.png

After the installation is successful, restart AndroidStudio and open the Android project as follows:

image.png

Currently supported code languages ​​are as follows Official website here

image.png

Guess you like

Origin juejin.im/post/7218001191702134841