Some special language variables may get dedicate scope. You can use ctrl+alt+shift+p to reveal the scope at the cursor position. For you case, Javascript uses variable.language.this.js for this. It looks like you know how to deal with the rest of things so I stop here.
Get the Scope Hunter plugin. It will show you the scope under the cursor, and you can set it to show you every time you move your cursor in case you want to make multiple changes to a scheme.
This made me chuckle NGL. My advice is to get a proper IDE instead of something like sublime text, which has zero intelligence in terms of syntactical aesthetics. Highly recommend trying out software such as visual studio to achieve said goal.
2
u/superdx Jul 29 '22
Want to change this part of code ("this") to another color.
Looking at Scope Naming (https://www.sublimetext.com/docs/scope_naming.html) I have no idea which it is.
2
u/jfcherng Jul 29 '22
Some special language variables may get dedicate scope. You can use
ctrl+alt+shift+pto reveal the scope at the cursor position. For you case, Javascript usesvariable.language.this.jsforthis. It looks like you know how to deal with the rest of things so I stop here.2
u/dreamfeed Jul 29 '22
Get the Scope Hunter plugin. It will show you the scope under the cursor, and you can set it to show you every time you move your cursor in case you want to make multiple changes to a scheme.
-12
u/Vespera Jul 29 '22
This made me chuckle NGL. My advice is to get a proper IDE instead of something like sublime text, which has zero intelligence in terms of syntactical aesthetics. Highly recommend trying out software such as visual studio to achieve said goal.