Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Alt-a should support --parameters with double dashes #3992

Copy link
Copy link
@Jaykul

Description

@Jaykul
Issue body actions

Prerequisites

  • Write a descriptive title.

Description of the new feature/enhancement

The Alt+A key that navigates between parameters doesn't properly handle parameters from posix-friendly apps like the azure cli and kubectl that use two dashes instead of one. I. E. --output "json" instead of skipping the parameter name, it selects it.

Proposed technical implementation details (optional)

We could argue this is a parser bug, because the root cause is probably that the AST doesn't represent --output json as a parameter name and value, but instead as two string arguments.

However, you could solve it without changing the AST, by just checking for the -- on the front of the value...

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.