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 61035 - Quotation completion too eager
Summary: Quotation completion too eager
Status: RESOLVED DUPLICATE of bug 50006
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-15 14:36 UTC by randahl
Modified: 2007-11-05 13:38 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 randahl 2005-07-15 14:36:11 UTC
In the following statement

doSomethingWithTwoStrings("Adam", Eve);

if you try to type the missing quotes arround the Bar string you get

doSomethingWithTwoStrings("Foo", ""Bar);

after typing the first quote before Bar, and you get

doSomethingWithTwoStrings("Foo", ""Bar"");

after typing the second.


I suggest you change this to either
1. Best solution: When the first quote is typed NB adds the second quote *after*
Bar.
2. Easiest solution: When the first quote is typed nothing happens.


Randahl
Comment 1 Roman Strobl 2005-07-16 09:20:18 UTC
Yes, this is quite annoying. Duplicate of issue 50006.

*** This issue has been marked as a duplicate of 50006 ***