【问题标题】:Eclipse Indent GuideEclipse 缩进指南
【发布时间】:2013-07-31 03:24:56
【问题描述】:

我正在尝试从以下网页为 Eclipse 安装缩进指南插件

http://sschaef.github.io/IndentGuide/

我之前没有在 eclipse 中安装过插件,希望能得到一些帮助。

我已将文件下载为 .zip 并解压缩。首先,我将文件放在插件文件夹中,但找不到该文件。然后我尝试将每个包含的文件夹“pdt_tools.indentGuide”、“pdt_tools.indentGuide.feature”和“pdt_tools.indentGuide.updateSite”放在 eclipse 插件文件夹中。这次当我转到 Windows>Preferences>General>Editors>Text Editors>Indent Guide 时,我收到一个错误“创建此首选项页面时发生错误”。

'无法创建选定的首选项页面。 jp.sourceforge.pdt_tools.indentGuide_1.3.2.v20120803' 找不到 jp.sourceforge.pdt_tools.indentguide.preferences.IndentGuidePreferencePage'

谁能帮我安装这个插件?

【问题讨论】:

    标签: eclipse plugins


    【解决方案1】:

    转到帮助->“安装新软件”。在打开的窗口中,您可以找到带有“输入或选择站点”的文本框 - 输入 http://sschaef.github.io/IndentGuide/update/ 按 Enter。下面的 Grid 应该会刷新,选择“Indent Guide”并完成安装。

    【讨论】:

      【解决方案2】:

      不知道如何从 zip 安装,但我所做的是获取链接底部的“更新 URL”,将其放入 Eclipse 帮助|安装新软件对话框顶部的框中,然后安装使用eclipse系统的插件。它对我很有用,并解决了我对 eclipse 的主要抱怨之一。

      【讨论】:

      • 为我工作也谢谢。缩进指南绝对应该是 eclips 的标准。
      【解决方案3】:

      我安装了! 安装步骤(可能是错误的步骤)但是在我的 STS 上基于 eclipse 4.4 它正在工作! 第一:

      1. 将 feature.xml 从 pdt_tools.indentGuide.feature 复制到 pdt_tools.indentGuide
      2. 在 pdt_tools.indentGuide 打开 build.properties
      3. 将“feature.xml”文本添加到 bin.includes = src/,\plugin.xml,\META-INF/,\OSGI-INF/ 您将拥有:
      source.. = src/
          output.. = bin/
          bin.includes = feature.xml,src/,\
                             plugin.xml,\
                             META-INF/,\
                             OSGI-INF/
      
      1. 然后将所有没有“.project”的文件从 pdt_tools.indentGuide.updateSite 复制到 pdt_tools.indentGuide
      2. 然后去帮助->安装新软件->添加...->本地->(选择pdt_tools.indentGuide.updateSite)并安装!

      明白了!

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2019-01-31
        • 2016-08-23
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2019-03-11
        • 2011-06-09
        • 1970-01-01
        相关资源
        最近更新 更多