Swetch29
(Richard)
September 30, 2023, 12:43am
#1
Is there any coding plugin that translates all identifiers and variables within the code to the PascalCase naming convention?
For example:
local variable = 'Hello!'
print(variable) -- Here, it uses an identifier from the 'variable'
Converted code:
local Variable = 'Hello!'
print(Variable) -- Here, it uses an identifier from the 'Variable'
It’s this simple.
msix29
(msix29)
September 30, 2023, 4:25am
#2
With a quick search, I found this which is exactly what you’re looking for.
1 Like
Swetch29
(Richard)
September 30, 2023, 6:54am
#3
No luau typing seems crazy, but it’s enough. I’ll see if i can convert it’s AST to support Luau typing.
Thanks!
msix29
(msix29)
September 30, 2023, 6:58am
#4
Weird he didn’t include that to be honest, it would be pretty easy to edit it, hopefully.
Anytime :).
1 Like
I spent a ridiculous amount of time preventing it from converting typed luaU to prevent it breaking code. I don’t think typed luau support is viable for a number of reasons primarily the lexer it Is built off, You would need to start from scratch, it’s not easy to add.
1 Like
msix29
(msix29)
October 3, 2023, 4:38am
#6
LuaBearyGood:
it’s not easy to add.
Oh yikes… Good luck to him then.
Sad thing.
system
(system)
Closed
October 17, 2023, 4:39am
#7
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.