This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 163057

Summary: placing quote in fromnt of string that ends with qoutes makes double quotes
Product: php Reporter: Filip Zamboj <fzamboj>
Component: EditorAssignee: Tomasz Slota <tslota>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Filip Zamboj 2009-04-20 01:20:42 UTC
build: 
Product Version: NetBeans IDE Dev (Build 2009-04-18_15-03-44 )

steps: 

write into editor 

1. $var = /" 
2. add " before /" 
result: ""/"
expocted result: "/"
Comment 1 doug316 2009-09-17 20:29:24 UTC
I concur this is a frustrating feature. No 'helper' features should exist without a setting to disable it.

Just type normal text in a comment and use an apostrophe. Netbeans thinks it's a quotation mark and adds another one.

Or if you are used to typing things quickly and add your own quotes, extras get added in. At the very least, this should
work like parentheses, where if you enter another quote after it automatically put one in for you, it just ignores the
input.
Comment 2 Filip Zamboj 2009-09-22 13:04:52 UTC
Product Version: NetBeans IDE Dev (Build 2009-09-22_12-05-05 )
Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01

works as expected in above mentioned build