tags:

views:

753

answers:

2

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!

I'm having the problem with both CFEclipse and the PHP editor.

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>

This is HTML, not XHTML - I don't want, or need, my img tags closed.

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.

+2  A: 

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.

SpliFF
A: 

You might try closing your img tag inline properly like this:

<img alt="banner" src="/images/banner.jpg" />

John