You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
This feature request is now candidate for our backlog! In the next phase, the community has 60 days to upvote. If the request receives more than 20 upvotes, we'll move it to our consideration list.
You can find more details about the feature request process in our documentation.
The base implementation is done, but we forgot about Windows which doesn't support this kind of autocompletion. I want to set up some tests to make sure these changes don't break the CLI on Windows, we don't prompt Windows users, and ng completion should fail with a clear message on Windows platforms.
Activity
feat(@angular/cli): add `ng completion init`
feat(@angular/cli): add `ng completion init`
angular-robot commentedon Apr 26, 2022
This feature request is now candidate for our backlog! In the next phase, the community has 60 days to upvote. If the request receives more than 20 upvotes, we'll move it to our consideration list.
You can find more details about the feature request process in our documentation.
feat(@angular/cli): add `ng completion init`
feat(@angular/cli): add `ng completion init`
feat(@angular/cli): add `ng completion init`
feat(@angular/cli): add `ng completion init`
refactor: rewritting analytics test to be more hermetic and stable
54 remaining items
feat(@angular/cli): make `ng completion` set up CLI autocompletion by…
feat(@angular/cli): add prompt to set up CLI autocompletion
feat(@angular/cli): remember after prompting users to set up autocomp…
refactor: rewritting analytics test to be more hermetic and stable
feat(@angular/cli): make `ng completion` set up CLI autocompletion by…
feat(@angular/cli): add prompt to set up CLI autocompletion
feat(@angular/cli): remember after prompting users to set up autocomp…
dgp1130 commentedon May 4, 2022
The base implementation is done, but we forgot about Windows which doesn't support this kind of autocompletion. I want to set up some tests to make sure these changes don't break the CLI on Windows, we don't prompt Windows users, and
ng completionshould fail with a clear message on Windows platforms.dgp1130 commentedon May 5, 2022
Landed a Windows-specific error message in #23075. Didn't quite make the
14.0.0-next.13cutoff, but should be in14.0.0-rc.0.angular-automatic-lock-bot commentedon Jun 5, 2022
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.