Skip to content

The automatic variable $PSHOME is not highlighted #5166

Open
@cos4ni2s

Description

@cos4ni2s

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all open and closed 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

I am experiencing a problem with syntax highlighting. I think $PSHOME should be highlighted but it is not.

PowerShell Version

7.5.0

Visual Studio Code Version

1.98.2

Extension Version

2025.0.0

Steps to Reproduce

Type $PSHOME in the Visual Studio Code Text Editor area.

Visuals

Image

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Semantic HighlightingIssue-BugA bug to squash.VerifiedThis issue has been determined to be a legitimate issue that requires a fix.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions