Skip to content

Conversation

ffrostfall
Copy link
Contributor

@aatxe
Copy link
Contributor

aatxe commented May 27, 2025

I suspect that the actually good solution for this problem, that doesn't lead to people doing very silly things with their projects (like defining tons of declaration files for luau code they've written), is to handle runtime registration at a build tooling level and have that inform the LSP and so forth. Not necessarily hard blocking this on that, and I recognize that it may be worth introducing something before we get to that point, but the long view IMO is that projects will declare the runtimes they support, registries will know what runtimes are, the package manager will pull type definitions for the appropriate runtimes the project is declared to support, and you'll be able to systematically check locally (and make available to the LSP) those definition files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants