Eclipse Outline View is empty

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

    I had the same issue where the Outline was empty and the code was not syntax-highlighted.

    To fix it, I right-clicked the file and selected Open With>Java Editor.

    For some reason, Eclipse thought that it should open this particular .java file with the Text Editor instead of the Java Editor.

提交回复
热议问题