[jbosstools-issues] [JBoss JIRA] (JBIDE-26751) Content Assist item in the Edit menu is missing when cursor is placed between the angle brackets ('<' and '>') in the beans.xml (CDI project) file

Zbyněk Červinka (Jira) issues at jboss.org
Tue Jul 23 12:28:00 EDT 2019


     [ https://issues.jboss.org/browse/JBIDE-26751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zbyněk Červinka updated JBIDE-26751:
------------------------------------
    Steps to Reproduce: 
1) Create new CDI web project with the beans.xml file
2) write "<>" between the <beans> and </beans> tags or copy the following code:


{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<beans bean-discovery-mode="all" version="2.0"
 xmlns="http://xmlns.jcp.org/xml/ns/javaee"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/beans_2_0.xsd">
<>
</beans>
{code}


3) Place cursor between "<>" character
4) Check the Edit menu item - Content Assist item is not present there

  was:
1) Create new CDI web project with the beans.xml file
2) write "<>" between the <beans> and </beans> tags or copy the following code:


{code:java}
{color:#00875A}<?xml version="1.0" encoding="UTF-8"?>
<beans bean-discovery-mode="all" version="2.0"
 xmlns="http://xmlns.jcp.org/xml/ns/javaee"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/beans_2_0.xsd">
<>
</beans>{color}
{code}


3) Place cursor between "<>" character
4) Check the Edit menu item - Content Assist item is not present there



> Content Assist item in the Edit menu is missing when cursor is placed between the angle brackets ('<' and '>') in the beans.xml (CDI project) file
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-26751
>                 URL: https://issues.jboss.org/browse/JBIDE-26751
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi
>         Environment: OS X 10.14.6
>            Reporter: Zbyněk Červinka
>            Priority: Major
>         Attachments: example_of_context_menu_which_is_present.png, missing_context_menu.png
>
>
> When running the BeansXMLCompletionTestCDI20.class, the Content Assist item in the Edit menu is being checked. See the "missing_context_menu.png" image in the attachment to see the situation and the missing Content Assist item in the Edit menu. Then see the "example_of_context_menu_which_is_present.png" - here is captured the situation where the Content Assist item is present.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)



More information about the jbosstools-issues mailing list