Android(安卓)Studio常用插件
- shankes
博客访问链接:
CSDN :shankes的博客
简书 : shankes
码云:shankes.gitee.io
github:sankes.github.io
Android Studio常用插件
文章目录
- Android Studio常用插件
- 1.Alibaba Java Coding Guidelines
- 2.Android Material Design Icon Generator
- 3.CodeGlance
- 4.SelectorChapek for Android
- How to install it:
- How to use it:
- Naming convention:
- Mapping
- 5.String Manipulation
- 感谢
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)]
感谢
回到顶部
如果您觉得对您有所启发或帮助(并且个人有余力,感谢打赏)
微信
更多相关文章
- Android(安卓)分别使用Post与Get实现网络图片加载
- Android(安卓)studio 编译失败Error:Could not read entry ':app
- Android(安卓)App安装失败错误总结
- android 按home键返回到桌面后,再按桌面应用图标又重新打开该应用
- Android(安卓)10 创建文件失败
- Android在做webview与js交互,线程变化以及json传值失败
- 解决Android(安卓)Studio Fetching Android(安卓)SDK component
- Android(安卓)SDK下载和更新失败的解决方法!!!
- Android(安卓)SDK下载和更新失败的解决方法