Android Studio 插件:eventbus3-intellij-plugin

1,961 阅读1分钟

引导 EventBuspostevent

这是个比较实用的插件,然而对于最新版的 EventBus 3.0.0 无效,原作者久久没有回应 issue,我尝试让这个插件可以工作

主要Bug修复工作:

  • 修改包名和方法名以适应 EventBus 3.X
  • 替换一个在新版的 intellij plugin SDK 已经不存在的类
  • 增加若干 try-catch ,防止插件崩溃

下载 jar 文件, 然后在插件界面选择"Install Plugin From Disk" 进行安装

Copyright 2015

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.