mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
This entirely rewrites the shell page. It feels a lot more like the old run dialog now. * It's got icons for files & exes * it can handle network paths * it can handle `commands /with args...` * it'll suggest files in that path as you type * it handles `%environmentVariables%` * it handles `"Paths with\spaces in them"` * it shows you the path as a suggestion, in the text box, as you move the selection References: Closes #39044 Closes #39419 Closes #38298 Closes #40311 ### Remaining todo's * [x] Remove the `GenerateAppxManifest` change, and file something to fix that. We are still generating msix's on every build, wtf * [x] Clean-up code * [x] Double-check loc * [x] Remove a bunch of debug printing that we don't need anymore * [ ] File a separate PR for moving the file (indexer) commands into a common project, and re-use those here * [x] Add history support again! I totally tore that out * did that in #40427 * [x] make `shell:` paths and weird URI's just work. Good test is `x-cmdpal://settings` ### further optimizations that probably aren't blocking * [x] Our fast up-to-date is clearly broken, but I think that's been broken since early 0.91 * [x] If the exe doesn't change, we don't need to create a new ListItem for it. We can just re-use the current one, and just change the args * [ ] if the directory hasn't changed, but we typed more chars (e.g. `c:\windows\s` -> `c:\windows\sys`), we should cache the ListItem's from the first query, and re-use them if possible.
262 lines
9.3 KiB
C#
262 lines
9.3 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Runtime Version:4.0.30319.42000
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace Microsoft.CmdPal.Ext.WebSearch.Properties {
|
|
using System;
|
|
|
|
|
|
/// <summary>
|
|
/// A strongly-typed resource class, for looking up localized strings, etc.
|
|
/// </summary>
|
|
// This class was auto-generated by the StronglyTypedResourceBuilder
|
|
// class via a tool like ResGen or Visual Studio.
|
|
// To add or remove a member, edit your .ResX file then rerun ResGen
|
|
// with the /str option, or rebuild your VS project.
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
|
public class Resources {
|
|
|
|
private static global::System.Resources.ResourceManager resourceMan;
|
|
|
|
private static global::System.Globalization.CultureInfo resourceCulture;
|
|
|
|
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
|
internal Resources() {
|
|
}
|
|
|
|
/// <summary>
|
|
/// Returns the cached ResourceManager instance used by this class.
|
|
/// </summary>
|
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
public static global::System.Resources.ResourceManager ResourceManager {
|
|
get {
|
|
if (object.ReferenceEquals(resourceMan, null)) {
|
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.CmdPal.Ext.WebSearch.Properties.Resources", typeof(Resources).Assembly);
|
|
resourceMan = temp;
|
|
}
|
|
return resourceMan;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Overrides the current thread's CurrentUICulture property for all
|
|
/// resource lookups using this strongly typed resource class.
|
|
/// </summary>
|
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
public static global::System.Globalization.CultureInfo Culture {
|
|
get {
|
|
return resourceCulture;
|
|
}
|
|
set {
|
|
resourceCulture = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Search the Web.
|
|
/// </summary>
|
|
public static string command_item_title {
|
|
get {
|
|
return ResourceManager.GetString("command_item_title", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Web Search.
|
|
/// </summary>
|
|
public static string extension_name {
|
|
get {
|
|
return ResourceManager.GetString("extension_name", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to 1.
|
|
/// </summary>
|
|
public static string history_1 {
|
|
get {
|
|
return ResourceManager.GetString("history_1", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to 10.
|
|
/// </summary>
|
|
public static string history_10 {
|
|
get {
|
|
return ResourceManager.GetString("history_10", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to 20.
|
|
/// </summary>
|
|
public static string history_20 {
|
|
get {
|
|
return ResourceManager.GetString("history_20", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to 5.
|
|
/// </summary>
|
|
public static string history_5 {
|
|
get {
|
|
return ResourceManager.GetString("history_5", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to None.
|
|
/// </summary>
|
|
public static string history_none {
|
|
get {
|
|
return ResourceManager.GetString("history_none", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Open in default browser.
|
|
/// </summary>
|
|
public static string open_in_default_browser {
|
|
get {
|
|
return ResourceManager.GetString("open_in_default_browser", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Open URL.
|
|
/// </summary>
|
|
public static string open_url_fallback_title {
|
|
get {
|
|
return ResourceManager.GetString("open_url_fallback_title", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to the default browser.
|
|
/// </summary>
|
|
public static string plugin_browser {
|
|
get {
|
|
return ResourceManager.GetString("plugin_browser", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Searches the web with your default search engine.
|
|
/// </summary>
|
|
public static string plugin_description {
|
|
get {
|
|
return ResourceManager.GetString("plugin_description", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Don't include in global results on queries that are URIs.
|
|
/// </summary>
|
|
public static string plugin_global_if_uri {
|
|
get {
|
|
return ResourceManager.GetString("plugin_global_if_uri", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to In the default browser.
|
|
/// </summary>
|
|
public static string plugin_in_browser {
|
|
get {
|
|
return ResourceManager.GetString("plugin_in_browser", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to In {0}.
|
|
/// </summary>
|
|
public static string plugin_in_browser_name {
|
|
get {
|
|
return ResourceManager.GetString("plugin_in_browser_name", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Web Search.
|
|
/// </summary>
|
|
public static string plugin_name {
|
|
get {
|
|
return ResourceManager.GetString("plugin_name", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Search the web in {0}.
|
|
/// </summary>
|
|
public static string plugin_open {
|
|
get {
|
|
return ResourceManager.GetString("plugin_open", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Open "{0}".
|
|
/// </summary>
|
|
public static string plugin_open_url {
|
|
get {
|
|
return ResourceManager.GetString("plugin_open_url", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Open url in {0}.
|
|
/// </summary>
|
|
public static string plugin_open_url_in_browser {
|
|
get {
|
|
return ResourceManager.GetString("plugin_open_url_in_browser", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Failed to open {0}..
|
|
/// </summary>
|
|
public static string plugin_search_failed {
|
|
get {
|
|
return ResourceManager.GetString("plugin_search_failed", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Determines the number of history items to show from previous searches.
|
|
/// </summary>
|
|
public static string plugin_show_history {
|
|
get {
|
|
return ResourceManager.GetString("plugin_show_history", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Settings.
|
|
/// </summary>
|
|
public static string settings_page_name {
|
|
get {
|
|
return ResourceManager.GetString("settings_page_name", resourceCulture);
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Looks up a localized string similar to Search for "{0}".
|
|
/// </summary>
|
|
public static string web_search_fallback_subtitle {
|
|
get {
|
|
return ResourceManager.GetString("web_search_fallback_subtitle", resourceCulture);
|
|
}
|
|
}
|
|
}
|
|
}
|