5
votes

In the Netbeans (v 7.01) code complete options I have disabled:

All Languages -> Insert Closing Brackets Automatically
Html -> Equals sign (=) Keypress After Attribute Name Autocompletes Quote Set
Html -> Quote mark (") Keypress After Attribute Name Autocompletes Closing Quote

and yet if I type out the following html line:

<div class = "">

Netbeans corrects this to:

<div class = """>

So in other words, the IDE adds in an extra quote mark. The problem doesn't seem to happen in PHP scripts, only HTML. But I'm finding it extremely infuriating and I can't figure out how to stop it!

Anyone have any idea what's going on?

1
What is your netbeans version ? This was a bug but fixed > 6.9.1bilash.saha
was it? I have version 7.0.1 but the problem is still occuringSpoonface
See same question here in netbeans blog forums.netbeans.org/ptopic32599.html with no answers !!!bilash.saha
hmm that's from a while ago too, maybe it's a bug. A terribly annoying oneSpoonface
looks like the netbeans link above may have been mis-pasted, it's nothing to do with code completion...StackExchange What The Heck

1 Answers

0
votes

This is a bug in NetBeans. Bug 224340 HTML auto-completion adds extra quote on properties was opened on it. Please update the bug with any additional comments.

EDIT:

Added a video on Vimeo demonstrating the behavior. BUG#224340 NetBeans 7.2.1 HTML auto-completion adds extra quote on properties