-
Bug
-
Resolution: Done
-
Major
-
3.3.0.M3
-
None
CA, when invoked after a '<bundle name>.' (whether automatically or manually) and applied, inserts a long-named property surrounded by square brackets right after existing '.'-character (must replace that character)
Steps to reproduce:
==================
EXECUTE: Create JSF/Seam or CDI project
EXECUTE: Find/create a resource bundle and add a long-named property like 'org.jboss.long.named.Property'
EXECUTE: Open some xhtml or jsp page and add an EL expression like '#{<bundle variable name>.'
ASSERT: Content Assist window appeared automatically (If it didn't try to invoke CA manually by pressing Ctrl-Space when text cursor is placed right after '.' (dot)-char). There is a property named as '['org.jboss.long.named.Property']' within the proposals
EXECUTE: Select '['org.jboss.long.named.Property']' property proposal and apply it.
ASSERT: The text in editor is replaced by: '#
' ('.' (dot)-char has disappeared and property name surrounded by square brackets and quotes is added)