mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
[PreviewPane][Monaco]Format json/xml before rendering (#19980)
This commit is contained in:
committed by
GitHub
parent
e7d3aadec3
commit
16c7a22410
@@ -422,21 +422,21 @@
|
||||
<value>Wait for more input before searching. This reduces interface jumpiness and system load.</value>
|
||||
</data>
|
||||
<data name="PowerLauncher_FastSearchInputDelayMs.Header" xml:space="preserve">
|
||||
<value>Immediate plugins</value>
|
||||
<value>Immediate plugins</value>
|
||||
</data>
|
||||
<data name="PowerLauncher_FastSearchInputDelayMs.Description" xml:space="preserve">
|
||||
<value>Affects the plugins that make the UI wait for their results by this amount. Recommended: 30-50 ms.</value>
|
||||
<data name="PowerLauncher_FastSearchInputDelayMs.Description" xml:space="preserve">
|
||||
<value>Affects the plugins that make the UI wait for their results by this amount. Recommended: 30-50 ms.</value>
|
||||
</data>
|
||||
<data name="PowerLauncher_SlowSearchInputDelayMs.Header" xml:space="preserve">
|
||||
<value>Background execution plugins</value>
|
||||
<data name="PowerLauncher_SlowSearchInputDelayMs.Header" xml:space="preserve">
|
||||
<value>Background execution plugins</value>
|
||||
</data>
|
||||
<data name="PowerLauncher_SlowSearchInputDelayMs.Description" xml:space="preserve">
|
||||
<value>Affects the plugins that execute in the background by this amount. Recommended: 100-150 ms.</value>
|
||||
<data name="PowerLauncher_SlowSearchInputDelayMs.Description" xml:space="preserve">
|
||||
<value>Affects the plugins that execute in the background by this amount. Recommended: 100-150 ms.</value>
|
||||
</data>
|
||||
<data name="PowerLauncher_SearchInputDelayMs.Header" xml:space="preserve">
|
||||
<data name="PowerLauncher_SearchInputDelayMs.Header" xml:space="preserve">
|
||||
<value>Fast plugin throttle (ms)</value>
|
||||
<comment>ms = milliseconds</comment>
|
||||
</data>
|
||||
</data>
|
||||
<data name="KeyboardManager_KeysMappingLayoutRightHeader.Text" xml:space="preserve">
|
||||
<value>To:</value>
|
||||
<comment>Keyboard Manager mapping keys view right header</comment>
|
||||
@@ -2164,6 +2164,12 @@ From there, simply click on one of the supported files in the File Explorer and
|
||||
<data name="AlwaysOnTop_RoundCorners.Content" xml:space="preserve">
|
||||
<value>Enable round corners</value>
|
||||
</data>
|
||||
<data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Description" xml:space="preserve">
|
||||
<value>Applies to json and xml. Files remain unchanged.</value>
|
||||
</data>
|
||||
<data name="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format.Header" xml:space="preserve">
|
||||
<value>Try to format the source for preview</value>
|
||||
</data>
|
||||
<data name="Run_ConflictingKeywordInfo.Title" xml:space="preserve">
|
||||
<value>Some characters and phrases may conflict with global queries of other plugins if you use them as activation command.</value>
|
||||
</data>
|
||||
|
||||
@@ -57,6 +57,11 @@
|
||||
IsChecked="{x:Bind ViewModel.MonacoWrapText, Mode=TwoWay}"
|
||||
Margin="{StaticResource ExpanderSettingMargin}"
|
||||
IsEnabled="{x:Bind ViewModel.MonacoRenderIsEnabled, Mode=OneWay}" />
|
||||
<Rectangle Style="{StaticResource ExpanderSeparatorStyle}" />
|
||||
<controls:CheckBoxWithDescriptionControl x:Uid="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format"
|
||||
IsChecked="{x:Bind ViewModel.MonacoPreviewTryFormat, Mode=TwoWay}"
|
||||
Margin="{StaticResource ExpanderSettingMargin}"
|
||||
IsEnabled="{x:Bind ViewModel.MonacoRenderIsEnabled, Mode=OneWay}"/>
|
||||
</StackPanel>
|
||||
</controls:SettingExpander.Content>
|
||||
</controls:SettingExpander>
|
||||
|
||||
Reference in New Issue
Block a user