Common plugins
Android studio provides us with a wealth of plug-ins. Installing and using IDEA plug-ins allows us to develop and improve efficiency and user experience. Come and see with me these plug-ins that you don’t have to regret.
I recommend each plug-in after I personally experience it. The recommended plug-ins are still practical and very useful as of 2020. I don’t recommend old plug-ins and plug-ins that have little practical use. Recommended.
1. Background Image Plus
The plug-in supports users to customize the background image of Idea, and can modify the transparency of the background image. The effect is as follows:
while watching the beauty while writing the code, the waist will not hurt, and the head will not be dizzy.
Setting method:
After installing the plug-in in batch settings for Android Studio, open the settings and find Background Image Plus. Just set the path of the picture folder, and you can set to switch the background picture cyclically.
It doesn't matter if the pictures in the folder are not displayed after searching the picture path, as long as the file path is correct and there are pictures in it, it is normally available.
- Single image setting
In the View menu, there are multiple options. Random Background Image is to manually switch a random background, and Clean Background Image is to clear the background setting. Important custom setting background image Set Background Image
Click Set Background Image to enter the setting page
. A plug-in strongly recommended, since then moving bricks will no longer be tiring.
2. Translation
An English translation plug-in, from now on reading the source code is a trivial matter.
You can switch the translation tool to support Google, Youdao, and Baidu translation. It is recommended not to use Youdao Translation. The Chinese translation of Youdao Translation to English sentences can make you doubt your life.
After installing the plug-in, remember to modify your favorite shortcut keys.
3. Rainbow Brackets
Rainbow brackets make your code editing page a little more beautiful.
4. Markdown Navigator
Document editor, CSDN blog also uses this editor, you can write blogs on Android Studio.
5. Statistic
It is a small plug-in that can do project global code statistics, such as knowing how many lines of your code are written, and the size of each file format.
6. GsonFormat
A plug-in that automatically generates objects in Json format data, this ** 必须安装
**.
- First create a Class Test, then Alt+insert, open GsonFormat
- Fill in the json format data, and then the next step >> is completed and a class is automatically generated
- Generally, I will make the Json data returned by the network interface into a corresponding entity class.
7. Alibaba Java Coding Guidelines
Blocker, Critical, and Major are ranked from high to low, and high needs need to be addressed first. This plug-in ** 必须安装
**, a more standardized plug-in than Lint, is too powerful for friends.
-
Blocker: That is, the system cannot be executed, crashed or is seriously insufficient in resources, application modules cannot be started or abnormally exited, cannot be tested, and the system is unstable.
Severe screen glitches
Memory leaks
User data loss or damage
System crashes/crashes/freezes
Modules cannot be started or abnormally exits
Serious numerical calculation errors The
function design is seriously inconsistent with the requirements
Other errors that cannot be tested, such as server 500 errors -
Critical: That is, it affects the system function or operation. The main function has serious defects, but it will not affect the system stability.
Function not implemented
Function error
System refresh error
Data communication error
Minor numerical calculation error
Wrong words or spelling errors that affect functions and interfaces
Security issues -
Major: Interface, performance defect, compatibility.
Operation interface error (including the definition of column names in the data window, whether the meaning is consistent)
error under boundary conditions,
prompt information error (including no information, information prompt error, etc.)
long-term operation without progress prompt,
system not optimized (performance problem)
cursor jump The rotation setting is not good, the mouse (cursor) is positioned incorrectly
Compatibility issues
8. Android Parcelable code generator
Automatically help you to implement Parcelable plug-ins for beans, which saves much trouble.
1. Create a Bean, then Alt+Insert, select Parcelable
2. When you're done, you can see that Parcelable is automatically done for us
9. WIFI ADB ULTIMATE
For remote debugging through network wifi, what we often hear is the ADB Wifi or Android Wifi ADB plug-in. Now there is a stronger alternative plug-in WIFI ADB ULTIMATE, which has a better interactive interface and functions, try it now .
After successfully connecting with the data cable once, you can directly connect to wifi in the future.
10. LeakCanary
Tools to detect memory leaks
11. OK,Gradle
Official website address: https://github.com/scana/ok-gradle is
a plugin for searching artifact id of popular Java libraries, gradle relies on automatic completion.
As long as you remember the fuzzy name, you can search for it and rely on it. It's super easy to use 必装
.
Generally you don't know how to open this shortcut? Come, teach you the posture. Search for the name as shown in the figure, and then set the shortcut key.
12. Json Parser
Automatically parse Json data plugin
13. JUnitGenerator V2.0
Create a plug-in for testing
14. Code Cloud Gitee
Gitee is domestic, Github is foreign, one picture to understand their relationship
如上插件是我认为需要必装的插件,一些花里胡哨无实际意义的插件我就不推荐了。 后面如发现很实用的插件会持续更新博客,欢迎小伙伴在评论区留下你们认为非常棒的插件。
Dear, the plugin is good, remember to collect it!
Recommended link: