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 236428 - Auto-complete of quotes is absolutely horrible in 7.4 (was only really bad in 7.3.x)
Summary: Auto-complete of quotes is absolutely horrible in 7.4 (was only really bad i...
Status: RESOLVED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-26 15:12 UTC by swpalmer
Modified: 2013-11-25 13:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description swpalmer 2013-09-26 15:12:56 UTC
Product Version = NetBeans IDE 7.4 RC1 (Build 201309162201)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0_40
Runtime = Java HotSpot(TM) Client VM 24.0-b56

It is very hard to type quoted strings in 7.4 because the quotes keep getting doubled up and trying to delete the extra one gets rid of both of them.

 if you already have the following (in a groovy file for example):
	'hello

and you try to close the quote, you get this - with two single quotes at the end
	'hello''

if you try to delete one of them it just goes back to:
	'hello

NB should be aware that it is closing the quote and not behave as if you are starting a new string.
In 7.3 you could at least delete only one of the quote quotes that were added.
Comment 1 Martin Janicek 2013-10-14 12:16:30 UTC
Fixed by change-set: web-main #fc6fe4401cc8
Thanks for the report
Comment 2 Quality Engineering 2013-10-15 02:09:31 UTC
Integrated into 'main-silver', will be available in build *201310150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/fc6fe4401cc8
User: Martin Janicek <mjanicek@netbeans.org>
Log: #236428 - Auto-complete of quotes is absolutely horrible in 7.4 (was only really bad in 7.3.x)
Comment 3 Dexy86 2013-11-10 22:00:26 UTC
Interesting but i dont think that this is fixed, i still get this problem
Comment 4 Martin Janicek 2013-11-25 13:15:46 UTC
(In reply to Dexy86 from comment #3)
> Interesting but i dont think that this is fixed, i still get this problem

What version of NetBeans are you using? Can you please try the latest daily build [1] ?

[1] http://bits.netbeans.org/dev/nightly/latest/