Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-15195

Code assist should not suggest #{} for HTML5 files in properties view

XMLWordPrintable

      1. Create a static web project
      2. Create an HTML5 file:

      <!DOCTYPE html>
      <html>
        <head>
          <meta name="viewport" content="width=device-width, initial-scale=1">
          <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css" />
          <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
          <script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
        </head>
      <body>
      	<div>
      		<div data-role="page" id="page-1">
      		</div>
      	</div>
      </body>
      </html>
      

      3. Set cursor on <div data-role="page" id="page-1"> tag
      4. Open Properties View
      5. Click on value field of data-role attribute
      6. Ctrl+Space
      7. FAILURE: There is #{} proposal in the list:

            alexeykazakov Alexey Kazakov
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: