JavaScript code problem (722)
Problem with JavaScript code-parser - GOTO DECLARATION and FIND USAGES, example:
- var A1 = {};
- var A2 = {};
- A1.Events =
- {
- Property:0,
- Property1:1,
- Property2:2
- }
- A2.Events =
- {
- Property:3,
- Property4:4,
- Property5:5
- }
-
var e = A1.Events.Property; //<-- If press with CTRL on "Property" - we will not jump to line 6 - dropdown will choise between line 6 and 13, but A1.Events.Property strong defined on line 6. "Find Usages" on this property also find TWO places - line 6 and 13. It's bug or freature ?
请先登录再写评论。
This seems to be a bug, please, file the request
Add in track http://youtrack.jetbrains.net/issue/WI-659