Doesn't work for me
Closed this issue · 4 comments
Running OS X 10.6.8
Brackets sprint 43 experimental build 0.43.0-14375 (release 287868769)
Have you tried running it on a really simple JavasScript file that you know should underline something? e.g.
var x = foobar;
should underline foobar
in red. Note that the file is not highlighted if it cannot be parsed, and the parser doesn't currently support ES6 (although I plan to fix that).
Hi, thanks for quick response.
The sample code provided works. I was expecting the extension to highlight the variables themselves, not foobar
but x
. For example it doesn't highlight global variables which are not set yet, e.g, var w, google;
And it doesn't highlight the variable itself, w
or google
.
That's because they aren't global. They're local to the current scope because they are defined using var. In most JavaScript environments ( browserify, commonjs etc) that makes them local to the file
This code sample doesn't work on Brackets 1.2. I have removed all extensions except this one and it still doesn't mark foobar in red.