Alt-a should support --parameters with double dashes #3992
Labels
Issue-Enhancement
It's a feature request.
Needs-Triage 🔍
It's a new issue that core contributor team needs to triage.
Prerequisites
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...
The text was updated successfully, but these errors were encountered: