Skip to content

improvements to roblox platform requires#1377

Open
hardlyardi wants to merge 3 commits intoJohnnyMorganz:mainfrom
hardlyardi:roblox-platform-require-improvements
Open

improvements to roblox platform requires#1377
hardlyardi wants to merge 3 commits intoJohnnyMorganz:mainfrom
hardlyardi:roblox-platform-require-improvements

Conversation

@hardlyardi
Copy link

@hardlyardi hardlyardi commented Feb 25, 2026

this pr adds support for require-by-string in roblox platform-specific requires (json, yaml, etc.)
sorry in advance for multi feature PR, I can split it up if needed, but I also added luau-lsp.require.dataFilesUseLiteralStrings so someone can choose to have their required data files use singleton types.

@hardlyardi
Copy link
Author

some of the code in this PR is a bit of a mess, going to clean it up & fix the merge conflict

@nnullcolumn
Copy link

PR wasnt even working lmao i forgot to pass in the setting outside of test cases

@nnullcolumn
Copy link

sleep deprivation goes crazy bruh

@nnullcolumn
Copy link

from looking at other code, i think this is the way to get the client config here? i'm not super familiar with this codebase yet though so please let me know if there's a better way, it seems like there r a bunch of ways to reference the client

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants