代码之家  ›  专栏  ›  技术社区  ›  simonalexander2005

双击文件时出现Eclipse TFS错误-org.eclipse.ui.PartInitException:无法打开外部编辑器

  •  0
  • simonalexander2005  · 技术社区  · 6 年前

    在Eclipse的TFS资源管理器中单击.xlsm文件时出现以下错误:

    org.eclipse.ui.PartInitException: Unable to open external editor Excel

    如何解决此错误?

    1 回复  |  直到 6 年前
        1
  •  0
  •   simonalexander2005    6 年前

    在Windows上:

    引导到 Window -> Preferences -> General -> Editors -> File Associations

    如果 *.xlsm 不在文件类型列表中,然后单击 Add... 先加进去。

    完成后,选择 *.xlsm文件 Remove 单击已损坏的默认编辑器,然后单击 添加。。。 并被选中 Microsoft Excel Macro-Enabled Worksheet 从名单上。