can not highlight all occurrence of a variable in javascript file in new version of eclipse [message #1803968] |
Thu, 14 March 2019 15:08 |
peng pan![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=pape2003%40msn.com) Messages: 4 Registered: March 2019 |
Junior Member |
|
|
after version Oxygen, if there are just common functions in js file, the highlight of all occurrence of selection variable works fine. but if we use define it as a module, then the highlight does not work.
no problem before version Neon.
let me explain it by example:
1. just a common function in the js file, works fine:
![index.php/fa/35068/0/](index.php/fa/35068/0/)
2. put it in a define module, the hightlight does not work:
![index.php/fa/35069/0/](index.php/fa/35069/0/)
we can see, the cursor is in the variable sum, but it does not highlight occurrence of the variable.
3. And I found that, from verion Oxyngen, the outline of js file shows define as the top level:
![index.php/fa/35070/0/](index.php/fa/35070/0/)
4. before version Neon, the outline shows the function name only:
![index.php/fa/35071/0/](index.php/fa/35071/0/)
if it can works as the version Neon (and before) that hightlight all occurrence of the selection variables, it is very convenient to check variable when writting and reading the javascript code.
Attachment: 1.jpg
(Size: 7.33KB, Downloaded 419 times)
Attachment: 2.jpg
(Size: 9.83KB, Downloaded 419 times)
Attachment: 3.jpg
(Size: 6.01KB, Downloaded 424 times)
Attachment: 4.jpg
(Size: 2.59KB, Downloaded 413 times)
|
|
|
Powered by
FUDForum. Page generated in 0.04963 seconds