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

Intellisense works on commands that don't exist #941

Open
MisinformedDNA opened this issue Jan 30, 2023 · 0 comments
Open

Intellisense works on commands that don't exist #941

MisinformedDNA opened this issue Jan 30, 2023 · 0 comments

Comments

@MisinformedDNA
Copy link

System Details

  • posh-git version/path: 1.0.0
  • PowerShell version: 7.2.3
  • git version 2.39.0.windows.2
  • OS: Microsoft Windows NT 10.0.19042.0

Issue Description

I noticed that I can add any amount of text after a command and the autocomplete still works:

git branchjfhsdfhslfsd<tab>

This is because the IntelliSense doesn't require a space after the command:

"^branch.* (?<branch>\S*)$"

Unless I'm missing something, I would think it should be more like this

"^branch (.* )?(?<branch>\S*)$"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant