Alex Rivera | Logout

Classes generated by custom T4 generator look messy

Asked 2011-12-23T14:13:02.313
9

After running the generator output files with code look really disordered. I know I will probably never look into those files but it is nice to see generated code nicely structured while developing a generator.

Any suggestions are welcome.

Edit
Report

1 Answer

5

never look into those files

as long as the code works, who cares. rest easy friend, move on to more important things :)

but if you REALLY want to do this, I'd suggest adding a code-reformatting process to your continuous build system. see How to force code style formatting as part of the build? for an example

answered 2011-12-23T14:16:01.393

Your Answer