dotnet / dotnet/command-line-api

Unable to get tab completion to work

Open
#993 12 comments 0 reactions 0 assignees View on GitHub
Area-Completions waiting-on-feedback
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.