Skip to content

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

@zadjii-msft

Description

@zadjii-msft

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-CmdPalCommand Palette issues and featuresArea-UserInterfaceIssues pertaining to the user interface of the Console or TerminalHelp WantedWe encourage anyone to jump in on these.Issue-TaskIt's a feature request, but it doesn't really need a major design.Product-TerminalThe new Windows Terminal.Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions