I’m using Sublime Text 3, Version 3.2.1, Build 3207
Arrow function is not highlight, and when I using Go to Symbol(Crtl+R), I can’t find the function name in the list
Anyone who can help me to work it out?
Thanks in advance!!
Javascript syntax highlight error
wesley
#1
0 Likes
kingkeith
#2
this is currently unfixable due to the way ST’s tokenizer can’t see past line breaks to know that it is an arrow function. You may want to vote for this feature request:
a workaround is to put the =>
on the same line as the variable name part of the declaration (i.e. remove all line breaks between let
and =>
)
2 Likes