Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Eclipse Web Tools Platform Project (WTP) » 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 #1803968] Thu, 14 March 2019 15:08
peng pan is currently offline peng panFriend
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/

2. put it in a define module, the hightlight does not work:
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/

4. before version Neon, the outline shows the function name only:
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 212 times)
  • Attachment: 2.jpg
    (Size: 9.83KB, Downloaded 214 times)
  • Attachment: 3.jpg
    (Size: 6.01KB, Downloaded 212 times)
  • Attachment: 4.jpg
    (Size: 2.59KB, Downloaded 217 times)
Previous Topic:The origin server did not find a current representation for the target resource or is not willing to
Next Topic:User Operation is Waiting Forever
Goto Forum:
  


Current Time: Sun Sep 20 01:47:36 GMT 2020

Powered by FUDForum. Page generated in 0.01191 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top