From 2590926641cb6a74dc5ba6ddb570b7df93913d85 Mon Sep 17 00:00:00 2001 From: "Lin Yu-Chieh (Victor)" Date: Sat, 7 Jan 2023 02:20:22 +0800 Subject: [PATCH] v0.66.0 --- ContextMenuLoader.cs | 21 +++++++++++---------- Everything.cs | 20 ++++++++++---------- Interop/NativeMethods.cs | 10 +++++----- Main.cs | 31 ++++++++++++++++--------------- SearchHelper/IconLoader.cs | 10 +++++----- SearchHelper/SearchResult.cs | 6 +++--- Settings.cs | 12 ++++++------ Update.cs | 12 ++++++------ plugin.json | 2 +- 9 files changed, 63 insertions(+), 61 deletions(-) diff --git a/ContextMenuLoader.cs b/ContextMenuLoader.cs index 3e91d99..381b376 100644 --- a/ContextMenuLoader.cs +++ b/ContextMenuLoader.cs @@ -1,15 +1,16 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Reflection; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Input; +using Wox.Infrastructure; +using Wox.Plugin; +using Wox.Plugin.Logger; + namespace Community.PowerToys.Run.Plugin.Everything { - using System; - using System.Collections.Generic; - using System.IO; - using System.Reflection; - using System.Threading.Tasks; - using System.Windows; - using System.Windows.Input; - using Wox.Infrastructure; - using Wox.Plugin; - using Wox.Plugin.Logger; internal class ContextMenuLoader : IContextMenu { private readonly PluginInitContext _context; diff --git a/Everything.cs b/Everything.cs index 6976766..3bcea61 100644 --- a/Everything.cs +++ b/Everything.cs @@ -1,14 +1,14 @@ -namespace Community.PowerToys.Run.Plugin.Everything -{ - using System.Collections.Generic; - using System.ComponentModel; - using System.Diagnostics; - using System.IO; - using System.Text; - using Community.PowerToys.Run.Plugin.Everything.Properties; - using Wox.Plugin; - using static Interop.NativeMethods; +using System.Collections.Generic; +using System.ComponentModel; +using System.Diagnostics; +using System.IO; +using System.Text; +using Community.PowerToys.Run.Plugin.Everything.Properties; +using Wox.Plugin; +using static Community.PowerToys.Run.Plugin.Everything.Interop.NativeMethods; +namespace Community.PowerToys.Run.Plugin.Everything +{ internal class Everything { internal Everything(Settings setting) diff --git a/Interop/NativeMethods.cs b/Interop/NativeMethods.cs index 00baf5e..e499f9a 100644 --- a/Interop/NativeMethods.cs +++ b/Interop/NativeMethods.cs @@ -1,9 +1,9 @@ -namespace Community.PowerToys.Run.Plugin.Everything.Interop -{ - using System; - using System.Runtime.InteropServices; - using System.Text; +using System; +using System.Runtime.InteropServices; +using System.Text; +namespace Community.PowerToys.Run.Plugin.Everything.Interop +{ internal class NativeMethods { #region FlagsEnums diff --git a/Main.cs b/Main.cs index 07e9bec..67effb5 100644 --- a/Main.cs +++ b/Main.cs @@ -1,19 +1,20 @@ -namespace Community.PowerToys.Run.Plugin.Everything +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Threading.Tasks; +using System.Windows.Controls; +using Community.PowerToys.Run.Plugin.Everything.Properties; +using ManagedCommon; +using Microsoft.PowerToys.Settings.UI.Library; +using Wox.Infrastructure; +using Wox.Infrastructure.Storage; +using Wox.Plugin; +using Wox.Plugin.Logger; +using static Community.PowerToys.Run.Plugin.Everything.Interop.NativeMethods; + +namespace Community.PowerToys.Run.Plugin.Everything { - using System; - using System.Collections.Generic; - using System.Linq; - using System.Reflection; - using System.Threading.Tasks; - using System.Windows.Controls; - using Community.PowerToys.Run.Plugin.Everything.Properties; - using ManagedCommon; - using Microsoft.PowerToys.Settings.UI.Library; - using Wox.Infrastructure; - using Wox.Infrastructure.Storage; - using Wox.Plugin; - using Wox.Plugin.Logger; - using static Community.PowerToys.Run.Plugin.Everything.Interop.NativeMethods; public class Main : IPlugin, IDisposable, IDelayedExecutionPlugin, IContextMenu, ISettingProvider, IPluginI18n { private IContextMenu _contextMenuLoader; diff --git a/SearchHelper/IconLoader.cs b/SearchHelper/IconLoader.cs index 6fb7342..25a083f 100644 --- a/SearchHelper/IconLoader.cs +++ b/SearchHelper/IconLoader.cs @@ -1,9 +1,9 @@ -namespace Community.PowerToys.Run.Plugin.Everything.SearchHelper -{ - using System; - using System.IO; - using static Interop.NativeMethods; +using System; +using System.IO; +using static Community.PowerToys.Run.Plugin.Everything.Interop.NativeMethods; +namespace Community.PowerToys.Run.Plugin.Everything.SearchHelper +{ internal class IconLoader { #pragma warning disable CS8632 // The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. diff --git a/SearchHelper/SearchResult.cs b/SearchHelper/SearchResult.cs index 310d59f..66cc240 100644 --- a/SearchHelper/SearchResult.cs +++ b/SearchHelper/SearchResult.cs @@ -1,7 +1,7 @@ -namespace Community.PowerToys.Run.Plugin.Everything -{ - using Wox.Plugin.Interfaces; +using Wox.Plugin.Interfaces; +namespace Community.PowerToys.Run.Plugin.Everything +{ public class SearchResult : IFileDropResult { // Contains the Path of the file or folder diff --git a/Settings.cs b/Settings.cs index 2cefb0f..564cff0 100644 --- a/Settings.cs +++ b/Settings.cs @@ -1,10 +1,10 @@ -namespace Community.PowerToys.Run.Plugin.Everything -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Reflection; +using System; +using System.Collections.Generic; +using System.IO; +using System.Reflection; +namespace Community.PowerToys.Run.Plugin.Everything +{ internal class Settings { // Settings from PTR settings diff --git a/Update.cs b/Update.cs index 5545903..6651e28 100644 --- a/Update.cs +++ b/Update.cs @@ -1,10 +1,10 @@ -namespace Community.PowerToys.Run.Plugin.Everything -{ - using System; - using System.Diagnostics; - using System.Windows; - using System.Xml; +using System; +using System.Diagnostics; +using System.Windows; +using System.Xml; +namespace Community.PowerToys.Run.Plugin.Everything +{ internal class Update { internal Update(Version v) diff --git a/plugin.json b/plugin.json index ca44f1a..0556d6f 100644 --- a/plugin.json +++ b/plugin.json @@ -4,7 +4,7 @@ "IsGlobal": true, "Name": "Everything", "Author": "Yu Chieh (Victor) Lin", - "Version": "0.65.0", + "Version": "0.66.0", "Language": "csharp", "Website": "https://github.com/Lin-ycv/EverythingPowerToys", "ExecuteFileName": "Community.PowerToys.Run.Plugin.Everything.dll",