- This topic has 11 replies, 2 voices, and was last updated 19 years, 9 months ago by cdebracy.
-
AuthorPosts
-
cdebracyMemberI have 3.8.4 running on Eclipse 3.01 on Windows XP. Both the Workbench editor and the MyEclipse editor have “Show line numbers” checked, but since I’ve installed MyEclipse, the numbers no longer appear.
Additionally, tab characters are being inserted, though I specified spaces, which is driving my checkstyle up the wall.
Any suggestions or are these bugs?
Thanks.
Riyad KallaMemberWhich editors are not showing the line numbers? Also which editors are not inserting space chars?
cdebracyMemberSorry, the java editor seems to have this problem. The XML editor seems ok.
Riyad KallaMember=/
We don’t do anything to the Java Editor, are you absolutely sure this is a clean install of Eclipse 3.0.1 with MyEclipse 3.8.4 for Eclipse 3.0.x?
I’ve double checked on my install and line numbers and spaces are use correctly in the java editor.
cdebracyMemberI can uninstall and re-install MyEclipse if you think that will help.
Also, when I right-click in package explorer, the only Open With options I see are:
Java Editor
Java Model Editor
Visual Editor
______
Text Editor
System Editor
In-place Editor
Default EditorI looked under File Associations and noticed that there was no association for *.java for the MyEclipse Structured Source Editor.
After adding it and making it the default, I now get the error:
Cannot open default editor on XXX.java. Editor could not be initialized.
Riyad KallaMemberI looked under File Associations and noticed that there was no association for *.java for the MyEclipse Structured Source Editor.
Ahh, don’t do that. MyEclipse is a J2EE *addon* to Eclipse, it doesn’t replace any of the functionality of Eclipse, that includes the Java Editor. I think the best bet now for you would be to:
1) Reinstall Eclipse 3.0.2 SDK clean to a new location
2) Reinstall MyEclipse 3.8.4 against that Eclipse install
3) Create a new workspaceThen create a new sample project and make sure everything works. From there you can work on importing your projects one at a time.
cdebracyMemberI’ll have to try that later. It’s going to mean re-installing all my plug-ins and re-configuring as well.
Thanks. I will let you know.
Riyad KallaMemberI’ll have to try that later. It’s going to mean re-installing all my plug-ins and re-configuring as well.
No this is exactly what I don’t want you to do, I just want to do a clean reinstall for a sanity check (use a new workspace, do not use the same workspace), if that doesn’t work either then we need to troubleshoot some other way. If that DOES work, then we need to check as you install each plugin and figure out which one is causing the problem.
cdebracyMemberUnderstood. I’ll try that now. Checking my .metadata/log file I found this at the bottom:
!ENTRY com.ibm.sse.model 4 4 Mar 29, 2005 08:54:52.629
!MESSAGE null_argument: model handler can not be null
cdebracyMemberI did a fresh install of Eclipse 3.0.2 into a new directory and created a new workspace.
Re-installed MyEclipse to point to the new eclipse directory.
Created a new project and my .java files still do not show line numbering.
Riyad KallaMember1) You are opening the Java files with the “Java Editor”, correct?
2) Window > Preferences > Java > Editor > “Show Line Numbers” is checked right? Try unchecking, hit Apply then rechecking and hit apply. Did that work?
cdebracyMemberSolved. I was focused on the Workbench editor and didn’t realize there was one under Java. New to Eclipse, so hope to not make that mistake again.
Thanks for all the help.
-
AuthorPosts