We’re excited to announce that Azure CLI now supports tab completion on Windows PowerShell, a highly anticipated feature for many Windows users.
This new capability not only applies to commands and parameters but also extends to values such as account name and subscription name.
When typing in a command followed by a parameter, pressing the tab key will display a list of available options for that parameter. This saves users time and effort in remembering specific arguments or looking them up in documentation.
This enhanced feature is now available for CLI 2.49.0 and above.
We are also pleased to announce that the performance of the completion has also improved dramatically in 2.49.0. The completion time is reduced by 80% to 90% for incomplete commands. Most completion can be finished in approximately 0.4 seconds on Linux.
We encourage you to install the latest version. For most of the commands, you can get the suggestion instantly, which makes for a smoother and more enjoyable experience.
Want to enable tab completion in PowerShell?
Sure! Create or edit the profile stored in the variable
$PROFILE. The simplest way is to run
notepad $PROFILE in PowerShell. For more information, see How to create your profile and Profiles and execution policy.
Please also refer to our public documentation Enable Tab Completion on PowerShell.
If you encounter any issues while using CLI or have suggestions on how we can make it even better, please do not hesitate to create an issue on GitHub.