[Enhancement] Add Support for Common 2nd Suffixes (Fix #84) (#6) #85
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When working on large projects, one often utilises several automation techniques in order to abbreviate redundant tasks, such as the build instruction specification by hand over and over again for every single build process. Another common example is testing where not only unit and integration but also mutation tests can be specified.
In order to set up such an automation, one needs to apply the conventions of the respective build system. The
autotools
suite, for instance, expects some input files to have the*.in
suffix and will generate processed source files with the*.out
suffix. On the other hand, some build steps may be destructive such that the system itself needs to take care to prevent a loss of progress.mutmut
, a Python library for mutation testing, for example, creates backups of the respective source files which have the*.bak
suffix.All those systems have in common that one might want to take a look into the newly generated files for getting an idea which changes the respective system has applied. But then, Zee currently falls back to the plain text mode without any highlighting since the suffix could not be matched if not explicitly specified in the configuration.
This Pull Request challenges this disadvantage by the introduction of a matching against the common second suffixes named above by default against each file. Furthermore, already configured second suffixes were removed from the configuration since they are implicit by this change, now.