Tarlog 插件需要安装 Java 开发工具 (JDT)。如果您更喜欢使用专为非 Java 开发(例如 PHP 开发)设计的 Eclipse 版本,这一点很重要。
就我而言,tarlog 在 Eclipse 启动时未被识别。
所以我通过 Eclipse Marketplace 安装了 JDT。
如果没有 JDT,插件无法识别,查看日志文件:
!MESSAGE Unable to satisfy dependency from tarlog.eclipse.plugins 1.4.2 to bundle org.eclipse.jdt.ui 3.4.0.
/home/knb/.p2/pool/plugins/org.eclipse.platform_4.6.1.v20160907-1200/splash.bmp
Debug options:
file:/opt/eclipse/php-neon/eclipse/.options loaded
Time to load bundles: 51
..
[p2] Mon Nov 14 10:05:24 CET 2016 - [Start Level: Equinox Container: 50199877-49aa-0016-1ecb-d3e3ab767be8] [reconciler] No extra requirements.
!SESSION 2016-11-14 10:05:19.506 -----------------------------------------------
eclipse.buildId=4.6.1.M20160907-1200
java.version=1.8.0_111
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.epp.package.php.product -Dhelp.lucene.tokenizer=standard -Dosgi.requiredJavaVersion=1.7 -XX:MaxPermSize=256m -Xms256m -Xmx3072m eclipse
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.php.product -Dhelp.lucene.tokenizer=standard -Dosgi.requiredJavaVersion=1.7 -XX:MaxPermSize=256m -Xms256m -Xmx3072m eclipse -clean -console -consoleLog -debug /opt/eclipse/php-neon/eclipse/.options
[p2] Mon Nov 14 10:05:24 CET 2016 - [Start Level: Equinox Container: 50199877-49aa-0016-1ecb-d3e3ab767be8] [reconciler] [plan]
Some units will not be installed, because they are already installed or there are dependency issues:
tarlog.eclipse.plugins 1.4.2
!MESSAGE Problems resolving provisioning plan.
!MESSAGE Unable to satisfy dependency from tarlog.eclipse.plugins 1.4.2 to
bundle org.eclipse.jdt.core 0.0.0.
!MESSAGE Unable to satisfy dependency from tarlog.eclipse.plugins 1.4.2 to
bundle org.eclipse.jdt.ui 3.4.0.