]
Yahor Radtsevich updated JBIDE-8721:
------------------------------------
Attachment: javascript-prj.zip
OpenOn does not work for JavaScript variables on HTML pages
-----------------------------------------------------------
Key: JBIDE-8721
URL:
https://issues.jboss.org/browse/JBIDE-8721
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Affects Versions: 3.2.0.CR1
Reporter: Yahor Radtsevich
Assignee: Alexey Kazakov
Attachments: javascript-prj.zip
OpenOn does not work for JavaScript variables on HTML pages.
*Steps to reproduce:*
# Import attached project [^javascript-prj.zip] into workspace.
# Open index.html with "JBoss Tools HTML Editor"
# Point cursor before "a + 1" as it is shown below:
{code:xml|title=index.html|borderStyle=solid}
<html>
<head>
<script type="text/javascript">
var a = 1;
var b = |a + 1;
</script>
</head>
</html>
{code}
# 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'.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: