From 437d47ed052bab491cdbebff42021d8a673eb4d0 Mon Sep 17 00:00:00 2001 From: Samuel Carreira <96358868+samuel-pipelaunch@users.noreply.github.com> Date: Tue, 8 Nov 2022 18:58:20 +0000 Subject: [PATCH 1/2] TSV file extension support (#1185) if there are more file extensions to support maybe makes sense to readapt the code to iterate over a regex. --- QuickLook.Plugin/QuickLook.Plugin.CsvViewer/Plugin.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/QuickLook.Plugin/QuickLook.Plugin.CsvViewer/Plugin.cs b/QuickLook.Plugin/QuickLook.Plugin.CsvViewer/Plugin.cs index bc61016..85d0e6b 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.CsvViewer/Plugin.cs +++ b/QuickLook.Plugin/QuickLook.Plugin.CsvViewer/Plugin.cs @@ -34,7 +34,7 @@ namespace QuickLook.Plugin.CsvViewer public bool CanHandle(string path) { - return !Directory.Exists(path) && path.ToLower().EndsWith(".csv"); + return !Directory.Exists(path) && (path.ToLower().EndsWith(".csv") || path.ToLower().EndsWith(".tsv")); } public void Prepare(string path, ContextObject context) @@ -60,4 +60,4 @@ namespace QuickLook.Plugin.CsvViewer _panel = null; } } -} \ No newline at end of file +} From 0ee6e3621b672172e44b6651ef02a65ffcc212b1 Mon Sep 17 00:00:00 2001 From: Alexander Eder Date: Thu, 17 Nov 2022 13:13:52 +0100 Subject: [PATCH 2/2] Experimental support for gimp (.xcf extension) --- QuickLook.Plugin/QuickLook.Plugin.ImageViewer/Plugin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QuickLook.Plugin/QuickLook.Plugin.ImageViewer/Plugin.cs b/QuickLook.Plugin/QuickLook.Plugin.ImageViewer/Plugin.cs index 013aa6f..2b25bff 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.ImageViewer/Plugin.cs +++ b/QuickLook.Plugin/QuickLook.Plugin.ImageViewer/Plugin.cs @@ -49,7 +49,7 @@ namespace QuickLook.Plugin.ImageViewer ".sr2", ".srf", ".srw", ".svg", ".tga", ".tif", ".tiff", ".wdp", ".webp", ".wmf", - ".x3f" + ".x3f", ".xcf" }); private ImagePanel _ip;