Eclipse Unable to Create In-Place Editor

I have a problem with troubleshooting. My eclipse does not want to open the class in the package editor.

The error that I have is - enter image description here

However, the file is opened using Open with-> Text Editor. It looks like a charm. help me please.

+7
java eclipse class
source share
6 answers

I ran into this problem in my filename.xhtml using Eclipse Mars .

I fixed this:

1. Right-click on the damage file.

2. Select Open With โ†’ Editor by default.

After that, everything returned to how it was.

+10
source share

Your file association settings may be confused.

  • Open a window โ†’ Settings โ†’ General โ†’ Editors โ†’ File associations.
  • Check if the file type (* .java) is in the list.
    • If it is listed, make sure that the correct editor is selected by default.
    • If it is not in the list, add it and edit it using the correct editor.
+3
source share

Had the same problem with .HTML files.

Although my file associations were set correctly, the following solution that solved the problem:

  • Right click on your project file -> Open with
  • Check out another internal editor -> select the editor of your choice (my case = HTML editor)
  • At the bottom, check the box "Use this editor for all ... files" + "Use it for everyone .."
+2
source share

Try:

  • right click -> copy class
  • go to the desktop and paste
  • return to eclipse right click delete class
  • copy and paste from the desktop

This works for me.

+1
source share

I had the same error and fixed it by changing the workspace folder in Aptana: "General โ†’ Startup and Shutdown โ†’ Workspaces". I deleted the existing one and added the following: "C: \ Aptana_Studio \ workplace" (instead of the workspace folder in my user profile).

JFYI: I found that this error occurred after I installed Eclipse for Java.

0
source share

I had the same error when I started my eclipse.
I fixed it by deleting the .project file and adding the project to my workspace again.

0
source share

All Articles