dotnet / dotnet/command-line-api
Unable to get tab completion to work
- 主要言語
- C#
- スター
- 3.7k
- フォーク
- 428
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I created a simple DragonFruit console app, then followed the instructions in https://github.com/dotnet/command-line-api/wiki/dotnet-suggest (and resolved the execution policy issues in 64- and 32-bit) then I opened a "Developer Powershell" from Visual Studio, change directory to where the exe is and typed `.\DragonFruit --f` (my Main method has an `int foo` argument) however it did not autocomplete (instead nothing happens). Things like `.\DragonFruit -h` work as expected. Also `$availableToComplete` is given a value during startup, namely "dotnet-suggest\ndotnet suggest".
How can I debug this?
コントリビューションガイド
調査の方向性
報告では、DragonFruit コンソールアプリ、コマンド .\DragonFruit --f、Developer PowerShell、dotnet-suggest について述べられています。まずそのコマンドを再現し、completion の経路を追跡してください。$availableToComplete の値も報告されているため、その起動時の状態を、失敗する completion の動作と比較してください。報告されたオプションの completion における失敗または不足している前提条件を特定できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, powershell
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100