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 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:
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 440 times) -
Attachment: 2.jpg
(Size: 9.83KB, Downloaded 439 times) -
Attachment: 3.jpg
(Size: 6.01KB, Downloaded 443 times) -
Attachment: 4.jpg
(Size: 2.59KB, Downloaded 433 times)
|
|
|
Powered by
FUDForum. Page generated in 0.08465 seconds