Originally Posted by Vladinator
Also a question about lua formatting, is there some tool to help reformat a whole file of code? Let's say you got a big file and the new lines messed up so all is now in one line...
|
Originally Posted by Farmbuyer
If it's only the line endings, then any good text editor should be able to both (a) figure out what the current ending is and adjust its display accordingly, and (b) let you specify what ending to use when saving the file.
If it's more then the line endings, you might try good old GNU Indent and its reformatting modes.
|
Originally Posted by Dridzt
|
I'm not sure actually what you all are talking about, but this got me curious. Do you all mean something that formats/autoindents a bunch of obfuscated/compressed code?
Is there also anything similar to
http://jsbeautifier.org/ but then for Lua, or any other (scripting) languages?