Home > Back-end >  Eclipse is the latest version 4.9 of js files inside the variable does not highlight
Eclipse is the latest version 4.9 of js files inside the variable does not highlight

Time:11-20

Eclipse 4.9, the latest edition of the 201809
Js file open, click on the variable, used to put this all local variables gray highlighted, not now, click on the variables don't respond, open the JavaScript - Editor - Mark Occurence is checked by default, the General - Editors - Text Editors - Annotations in the default setting is right,

CodePudding user response:

Each master, I have a new discovery,

I describe the problem.
Use JavaScript Editor open js file, we click on a variable, then all this variable will be highlighted, no problem, the following figure

Variable sum are highlighted,
But, if I use the define to defined as a module, have highlighted, such as

Cursor is click on the sum variables, but this time, not all the variable sum highlighting, because with a define.

After I try one release a version, found the problem started with version Oxygen before until the neon can also, I found that from the beginning of the Oxygen, the outline of js file, neon version of js outline shows that goes like this:

The inside of the watch, is to define the module test methods, listed in the outline, show only one line of the test method name is finished,

And from the beginning of the Oxygen, the outline became so

There are two changes, one is to define displayed on the top, is also the most outer layer, the test methods in the define, the second is the test method of the variables listed inside, this time, click the test method of the variable name, not highlighting,

Starting from the Oxygen at the back of the Photon, the 2018-09, 2018-12 are like that, which is 4.8, 4.9, 4.10, the previous version can be highlighted,

This problem can appear only after the outermost layer and define, do not add the define, just write methods in js file is no problem,

CodePudding user response:

No one know? Everyone need not write js eclipse?

CodePudding user response:

To meet this problem, is there a way to solve? My eclipse is version 4.13, is how the upgrade and the back, js not highlighted really very very very inconvenient
  • Related