qmegas opened a new issue, #4376:
URL: https://github.com/apache/netbeans/issues/4376
### Apache NetBeans version
Apache NetBeans 14
### What happened
Here simple code that explains the problem:
```JS
class Foo {
bar = {}; //Line 2
test(someArray) {
this.bar = {}; //Line 5
someArray.forEach((val) => {
this.bar[val] = 1; //Line 7
});
}
}
```
When put cursor on class property in line 2 or 5, then it highlighted both
on line 2 and 5, but not in line 7. Same vise versa, when put cursor on the
property on line 7 it does not highlighted in line 2 or 5.
### How to reproduce
See bug description for code to reproduce
### Did this work correctly in an earlier version?
No
### Operating System
Windows 10
### JDK
16.0.1
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
_No response_
### Are you willing to submit a pull request?
No
### Code of Conduct
Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists