Eclipse Outline View is empty

前端 未结 16 990
轮回少年
轮回少年 2021-02-04 08:15

A simple one today. My Outline view in eclipse does not show me any methods or fields anymore. I have selected the few options that are available in the outline vie

16条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-04 08:46

    Apparently the reason for this problem is that the DLTK (Dynamic Languages ToolKit) index is borken.

    Following Five tips for speeding up Eclipse PDT and nWire, I have closed Eclipse, and only deleted the h2 database (*.db) files in /.metadata/.plugins/org.eclipse.dltk.core.index.sql.h2/.

    When restarting Eclipse, the databases files are created again, and after that the Outline View is working again. IIRC, this is the second time that I had this problem (first with Eclipse 3.7.x and now 4.2) and that this solution worked for me.

提交回复
热议问题