James Porter writes: > KHMan wrote: > > Bertrand Mansion wrote: > >> Is there a lua snippet that can "beautify" lua source code, especially > >> indentation? > >> This one <http://lua-users.org/wiki/SciteIndentation> doesn't work well, > >> it's missing a lot of things code snippets within multiline comments for > >> example. Another simple one: http://lua-users.org/wiki/SourceCodeFormatter . There are also various Lua lexers and parsers one can base something like this on: http://lua-users.org/wiki/LuaGrammar . I agree that reformatting comment contents (lacking any standard grammar for them) is not a well-defined problem.