microsoft / microsoft/vscode-java-pack

Code formatting is working incorrectly if variable or class name consists of Egyptian hieroglyphs

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

@testforstephen đang làm issue này rồi.

Từ ngày 22/3/2021.

ai-triaged bug
Ngôn ngữ chính
TypeScript
Star
352
Fork
166
Merge trung bình
17 giờ 47 phút
Pull request đã merge (30 ngày)
32

Mô tả

Environment:

  • VS Code Version: 1.52.1
  • Extension Version: v0.12.1
  • JDK Type & Version: Oracle JDK 15
  • OS Type & Version: Win 10 20H2

Code formatting does not work correctly if class or variable names consist of egyptian hieroglyphs

Step to Reproduce:
Create a new class with the name consisting of egyptian hieroglyphs
Instantiate a new object of that class using "new" keyword
Format source file
"new" and class name will be joined together

Expected Behavior:
keywords preceding variable and class names should have a whitespace after them after formatting.
Expected:
image

Actual Behavior:
Formatting removes whitespace between variable / class name and preceding keyword.
Actual:
image

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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.

Đánh giá

Issue này chưa được đánh giá.

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.