Chained methods and properties on expressions
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
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- powershell
- Lĩnh vực
- tooling
Hướng nghiên cứu
Start by reproducing the highlighting with the supplied PowerShell samples in Sublime and compare the regions assigned to Split(), Trim(), and the two .bar expressions. Trace the syntax rules handling chained methods and parenthesized expressions; done means each corresponding method or property receives the same region type.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Moving from https://github.com/SublimeText/PowerShell/issues/68
And https://github.com/SublimeText/PowerShell/issues/77
Environment
- Editor and Version (VS Code, Atom, Sublime): Sublime
- Your primary theme: Default
Issue Description
There is inconsistency in the chained methods:
$users.Split(",").Trim()
Split and Trim get 2 different regions.
Same applies for
$foo.bar
vs
($foo).bar
Screenshots

Expected Behavior
Trim()andSplit()should be the same region type.barin first and second case should be the same region type
Code Samples
$users.Split(",").Trim()
$foo.bar
($foo).bar
- 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
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/EditorSyntax
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
PowerShell/EditorSyntax#224 · 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/EditorSyntax#222 · 2 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
PowerShell/EditorSyntax#221 · 2 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
PowerShell/EditorSyntax#220 · 2 bình luận · 1 reaction ·
-
Issue-Bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
PowerShell/EditorSyntax#219 · 2 bình luận ·
Tất cả issue của PowerShell/EditorSyntax
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
duckdb/duckdb-python#627 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
phpstan/phpstan-doctrine#794 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
nearform/ag-grid-url-sync#160 ·
-
스택 PR 머지 시 하위 PR base 재지정 단계 부재 Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
idean3885/claude-ops-agent#521 ·