LuaSublime icon indicating copy to clipboard operation
LuaSublime copied to clipboard

Globals highlighting, add it?

Open jonjonsson opened this issue 11 years ago • 0 comments

Hi,

I really missed highlighting of globals from my old IDE. It was bothering me so much that I went back to the old IDE. Then I decided to taka a look a at modifying the live parser from this plugin and it was not so hard to add highlighting of globals.

Besides the obvious that it lets you know when you forget to localize it is also highlights potential spelling errors. Example, "intputStr" capitalized wrong in this screenshot: http://i.imgur.com/BiizlEd.png

Edit: BTW there is a limitation in that I only know the line number the global is in and it only highlights the first instance of the global name found in the line: http://i.imgur.com/vjCDYs9.png

jonjonsson avatar Sep 01 '13 03:09 jonjonsson