I'm using T4 Text templates for automatic code generation, but must of this code is not properly formatted, specially because of the TT files.
i would like to use EnvDTE to apply the smartformat, but all the examples that i've found needs to have the file open on the application.
Is there any way to apply the smartformat to an existing file without openning it?
Does some one have an example?