Tab Completion in VS Code Terminal doesn't complete the highlighted command

629 views Asked by At

When I start typing a command into the integrated pwsh terminal prompt in Visual Studio Code, auto-complete suggests some ideas.

Example:

  • I type . and the terminal suggests .\.venv\Scripts\activate:
  • enter image description here

But when I hit TAB which is my intuition to accept the suggestion, nothing happens.

How do I get the TAB key to accept the suggested command?

1

There are 1 answers

0
Santiago Squarzon On BEST ANSWER

This is detailed in the Using predictors in PSReadLine documentation:

  • AcceptSuggestion is built within ForwardChar, which is bound to RightArrow by default