Skip to content

Semantic Highlighting: Namespace types incorrectly highlighted as functions #3997

Open
@JustinGrote

Description

@JustinGrote

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues to ensure it has not already been reported.
  • I have read the troubleshooting guide.
  • I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
  • I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
  • If this is a security issue, I have read the security issue reporting guidance.

Summary

image

This should be highlighted as a type, not a function.

Example of correct highlighting:
image

PowerShell Version

N/A

Visual Studio Code Version

1.68.0-insider
ba2dd825803b5f95d5dcce927afc3a4882ed0f84
x64

Extension Version

ms-vscode.powershell-preview@2022.5.5

Steps to Reproduce

Add the text.

Visuals

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions