Page 1 of 1

Code compare in combi with Vault 4

Posted: Wed 22 May 2013 13:06
by Koob
Hello,

I would like to use Code Compare in combination with SourceGear Vault (v4), because cc is far superior over the standard sourcegear diff tool.
Problem is that vault, when retreiving a file from history, will not take into account the file extension: the file name is something like 35727637.27683
Therefore Code Compare will not apply the correct type settings like code highlighting.

Is there a way to let Code Compare evaluate the contents of the file to figure out the type of the file instead of using the extension?
I think 95% of the files are vb.net files. Is it possible to set this as the default type for Code Compare?

Thanks,
Jaap.

Re: Code compare in combi with Vault 4

Posted: Wed 22 May 2013 13:29
by AlexeyN
Hello. You can setup the Code Compare default language from Options dialog box (Tools -> Options -> Environment -> Default language)
You can also change the current document's language using Language drop-down list on the Code Comparison toolbar.