Upcoming removal of built-in libraries #1950
Replies: 4 comments 9 replies
-
I'm curious, how big are the built-in libraries, exactly? This would make the download lighter, which is a nice plus. P.S: There's this repo for The Binding of Isaac Lua modding: https://github.com/filloax/isaac-lua-api-vscode, you should probably get in touch with the author to have it be ported. |
Beta Was this translation helpful? Give feedback.
-
My addon at goldenstein64/pl-definitions depends on So far, it looks like I have three options:
I'm okay with any of these decisions, but I would prefer (1) the most. |
Beta Was this translation helpful? Give feedback.
-
Could the LuaCATS Addon Manager itself support a
|
Beta Was this translation helpful? Give feedback.
-
I'm still very confused as to how is this supposed to be used, because the For example, both of this configurations seem to work:
Could you hint about how one is advised to configure this, @carsakiller? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
-
Hello 👋
With the VS Code addon manager releasing soon, we have decided to remove the built-in libraries that ship with the language server in a future release. This will likely take place in approximately 6 months.
This means the
${3rd}
shortcut forworkspace.library
will no longer work.Why?
The addon manager for VS Code is being implemented soon, meaning everyone using the VS Code extension will still be able to install definition files super easily.
Removing the built-in libraries helps prevent duplicates for those using VS Code and can help cut down on bloat for everyone. It is unlikely that everyone is interested in all the built-in libraries, so many of them end up not being used.
What is the New Method?
Libraries are now addons. The name “libraries” is a little misleading, as they are actually just definitions (and maybe a plugin).
Those using VS Code will soon be able to use the addon manager to install addons that contain all the definition files that were included in the language server, and more!
Those using other clients can still download all the libraries that were included in the server from the LuaCATS organization. They can then be dropped into a folder and linked to with
workspace.userThirdParty
for functionality similar to how the built-ins have previously worked, or manually linked usingworkspace.library
.Contribute
Collaborating on definition files is now better than ever.
Do you have definition files for a library? Now is the time to contribute them! If you would like it to show up in the addon manager, you can add it to LLS-Addons.
Do you have definition files that you can no longer maintain? If you transfer ownership to me (@carsakiller), I can transfer the project to LuaCATS, where the community can work together to keep the definitions up-to-date.
Future Changes
I am currently investigating how we can make using and sharing definitions files even easier. Ideally, the language server will be able to install and manage addons defined in a setting by simply providing the git clone URLs. This would hopefully be cross-platform and super easy for all users.
Thank you for reading, and please feel free to leave feedback below.
Beta Was this translation helpful? Give feedback.
All reactions