禁用eclipse自动完成 [英] disable eclipse auto completion
问题描述
我爱Eclipse,但我怨恨自动完成与复仇!我发誓,无论我看着prefs还是谷歌,我找不到我在哪里关闭了!
I love Eclipse but I HATE auto-completion with a vengeance! I swear though, no matter how hard I look in prefs or Google I can't find where I turn this off!
我遇到了CFEclipse和PHP编辑器。
I'm having the problem with both CFEclipse and the PHP editor.
如何彻底禁用所有智能引号/标签/大括号自动插入。不是一些它..所有的。无论有多少选项,我都禁止这两个编辑不断尝试为我完成我的代码。通常有刺激性的结果。像这样一个(PHP编辑器):
How do I completely disable all "smart" quotes/tags/braces auto-inserting. Not some of it.. ALL of it. No matter how many options I untick both editors keep trying to finish my code for me.. usually with irritating results. Like this one (PHP editor):
<img alt="banner" src="/images/banner.jpg"></img>
这是HTML,而不是XHTML - 我不想要或需要我的img标签关闭。
This is HTML, not XHTML - I don't want, or need, my img tags closed.
无论如何,这是在我进入首选项后仍然发生的PHP |编辑|打字和偏好| PHP |编辑|代码辅助和每个选项都不选中。
Anyway this is still happening after I've gone to Preferences | PHP | Editor | Typing and Preferences | PHP | Editor | Code Assist and unchecked every option.
我不能是唯一有这个问题的人,但是我找不到任何方法或帮助。
I can't be the only one having this issue but I can't find any howtos or help on this.
推荐答案
我发现如何停止标签自动关闭。由于某种原因,它在网页| HTML文件首选项(即使是PHP文件)。我意识到PHP是嵌入在HTML中,但是看起来奇怪的是编辑器选项跨越这样的方式。您需要重新启动Eclipse才能使此更改生效。
Well I found how to stop the tags auto-closing. For some reason it's under the Web | HTML Files preferences (even for a PHP file). I realise PHP is embedded in HTML but it seems odd the way the Editor options cross over like this. You need to restart Eclipse for this change to work.
这篇关于禁用eclipse自动完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!