-
-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
Which OS are you using?
Windows
Expected Behaviour
When I specify the complicated mask of editor's files.exclude ugh... because there is no other way microsoft/vscode#869
I expect to exclude all files from the VS Code project except .lua, so this should not affect the plugin in any way.
Actual Behaviour
I see that LuaLS file scanning is starting to work incorrectly, it may selectively skip my libraries from Lua.workspace.library list.
Reproduction steps
- Setup Multi-root Workspaces project https://code.visualstudio.com/docs/editor/multi-root-workspaces
for example our file located inproj/data/game/.vscode
// relative to proj/data/game/.vscode
"folders": [
{
"path": ".." // proj/data/game
},
{
"path": "../../scripts" // proj/data/scripts
},
{
"name": "system_data/game",
"path": "../../../system_data/game" // proj/system_data/game
},
{
"name": "system_data/scripts",
"path": "../../../system_data/scripts" // proj/system_data/scripts
}
],- Setup
Lua.workspace.libraryfor correct Multi-root Workspaces file scanning
"Lua.workspace.library": [
"../../data/game",
"../../data/scripts",
"../../system_data/game",
"../../system_data/scripts",
".vscode/library" // some meta definitions in `proj/data/game/.vscode`
],- Everything works fine. Then setup editor's files mask
"files.exclude": {
"**/?*.[!l]*": true,
"**/?*.l[!u]*": true,
"**/?*.lu[!a]*": true,
"**/?*.lua?*": true
},- Now some annotations are missing or the files just haven't been loaded.
Additional Notes
No response
Log
No response
Metadata
Metadata
Assignees
Labels
No labels