Skip to content

Add a default prompt to run ng completion #23003

Closed
@twerske

Description

@twerske

🚀 Feature request

Command (mark with an x)

Prompt on any CLI without ng completion that hasn't been prompted before to run ng completion by default.

Description

ng completion is the autocomplete feature I've always wanted, to improve CLI discoverability, prevent typos, and in general provide a better developer experience.

Adding this as a default prompt to CLI v14 users who have not run it yet helps make this improvement more built-in to the CLI instead of needing to advertise it and make it discoverable itself. This will greatly increase the number of developers who benefit from autocompletion.

Describe the solution you'd like

Prompt CLI users to add completion and autocomplete to their .bashrc, .bash_profile, .zshrc or .zsh_profile by default (with user consent).

Angular team internal discussion here: Thread
Related PR here: #22967

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions