- shankes
博客访问链接:
CSDN :shankes的博客
简书 : shankes
github:sankes.github.io
Android Studio常用插件
文章目录
1.Alibaba Java Coding Guidelines
Alibaba Java Coding Guidelines plugin support.
2.Android Material Design Icon Generator
This plugin help you to set material design icons to your Android project.
3.CodeGlance
InteliJ plugin that displays a zoomed out overview or minimap similar to the one found in Sublime into the editor pane. The minimap allows for quick scrolling letting you jump straight to sections of code.
- Works with both light and dark themes using your customized colors for syntax highlighting.
- Worker thread for rendering
- Color rendering using InteliJ’s tokenizer
- Scrollable!
- Embedded into editor window
- Complete replacement for Code Outline that supports new Intellij builds.
[外链图片转存失败(img-1CT0ilqF-1563157195863)(https://raw.github.com/Vektah/CodeGlance/master/pub/example.png)]
4.SelectorChapek for Android
This Android Studio plugin automatically generates drawable selectors from appropriately named Android resources.
How to install it:
- in Android Studio: go to
Preferences→Plugins→Browse repositories
and search forSelectorChapek
or
- download it and install via
Preferences→Plugins→Install plugin from disk
How to use it:
- Right-click folder with your resources e.g ‘drawable-xhdpi’
- Select ‘Generate Android Selectors’
[外链图片转存失败(img-pntAXCyZ-1563157195867)(https://raw.githubusercontent.com/inmite/android-selector-chapek/master/img/select_option.png)]
- All selectors automagically appear in the ‘drawable’ folder!
Naming convention:
In order of plugin to work, resources need to be appropriately named. The plugin supports png or nine-patch files with certain suffices anywhere in the file name. You can also combine any suffixes together.
Mapping
File name suffix | Drawable state |
---|---|
_normal | (default state) |
_pressed | state_pressed |
_focused | state_focused |
_disabled | state_enabled (false) |
_checked | state_checked |
_selected | state_selected |
_hovered | state_hovered |
_checkable | state_checkable |
_activated | state_activated |
_windowfocused | state_window_focused |
Pull requests are welcomed!
5.String Manipulation
Provides actions for text manipulation:
[外链图片转存失败(img-GzVQtlmk-1563157195870)(https://plugins.jetbrains.com/files/2162/screenshot_15076.png)]
[外链图片转存失败(img-U6gKJacK-1563157195873)(https://plugins.jetbrains.com/files/2162/screenshot_16015.png)]
感谢
如果您觉得对您有所启发或帮助(并且个人有余力,感谢打赏)