Provide realtime commandline parsing feedback in the commandline mode of the command palette #10152

Closed
opened 2026-01-31 02:13:51 +00:00 by claunia · 1 comment
Owner

Originally created by @zadjii-msft on GitHub (Aug 13, 2020).

Follow up to: Command Palette: Add support for commandline mode #6677

Something that looks like:
image

but like, with the error message from parsing it.

We've gotta move the ThrottledFunc from TerminalControl up to the WinRTUtils so TerminalApp can use it to debounce filter text changed events.



            <StackPanel
                Padding="16"
                Visibility="Visible"
                Grid.Row="3">
                <TextBlock
                    Foreground="Red"
                    x:Name="_commandlineErrorText"
                    Text="Failed to parse commandline. Error was:">
                </TextBlock>
                <TextBlock
                    Padding="16, 0, 0, 0"
                    x:Name="_commandlineErrorText"
                    Text="Foo is not a commandline">
                </TextBlock>
            </StackPanel>
Originally created by @zadjii-msft on GitHub (Aug 13, 2020). Follow up to: Command Palette: Add support for commandline mode #6677 Something that looks like: ![image](https://user-images.githubusercontent.com/18356694/90188822-bb3bce80-dd81-11ea-984d-3c16508a062e.png) but like, with the error message from parsing it. We've gotta move the `ThrottledFunc` from TerminalControl up to the WinRTUtils so TerminalApp can use it to debounce filter text changed events. ```xaml <StackPanel Padding="16" Visibility="Visible" Grid.Row="3"> <TextBlock Foreground="Red" x:Name="_commandlineErrorText" Text="Failed to parse commandline. Error was:"> </TextBlock> <TextBlock Padding="16, 0, 0, 0" x:Name="_commandlineErrorText" Text="Foo is not a commandline"> </TextBlock> </StackPanel> ```
Author
Owner

@ghost commented on GitHub (Jan 28, 2021):

:tada:This issue was addressed in #8515, which has now been successfully released as Windows Terminal Preview v1.6.10272.0.🎉

Handy links:

@ghost commented on GitHub (Jan 28, 2021): :tada:This issue was addressed in #8515, which has now been successfully released as `Windows Terminal Preview v1.6.10272.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.6.10272.0) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10152