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 206838

Summary: [completion] inserts comma/double colon character if there are no items to offer
Product: web Reporter: Vladimir Riha <vriha>
Component: CSS Visual ToolsAssignee: Jan Stola <jstola>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 7.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Riha 2012-01-02 10:33:35 UTC
There are 2 cases (probably related). First try this:
.notebox {
    box-shadow: rgba(0,0,0,0.4) 10px 10px inset |;
}

And invoke CC at the position of "|"
=> "," is autocompleted



The second one is similiar:
.notebox {
    box-shadow|: rgba(0,0,0,0.4) 10px 10px inset;
}

=> invoking CC at "|" causes 
.notebox {
    box-shadow: : rgba(0,0,0,0.4) 10px 10px inset;
}



Product Version: NetBeans IDE Dev (Build 201201010601)
Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10
System: Linux version 3.0.0-14-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Marek Fukala 2012-05-10 08:16:59 UTC
(In reply to comment #0)
> There are 2 cases (probably related). First try this:
> .notebox {
>     box-shadow: rgba(0,0,0,0.4) 10px 10px inset |;
> }
> 
> And invoke CC at the position of "|"
> => "," is autocompleted
The only comma symbol is allowed at the position so it is auto-completed by the completion as the only item.

> 
> 
> 
> The second one is similiar:
> .notebox {
>     box-shadow|: rgba(0,0,0,0.4) 10px 10px inset;
> }
very minor issue - similar cause - the only item is auto-completed. This may possibly be improved somehow.