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.
Product Version = NetBeans IDE 7.4 Beta (Build 201306132201) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_21 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.21-b01 I can not use the dep + tab in order to activate dependency template in my edited pom. FYI, it works like a charm in 7.3.
it appears that the problem lies somewhere between code templates and code completion in xml files. writing dep<tab> will always work within <properties> element, but only on some occasions in <dependencies> element. I believe timing is important. If I manage to type fast enough before code completion is computed, I get the code template inserted. If i'm slow dep is interpreted as code completion and since within <dependencies> only <dependency> element is allowed and offered, it's auto-inserted. adding a new code template with shortcut "dp" and same body as "dep" appears to have no problems. reassigning to xml for evaluation if that's a correct behaviour or not. maybe we will have to change the code templates.
IMHO, change "dep" to "dp" as shortcut for dependency templace is fine for me.
Created attachment 137738 [details] completion not working for spring.version property
Seems to work in 8.1dev build