I am currently trialling Resharper 8 and I am currently looking at writing a plugin to allow the development team to easily migrate a project/solution between 2 different versions of an internal API.
I have got as far as getting a list of files contained within a solution.
I am now looking to replace text within files, what would be the best way of doing this?
Would it be better to use the IPsiSourceFile or a IFile interface?
It is possible to loop through the tokens collection?