eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper

YAML should not support tabs.

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

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

upstream-lsp4e upstream-yaml-language-server
Ngôn ngữ chính
Java
Star
201
Fork
76
Merge trung bình
4 ngày 7 giờ
Pull request đã merge (30 ngày)
21

Mô tả

According to this: https://yaml.org/spec/1.2/spec.html#id2777534
`In YAML block styles, structure is determined by indentation. In general, indentation is defined as a zero or more space characters at the start of a line.

To maintain portability, tab characters must not be used in indentation, since different systems treat tabs differently. Note that most modern editors may be configured so that pressing the tab key results in the insertion of an appropriate number of spaces.

The amount of indentation is a presentation detail and must not be used to convey content information.

Each node must be indented further than its parent node. All sibling nodes must use the exact same indentation level. However the content of each sibling node may be further indented independently..`
Wild web developer allows us to use YAML files with tabs.
https://imgur.com/58hVbWM
Is there any change to do in generic editor to allows convering tabs to space?

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.

Hướng nghiên cứu

Bắt đầu với đặc tả YAML được liên kết trong issue và xem lại cuộc thảo luận hiện có gồm 26 bình luận về trình soạn thảo chung của Wild Web Developer. Xác định thành phần trình soạn thảo chịu trách nhiệm về hành vi thụt lề YAML; công việc được xem là hoàn tất khi cách xử lý tab được yêu cầu đã được định nghĩa rõ ràng và xác minh cho các tệp YAML.

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

Đánh giá

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

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.