Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test: terminal suggest spec additions #241771

Open
3 tasks
meganrogge opened this issue Feb 24, 2025 · 0 comments
Open
3 tasks

Test: terminal suggest spec additions #241771

meganrogge opened this issue Feb 24, 2025 · 0 comments
Assignees
Milestone

Comments

@meganrogge
Copy link
Contributor

meganrogge commented Feb 24, 2025

Refs #239519, #239515, #241392

Complexity: 5

Authors: @meganrogge, @Tyriar

Roles: Developer, Engineering Manager

Create Issue


Overview

We’ve significantly improved shell completions across several shells—bash, zsh, fish, and pwsh - adding specs and improving parsing of the command line to provide better suggestions.

The new specs are:

apt,brew,cat,chmod,chown,cp,curl,df,du,echo,find,grep,head,kill,killall,less,ls,mkdir,more,mv,nano,node,npm,npx,nvm,pnpm,ps,pwd,python,python3,rm,rmdir,scp,ssh,tail,top,touch,uname,vim,wget, and yarn

Pre-requisites

  • Terminal Settings:
    Ensure that terminal.integrated.suggest.enabled is enabled in your settings.
  • Customization:
    Further customize settings under terminal.suggest as needed.

Testing Instructions

  • Steps:
    1. Type in the terminal and accept spec completions
    2. Request completions for subcommands, arguments, etc
    3. Try using multiple commands on the line via &&. Subcommand and argument suggestions should still work.
    4. Ensure options (needs value) and flags (does not need value) are differentiated correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants