Sublime Forum

"Go to Definition" not working on variables starting with an underscore

#1

Hello, I have been working on a project in which underscores are sometimes used at the start of variable strings. Go To Definition works great usually, but not on these variables that start with an underscore. Any way I can get Sublime Text 3.2.1 to index variables starting with an underscore?

0 Likes

#2

which syntax? what scope does the variable beginning with an underscore receive, and does it differ from those not beginning with an underscore?
Depending on the answer, you may need to tweak a sublime-syntax file, otherwise a tmPreferences file.

0 Likes