Closed twoco closed 2 years ago
Fixed by setting: "Lua.workspace.preloadFileSize": 1000
src
Consider to set default to e.g. 200 kb? And / or make a note of it in the documentation / getting started.
I agree with @twoco, this should really be something that is documented as when the size limit is reached, the language server does not provide complete functionality. While that is fine, documenting how to update the size limit is important. Users should not be expected to search the source code to establish how to set this
I cannot use the love2d library due to file size limit of love.graphics.
I use the Lua extention with this config:
But I get errors / warnings that
graphics
does not exist onlove
. But e.g.love.audio
works. What's wrong?.vscode\extensions\sumneko.lua-2.6.0\server\meta\3rd\love2d\library\love.lua
On vs code restart I get a notification:
Is this just a setting that needs editing or a technical / fixed limit? From this extention or vscode itself?
src: https://github.com/sumneko/lua-language-server/blob/2.6.0/script/files.lua#L456