Reputation: 455
After manually typing a method name that begins with a lower case letter e.g. load() or
OpcPackage xlsxPkg = OpcPackage.load(excelFile);
Eclipse 'magically' switches the first letter to upper case e.g. Load() or
OpcPackage xlsxPkg = OpcPackage.Load(excelFile);
This is causing a compile error. I looked around the Preferences (e.g. Java > Editor > Content Assist > Advanced) but couldn't spot the right option to disable this feature.How do I disable this auto correct feature? (Please don't suggest I change the method name as it is a third party jar).
Thank you, Josh
Upvotes: 2
Views: 5084
Reputation: 196
To resolve this issue, follow the steps below
Eclipse preferences->Java->Content Assist.
Enable the checkbox with the label
Disable insertion triggers except 'Enter'
That should do the trick
Upvotes: 3
Reputation: 31
I realize this is a little dated, but I had the same problem in late 2017 with Eclipse Oxygen. Here is how I resolved it: Go to Eclipse preferences->Java->Content Assist. Then uncheck "Insert single proposals automatically." This did the trick for me.
Upvotes: 3
Reputation: 66
This post shows someone else had a similar issue with Eclipse 3.7.2, though no solution was posted. What version of Eclipse are you using?
Is it possible you have conflicting jars?
I wish I could have added this as a comment, but alas, I don't have 50 reputation points.
Upvotes: 0
Reputation: 419
In the Window > Preferences menu, you can search for spell checking (located in General > Editors > Text Editors > Spelling) and there you can edit your spell checking options.
Upvotes: 0