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 193260

Summary: Bad code completion for URL parameter
Product: web Reporter: Martin Fousek <marfous>
Component: CSS Visual ToolsAssignee: Jan Stola <jstola>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 6.x   
Hardware: PC   
OS: Other   
Issue Type: DEFECT Exception Reporter:

Description Martin Fousek 2010-12-10 22:41:12 UTC
Product Version: NetBeans IDE 6.9.1 (Build 201007282301)
Java: 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02
System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb)

Summary:
I'm getting completion bracket on wrong place by writing background-image using url parameter.

Steps to reproduce:
1, create in .css file any style
2, write 'background-image: url('
3, now write char "'" (apostroph)
4, press CTRL+space for code completion
-> you will get this code "background-image: url(')|'"

There shouldn't be completed anything or the bracket should be created behind the apostrophs.
Comment 1 Marek Fukala 2010-12-13 08:48:39 UTC
or some local URLs should be offered