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

OpenOn does not work for JavaScript variables on HTML pages

XMLWordPrintable

      OpenOn does not work for JavaScript variables on HTML pages.
      Steps to reproduce:

      1. Import attached project javascript-prj.zip into workspace.
      2. Open index.html with "JBoss Tools HTML Editor"
      3. Point cursor before "a + 1" as it is shown below:
        index.html
        <html>
        <head>
        <script type="text/javascript">
        	var a = 1;
        	var b = |a + 1;
        </script>
        </head>
        </html>
        
      4. Press Open Declaration hotkey (F3 or Ctrl-click by default)

      Actual result:
      Nothing happens.

      Expected result:
      The cursor must move to the declaration of the variable 'a'.

            vrubezhny Victor Rubezhny (Inactive)
            yradtsevich Yahor Radtsevich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: