java - 使用 Eclipse Neon 进行 Coffee-Bytes 代码折叠

标签 java eclipse eclipse-plugin

我在 MacOSX 10.12 上使用 Eclipse-Neon。我想使用 Coffee-Bytes 插件。

我已阅读并尝试了

中的建议

is-there-a-way-to-fold-eclipse-sub-blocks-like-an-if-statement ,

how-to-fold-for-while-and-if-blocks-in-java-eclipse ,

how-to-use-coffee-bytes-code-folding/6947590#6947590

以及博客点 how-to-install-coffee-bytes-plugin-in

但是,对于安装,我找不到功能文件夹。在我的 Eclipse 安装文件夹中:

/Applications/java-neon/Eclipse.app/Contents/Eclipse

只有文件夹配置、dropins、插件、自述文件。我读了这篇文章eclipse-plugins-vs-features-vs-dropins并天真地将 Coffe-Bytes 功能内容安装到我的 Eclipse 安装的 dropins 文件夹中,并将 Coffe-Bytes 插件安装到我的 Eclipse 安装的 plugins 文件夹中。 重新启动 Eclipse,转到 Preferences->Java->Editor->Folding,但没有看到上面第三个引用中找到的 GUI 模式。相反,我将架构视为 Eclipse Neon schema

如果我做错了什么,或者 Coffee-Bytes 与 Eclipse-Neon 不兼容,有人可以通知我吗?

最佳答案

(我目前没有权限/能力对此进行测试,但它应该像这样工作。如果您得到的解决方案与我概述的不同,请随意编写您自己的答案。)

解压离线安装程序,您最终应该得到如下内容:

offline.zip
offline_unzipped_name/
   features/
       feature.jar (may be more than one)
   plugins/
       plunin.jar (may be more than one)

offline_unzipped_name 文件夹完整复制到 Eclipse 中的 dropins/ 文件夹中。

但是,您应该(如果可能)始终使用“安装新软件”菜单项将新软件安装到 Eclipse 中。这将确保插件具有所有必需的依赖项。

当然,由于您提供的链接已有大约 5 年历史,因此插件本身可能根本无法按照您的建议与 Neon 配合使用。

关于java - 使用 Eclipse Neon 进行 Coffee-Bytes 代码折叠,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41058208/

相关文章:

java - spring-data-cassandra CassandraBatchTemplate 不公开

java - 未知版本的 Tomcat 被指定为 8.0.24/Eclipse 4.4.2 (Luna)

java - 在 android 2.36 上调试时 Google Play 游戏服务出现问题

java - 无法使用 Eclipse 调试 Web 服务

java - 如何在编辑器关闭后删除 IMarkers(或者为什么 IMarker.TRANSIENT 属性不起作用)?

java - eUML 和 Eclipse 开普勒 : Has someone been able to make it work?

java - 扭曲的最短路径

java - 带有监听器的 BroadcastReceiver 在不使用时会耗尽电池

java - 当给定 LinkedList 时返回大写字符的 LinkedList

gradle - 如何在build.gradle中使用不同的特定于IDE的插件