isaac-lua-api-vscode
isaac-lua-api-vscode copied to clipboard
set preloadFileSize to 5000 in luarc
the default is 500 but this is not enough to load isaacscript-common
This issue is related to the VSCode extension and not this repository, so post it there, closing it here. I also do not currently have much time to work on the main extension logic with these bigger changes as I would have to learn how to do various things as I'm not yet very familiar with the VSCode API, but I will gladly accept PRs that implement them.
It is also generally recommended to not have code files that big, what is the reason here?
transpiling to multiple files would result in a worse UX, right?
I understand then. Still, that would likely make it load luarooms files too, which would decrease performance in mods that use StageAPI, and performance for the extension (the Lua extension in general) has already been a complaint for developers that use this mod I'd rather not make a worse situation of.
This setting can be changed anyways; the extension only sets it if the current setting is lower than the target setting, so if you increase it it'll stay increased.
I understand then. Still, that would likely make it load luarooms files too, which would decrease performance in mods that use StageAPI, and performance for the extension (the Lua extension in general) has already been a complaint for developers that use this mod I'd rather not make a worse situation of.
can we set sumneko to ignore anything in the luarooms/** glob?
doing that would sidestep the problem you describe