PowerShell / PowerShell/vscode-powershell

The automatic variable $PSHOME is not highlighted

オープン
#5,166 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

Area-Semantic Highlighting Issue-Bug Verified
主要言語
TypeScript
スター
1.9k
フォーク
548
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

ソースファイルもテストも指定されていません。Visual Studio Code Text Editor で $PSHOME に対する欠落しているハイライトを再現し、その後、PowerShell の構文ハイライト定義と関連するテストがあればそれらを見つけてください。$PSHOME が期待どおりにハイライトされ、他の自動変数にリグレッションが発生しなければ完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
powershell, vscode
領域
tooling
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。