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.

Android Studio常用插件_第1张图片

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 for SelectorChapek

or

  • download it and install via Preferences→Plugins→Install plugin from disk
How to use it:
  1. Right-click folder with your resources e.g ‘drawable-xhdpi’

Android Studio常用插件_第2张图片

  1. Select ‘Generate Android Selectors’

[外链图片转存失败(img-pntAXCyZ-1563157195867)(https://raw.githubusercontent.com/inmite/android-selector-chapek/master/img/select_option.png)]

  1. All selectors automagically appear in the ‘drawable’ folder!

Android Studio常用插件_第3张图片

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)