Eclipse Outline View is empty

前端 未结 16 983
轮回少年
轮回少年 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:40

    A couple of ideas:

    • Have you clicked the Link with Editor button on the Outline view to ensure the view reflects the currently open Java file?
    • Is the java class in a source dir as per Eclipse? Right click on the project > Build path > Configure Build Path > Source tab: The package structure of your class should be under one of these source folders.
    • (a bit paranoid but just checking) Has your java class have the .java file extension?
    • Does the Outline view working in any other project?
    • Precaution measure: Restart Eclipse to see whether this changes anything.
    • If Ctrl + o (quick view) works then there must be something wrong with the Outline view itself: Double check in the drop down-menu Filters nothing is filtered out and same for the Visible Categories section.

提交回复
热议问题