Home » Language IDEs » Java Development Tools (JDT) » can not highlight all occurrence of a variable in javascript file in new version of eclipse(can not highlight all occurrence of a variable in javascript file in new version of eclipse)
can not highlight all occurrence of a variable in javascript file in new version of eclipse [message #1803458] |
Thu, 28 February 2019 21:39  |
Eclipse User |
|
|
|
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:

2. put it in a define module, the hightlight does not work:

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:

4. before version Neon, the outline shows the function name only:

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 742 times)
Attachment: 2.jpg
(Size: 9.83KB, Downloaded 753 times)
Attachment: 4.jpg
(Size: 6.01KB, Downloaded 751 times)
Attachment: 3.jpg
(Size: 2.59KB, Downloaded 742 times)
|
|
| |
Re: can not highlight all occurrence of a variable in javascript file in new version of eclipse [message #1803698 is a reply to message #1803580] |
Wed, 06 March 2019 20:22   |
Eclipse User |
|
|
|
Hi Stephan, thanks for your reply, I try to find answer and search by keywords "occurrence", I see there are some posts in this forum, so I post in this forum.
I download the eclipse of version Neno, I don't install plugins, and it works, but for version Oxygen, I download the eclipse, it doesn't work. so I guess there are some changes between version Neno and Oxygen so it does not work, also that is why I ask for help in this forum.
Thanks for your answer, I tried some plugins of javascript or web developer, try to find if there is any plugin I can use to get it work. but none of them works.
Is there a configuration or way to make it work? or, Is the feature really removed from version Oxygen so it does not work any more from version Oxygen? :(
|
|
| | |
Goto Forum:
Current Time: Sun Jun 22 21:01:10 EDT 2025
Powered by FUDForum. Page generated in 0.12910 seconds
|