LuaHelper icon indicating copy to clipboard operation
LuaHelper copied to clipboard

luahelper.base.ignoreFileOrDir doesn't work

Open AMD-NICK opened this issue 3 years ago • 3 comments

I have an addons/path/to/file.lua file in my workspace, but no matter how I tried to change the ignoreFileOrDir setting, it still displays warnings

The options I've tried are:

  • addons/path/to/file.lua
  • /addons/path/to/file.lua
  • ./addons/path/to/file.lua
  • path/to/file.lua
  • /path/to/file.lua
  • ./path/to/file.lua
  • file.lua
  • /absolute/full/path/to/file.lua

Nothing worked


Extension version: v0.2.16

AMD-NICK avatar Jun 22 '22 22:06 AMD-NICK

bonus :)

Incorrect [Warn type:20], self assign error

screenshot_2022-06-23_01 56 42@2x

AMD-NICK avatar Jun 22 '22 22:06 AMD-NICK

luahelper.base.ignoreFileOrDir,it means is to ignore analyzing files or folders. luahelper.Base:ignoreFileOrDirError, it means is to ignore errors for files or folders.

you should set luahelper.Base:ignoreFileOrDirError, But now there is a bug that it will not take effect immediately after you set it, you should restart VSCode's project.

Or you can also set the following properties, it will take effect immediately. image

yinfei8 avatar Jul 19 '22 03:07 yinfei8

@yinfei8 is this setting recursively ignoring files if it's a folder?

rockingdice avatar Dec 10 '22 06:12 rockingdice