mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-01-30 01:03:02 +08:00
Add documentation for supported diff file extensions
Added XML documentation to clarify the purpose and usage of .diff, .patch, and .rej file extensions in DiffHighlightingDefinition.
This commit is contained in:
@@ -27,6 +27,12 @@ public class DiffHighlightingDefinition : DarkHighlightingDefinition
|
||||
{
|
||||
public override string Name => "Diff";
|
||||
|
||||
/// <summary>
|
||||
/// * .diff / .patch: text-based patch files that record differences between two versions of a file,
|
||||
/// typically generated by tools like diff or git diff, used for code review or applying patches
|
||||
/// * .rej: reject file created when a patch cannot be applied, containing the portions of the patch
|
||||
/// that failed, for manual resolution
|
||||
/// </summary>
|
||||
public override string Extension => ".diff;.patch;.rej";
|
||||
|
||||
public override HighlightingRuleSet MainRuleSet => new()
|
||||
|
||||
Reference in New Issue
Block a user