Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Provide option to disable autocompletion

オープン
#24,582 コメント 16 件 リアクション 21 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
angular, typescript
領域
cli

調査の方向性

まず、Issue で説明されている Angular CLI completion command とグローバルな cli.completion.prompted 設定をたどってください。初回実行時のプロンプトと completion の有効化がどのように処理されているかを確認し、そのうえで ng completion disable のような、サポートされる無効化手段を追加してください。ユーザーが再度プロンプトを表示されることなく completion を無効化でき、関連する CLI の動作がテストでカバーされれば完了です。

索引モデルが issue の本文から書いたものです。

説明

area: @angular/cli feature feature: insufficient votes
Which @angular/* package(s) are relevant/related to the feature request?

No response

Description

If you developing an angular web app in an dev container every time the container is created or rebuild and you are running the ng command for the first time, the angular cli asks:

? Would you like to enable autocompletion? This will set up your terminal so pressing TAB while typing Angular CLI commands will show possible options and autocomplete arguments. (Enabling autocompletion will modify
configuration files in your home directory.)

You can activate this "feature" but there is no way to disable it proactive.

You could run the command ng config -g cli.completion.prompted truebut if this is the first execution of the angular cli this only lead to the question if I want to enable autocompletion. So this isn't a solution.

Proposed solution

Because the user has the possibility to opt this feature out when the angular cli asks you if you want to enable the autocompletion and because there is an command to enable this without being asked there should also be to possibility to disable this feature with an command like

ng completion disable

Alternatives considered

As an alternative you could also make the global configuration settings

{
  "cli": {
    "completion": {
      "prompted": true
    }
  }
}

also available in the angular.json file.

主要言語
TypeScript
スター
27k
フォーク
11.8k
平均マージ
16時間 35分
マージ済み PR(30日)
176

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

angular/angular-cli のほかの issue

angular/angular-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。