-
Bug
-
Resolution: Cannot Reproduce
-
Critical
-
3.2.0.CR1
-
None
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:
index.html
<html> <head> <script type="text/javascript"> var a = 1; var b = |a + 1; </script> </head> </html>
- 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'.