Enable/disable Semantic Diff per file-extension
Add a way to configure (at least be .conf file) for which file-extensions Semantic Diff will be activated.
Since release 5.4.16.701 Semantic Diff will revert to text-based diff when it fails to parse a file, but it should be possible to disable it completely for some files (C++ .h headers for example) where the implementation is not yet complete (or simply because the user prefers a standard text-based diff).
Implemented a mechanism to disable Semantic Diff for certain file extensions. A semanticexcluded.conf file can be placed inside the Plastic SCM configuration directory: HOMEPATH/AppData/Local/plastic4. This file will contain patterns to match the files to diff. Semantic diff will be disabled for files whose path matches any of those patterns.
Example: Having the following semanticexcluded.conf file:
*.h
/src/core
The semantic diff won’t be displayed for the following items (server path format):
/lib/headers/core.h
/kernel/kernel.h
/src/core/main.cpp
/src/core/modules/network.c
-
Göran Wallgren commented
Excellent! Will we be able to put this .conf file in the repo root as well, similar to ignore.conf ? That way we could easily get the same settings for all users of that repo...