Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
@schuelermine

Description

@schuelermine
Issue body actions

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)

andyleejordan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.