解决:ADT(Eclipse)的Unhandled event loop exception No more handles 导致Java文件无法编辑的问题

问题

在编辑Java文件的时候会报:Unhandled event loop exception No more handles的错误,这是ADT的Java Editor的一个bug,我的ADT是4.3.xxx的版本。

解决方案

  1. 办法就是替换Editor,这里使用WindowBuilder的编辑器插件:http://download.eclipse.org/windowbuilder/WB/release/R201309271200/4.3, 在Eclipse的Help->Install new software中添加插件安装。

  2. 安装完成后,重启Eclipse。

  3. 在Preferences中搜索到File Associations,选择 .java选项,选中Associations editor中的WindowBuilider Editor设置为Default。

  4. 最后,选中任何一个Java文件右击Open With->WindowBuilder Editor。大功告成!!!

你可能感兴趣的:(解决:ADT(Eclipse)的Unhandled event loop exception No more handles 导致Java文件无法编辑的问题)