Repository: microsoft/PowerToys
File: src/settings-ui/Settings.UI.Library/PowerLauncherProperties.cs (C#)

Code before:
        [JsonPropertyName("startupPosition")]
        public StartupPosition Position { get; set; }

        [JsonPropertyName("use_centralized_keyboard_hook")]
        public bool UseCentralizedKeyboardHook { get; set; }

        [JsonPropertyName("search_query_results_with_delay")]
        public bool SearchQueryResultsWithDelay { get; set; }

        [JsonPropertyName("search_input_delay")]
        public int SearchInputDelay { get; set; }

        [JsonPropertyName("search_input_delay_fast")]
        public int SearchInputDelayFast { get; set; }

        [JsonPropertyName("search_clicked_item_weight")]
        public int SearchClickedItemWeight { get; set; }

        [JsonPropertyName("search_query_tuning_enabled")]
        public bool SearchQueryTuningEnabled { get; set; }

        [JsonPropertyName("search_wait_for_slow_results")]
        public bool SearchWaitForSlowResults { get; set; }

        [JsonPropertyName("should_use_pinyin")]
        public bool ShouldUsePinyin { get; set; }

        public PowerLauncherProperties()
        {
            OpenPowerLauncher = new HotkeySettings(false, false, true, false, 32);
            OpenFileLocation = new HotkeySettings();
            CopyPathLocation = new HotkeySettings();
            OpenConsole = new HotkeySettings();
            SearchResultPreference = "most_recently_used";
            SearchTypePreference = "application_name";
            IgnoreHotkeysInFullscreen = false;
            ClearInputOnLaunch = false;
            TabSelectsContextButtons = true;
            MaximumNumberOfResults = 4;
            Theme = Theme.System;
            Position = StartupPosition.Cursor;
            UseCentralizedKeyboardHook = false;
            SearchQueryResultsWithDelay = true;
            SearchInputDelay = 150;
            SearchClickedItemWeight = 5;
            SearchQueryTuningEnabled = false;
            SearchWaitForSlowResults = false;
            ShouldUsePinyin = false;
        }
    }
}

Review comment (suggestion):
"should" makes it feel strange, as if you never know what's going to happen. I would suggest `use_pinyin`

Code after:
        [JsonPropertyName("startupPosition")]
        public StartupPosition Position { get; set; }

        [JsonPropertyName("use_centralized_keyboard_hook")]
        public bool UseCentralizedKeyboardHook { get; set; }

        [JsonPropertyName("search_query_results_with_delay")]
        public bool SearchQueryResultsWithDelay { get; set; }

        [JsonPropertyName("search_input_delay")]
        public int SearchInputDelay { get; set; }

        [JsonPropertyName("search_input_delay_fast")]
        public int SearchInputDelayFast { get; set; }

        [JsonPropertyName("search_clicked_item_weight")]
        public int SearchClickedItemWeight { get; set; }

        [JsonPropertyName("search_query_tuning_enabled")]
        public bool SearchQueryTuningEnabled { get; set; }

        [JsonPropertyName("search_wait_for_slow_results")]
        public bool SearchWaitForSlowResults { get; set; }

        [JsonPropertyName("use_pinyin")]
        public bool UsePinyin { get; set; }

        [JsonPropertyName("generate_thumbnails_from_files")]
        public bool GenerateThumbnailsFromFiles { get; set; }

        public HotkeySettings DefaultOpenPowerLauncher => new HotkeySettings(false, false, true, false, 32);

        public HotkeySettings DefaultOpenFileLocation => new HotkeySettings();

        public HotkeySettings DefaultCopyPathLocation => new HotkeySettings();

        public PowerLauncherProperties()
        {
            OpenPowerLauncher = DefaultOpenPowerLauncher;
            OpenFileLocation = DefaultOpenFileLocation;
            CopyPathLocation = DefaultCopyPathLocation;
            OpenConsole = new HotkeySettings();
            SearchResultPreference = "most_recently_used";
            SearchTypePreference = "application_name";
            IgnoreHotkeysInFullscreen = false;
            ClearInputOnLaunch = false;
            TabSelectsContextButtons = true;
            MaximumNumberOfResults = 4;
            Theme = Theme.System;
            Position = StartupPosition.Cursor;
            UseCentralizedKeyboardHook = false;