[formatter] Indentation for pipeline chaining with leading pipe operator
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
- 55/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- powershell
- Lĩnh vực
- tooling
Hướng nghiên cứu
Start at the formatter entry point for PowerShell pipeline expressions; the issue does not identify a file or test. Reproduce the shown leading-pipe example and add or update coverage so continuation pipes are indented as in the expected output.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary of the new feature
Add indentation for pipeline with leading pipe operator.
Proposed technical implementation details (optional)
# expected:
Get-ChildItem
| Where-Object { $_ }
| ForEach-Object name
# actual:
Get-ChildItem
| Where-Object { $_ }
| ForEach-Object name
What is the latest version of PSScriptAnalyzer at the point of writing
Bundled with Powershell-Editor-Servcies-4.7.0
- Ngôn ngữ chính
- C#
- Star
- 2.2k
- Fork
- 415
- Merge trung bình
- 13 giờ 1 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PowerShell/PSScriptAnalyzer
-
Up-for-Grabs
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
PowerShell/PSScriptAnalyzer#2213 · 2 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
PowerShell/PSScriptAnalyzer#2220 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
PowerShell/PSScriptAnalyzer#2218 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
PowerShell/PSScriptAnalyzer#2217 · 1 bình luận ·
-
PSUseConsistentIndentation double-indents attribute bodies that open a scriptblock (`[Attr({ … })]`)Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 70/100
PowerShell/PSScriptAnalyzer#2216 · 2 bình luận · 1 reaction ·
Tất cả issue của PowerShell/PSScriptAnalyzer
Issue tương tự
-
bug P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
nightscout/nocturne#1908 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug documentation Needs: Triage :mag:
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
WPF: each page's `Title` overwrites the window title, and returning to a page does not restore itĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
agentic-workflows area/Docs partner/agentic-workflows
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
jamesmontemagno/tiny-clips#378 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày