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

Open
opened 2026-01-31 02:13:48 +00:00 by claunia · 0 comments
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> ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10150