Compatible with: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion GoLand DataGrip Rider MPS Android Studio
May 25, 2017
1 207
This is a tool to remove butterknife codes. How to use: First, open the file with butterkinfe in the editor and choose the codes to be replaced; Second, right click and the popup menu will contain a "CX5" item. Click the "CX5" and choose which situation you should use. There are totally three situations,"Activity","Fragment" and "ViewHolder" which convert codes with "findViewById","contentView.findViewById" and "itemView.findViewById". After the codes converted, a row of function call codes is generated,e.g. "findView()" for activity or "findView(itemView)" for viewHolder. This function call should be used to replace "ButterKnife.bind(this)" or "ButterKnife.bind(this,itemView)" with your own.

Download plugin

Recent change notes

This time the github website is absolutely added to description.