LuaHelper icon indicating copy to clipboard operation
LuaHelper copied to clipboard

[Feature] Ability to change color for Global/Local variables

Open psycho-neon opened this issue 4 years ago • 2 comments

This will be a great feature if an option can be added that can be able to change color for global variables and local variables.

Proposed setting using luahelper.json:

{
    "globalVarColor": "#xxxxxx",
    "localVarColor": "#xxxxxx",
}

or via VSCode:

"luahelper.global_var_color":"#xxxxxxx"
"luahelper.local_var_color":"#xxxxxxx"

psycho-neon avatar Nov 12 '21 10:11 psycho-neon

There you can set the color of the global variable. Whether local variables need to be set, let me see. image

yinfei8 avatar Nov 12 '21 11:11 yinfei8

This made sense. I didn't see it when I use the vscode "Extension Settings" option when I click the Lua Helper. I thought there is no option for this.

Hopefully the local variables can be considered.

psycho-neon avatar Nov 12 '21 11:11 psycho-neon