Asterisk is not recognized as valid function/cmdlet name character
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- powershell
- 領域
- devtools
調査の方向性
Start with the PowerShell examples function Get-A*A {} and Get-A*A, then inspect the syntax-highlighting rules and autocomplete behavior for function and cmdlet names. Reproduce the issue in VS Code and compare it with PowerShell itself and GitHub highlighting; done means the asterisk remains part of the name, uses the same color, and does not trigger an incorrect suggestion.
索引モデルが issue の本文から書いたものです。
説明
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:

In PowerShell itself:

Calling such a function/cmdlet...
In VSCode:

In PowerShell itself:

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

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)
- 主要言語
- PowerShell
- スター
- 151
- フォーク
- 55
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PowerShell/EditorSyntax のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
PowerShell/EditorSyntax#224 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
PowerShell/EditorSyntax#222 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
PowerShell/EditorSyntax#221 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
PowerShell/EditorSyntax#220 · コメント 2 件 · リアクション 1 件 ·
-
Issue-Bug
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
PowerShell/EditorSyntax#219 · コメント 2 件 ·
PowerShell/EditorSyntax の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
0xMiden/bridge-portal#132 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
newrelic-experimental/preflight#793 · コメント 1 件 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
babalae/bettergi-scripts-list#3674 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
caddyserver/caddy#8046 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
zilliztech/memsearch#759 ·