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.
Summary: | Maven «dep» the maven dependency code template does not work anymore | ||
---|---|---|---|
Product: | xml | Reporter: | lforet <lforet> |
Component: | Text-Edit | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | markiewb |
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | completion not working for spring.version property |
Description
lforet
2013-06-21 16:00:07 UTC
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 |