2

According to the documentation Semanticmerge supports C++ natively.

But when I run it on a set of files (from TortoiseHg), despite the fact that they have a .cpp extension, it thinks they are C#. This of course messes up the language parsing and completely negates the whole point of the tool!

I can't see any settings for file associations, or a manual override for the current merge.

Jon Hodgson
  • 129
  • 10

1 Answers1

1

Lunch the SemanticMergeTool.exe with -l=cpp switch
For a complete set of options run SemanticMergeTool.exe -?

Siyon DP
  • 504
  • 6
  • 20
  • The question asker wanted SemanticMerge to treat the files as C++, not C# (which is what it was already doing, incorrectly), although this is in the right direction. – Hasturkun Mar 03 '21 at 13:38
  • Edited my answer following @Hasturkun remark – Siyon DP Mar 08 '21 at 11:27