Skip to content

Add a default prompt to run ng completion #23003

Closed

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

Activity

  1. added
    feature
    on Apr 24, 2022
  2. added this to the needsTriage milestone on Apr 24, 2022
  3. modified the milestones: needsTriage, v14 on Apr 25, 2022
  4. self-assigned this
    on Apr 26, 2022
  5. added
    feature: votes required
    on Apr 26, 2022
  6. angular-robot commented on Apr 26, 2022

    @angular-robot
    Contributor

    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.

  7. 54 remaining items

  8. dgp1130 commented on May 4, 2022

    @dgp1130
    Collaborator

    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.

  9. reopened this on May 4, 2022
  10. dgp1130 commented on May 5, 2022

    @dgp1130
    Collaborator

    Landed a Windows-specific error message in #23075. Didn't quite make the 14.0.0-next.13 cutoff, but should be in 14.0.0-rc.0.

  11. removed
    feature: votes required
    on May 5, 2022
  12. angular-automatic-lock-bot commented on Jun 5, 2022

    @angular-automatic-lock-bot

    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.

  13. locked and limited conversation to collaborators on Jun 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: @angular/clifeature

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions