Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. 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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 4.29.1.Final
    • 4.12.0.Final
    • cdi
    • None
    • Hide

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

      <?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>
      

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

      Show
      1) Create new CDI web project with the beans.xml file 2) write "<>" between the <beans> and </beans> tags or copy the following code: <?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> 3) Place cursor between "<>" character 4) Check the Edit menu item - Content Assist item is not present there

    Description

      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.

      Attachments

        Activity

          People

            jmaury@redhat.com Jeff MAURY
            zcervink Zbyněk Červinka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: