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

Asterisk is not recognized as valid function/cmdlet name character #200

Open
schuelermine opened this issue Jun 5, 2020 · 1 comment
Open

Comments

@schuelermine
Copy link

Environment

  • Editor and Version VS Code
  • Your primary theme: High Contrast Default

Issue Description

The character * is not recognized as part of a function/cmdlet name

Screenshots

Defining such a function...

In VSCode:
grafik
In PowerShell itself:
grafik

Calling such a function/cmdlet...

In VSCode:
grafik
In PowerShell itself:
grafik

To show that the semantics are wrong, too, here's an autocomplete popup:

grafik

Expected Behavior

The asterisk and the rest of the function name should be the same color and the asterisk should not interrupt the function name and cause suggestions to pop up all of a sudden.

Code Samples

function Get-A*A {}
Get-A*A

(GitHub highlighting is also wrong, here)

@msftrncs
Copy link
Contributor

msftrncs commented Mar 3, 2021

This is handled in PR #156.

image

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

2 participants