R
roblox-ts2d ago
kv_

Adding underscore to file name changes require casing

?! The proper case is "Alerts" but it compiles to "alerts" if there is no underscore in the name? I had to disable forceConsistentCasingInFileNames because I could not figure out any other way to fix it but it was complaining about casings being different even though they were not
Solution:
Can you restart the vsc?
Jump to solution
7 Replies
Solution
Tester
Tester2d ago
Can you restart the vsc?
Tester
Tester2d ago
And did you disable by accident the imports autoupdate?
kv_
kv_OP2d ago
no, I did not disable the imports autoupdate how did restarting vsc fix it ??!
Tester
Tester2d ago
Hmm? Might be a bug
kv_
kv_OP2d ago
confusion thank you
Tester
Tester2d ago
Did it work?
kv_
kv_OP2d ago
yeah I restarted vsc and then renamed it to AlertProvider and then it compiled with the correct casing for the import

Did you find this page helpful?