Eclipse Disable Auto Correct

无人久伴 提交于 2020-04-17 02:32:53

问题


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


回答1:


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.




回答2:


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




回答3:


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.




回答4:


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.



来源:https://stackoverflow.com/questions/34521576/eclipse-disable-auto-correct

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!