Eclipse Cannot create in-place editor

前端 未结 6 1364
难免孤独
难免孤独 2021-02-13 15:30

I have a troubleshoot problem. My eclipse don\'t want open class in the package editor.

Error, what i\'m having - \"

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-13 16:13

    Probably your File Association settings are messed up.

    1. Open Window -> Preferences -> General -> Editors -> File Associations.
    2. Check if the file type (*.java) is in the list.
      1. If it's in the list, make sure the correct editor is selected as default.
      2. If it's not in the list, add it and assicate it with the correct editor.

提交回复
热议问题