Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Syntax Highlighting: region incorrectly highlighted when defined as part of a hashtable

Đang mở
#213 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
powershell, vscode
Lĩnh vực
tooling

Hướng nghiên cứu

Start with the linked screenshot and the report's TextMate grammar note; reproduce the issue in VS Code with semantic highlighting disabled and a PowerShell region defined inside a hashtable. Done means that region is highlighted correctly in this case, without changing the reported standalone PowerShell behavior.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Area-Code Formatting Issue-Bug Needs: Triage :mag:
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.
Summary

image

Seems to be textmate grammar related, happens if semantic highlighting is disabled.

PowerShell Version
7.2.1
Visual Studio Code Version
1.65.0-insider
0283cec6ec2c2d5ec39006a1048b8dc3ea8bc955
x64
Extension Version
2021.12.0
Steps to Reproduce

See above.

Visuals

No response

Logs

No response

Ngôn ngữ chính
PowerShell
Star
151
Fork
55
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PowerShell/EditorSyntax

Tất cả issue của PowerShell/EditorSyntax

Issue tương tự

Thêm issue về DevTools

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.