Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move from .lua file extensions to .luau #334

Open
autonordev opened this issue Aug 23, 2024 · 2 comments
Open

Move from .lua file extensions to .luau #334

autonordev opened this issue Aug 23, 2024 · 2 comments
Milestone

Comments

@autonordev
Copy link
Collaborator

autonordev commented Aug 23, 2024

I can't imagine any potential breakage here, unless you're modifying the source (which we don't support).

GitHub now supports Luau, so nothing needs to be added to .gitattributes, and this also means that GitHub's syntax highlighting will show Luau features (whereas the current Luau highlighting doesn't).

On VSCode: older Lua extensions, including ones built for Roblox, will not understand .luau extensions, but this shouldn't be an issue for anyone using luau-lsp, and I assume roblox-lsp supports them.

This is not open to contributors, except for the maintainers. A pull request resolving this is not desired; it would cause a lot of noise on the commit history because of how GitHub handles pull requests.

@autonordev
Copy link
Collaborator Author

For another project, I wrote this powershell to recursively do precisely this:

Get-ChildItem "*.lua" -Recurse | Rename-Item -NewName { $_.Name + 'u' }

@autonordev autonordev added this to the 1.13 milestone Sep 12, 2024
itsrenderman added a commit to itsrenderman/Cmdr that referenced this issue Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
@autonordev and others