redhat-developer / redhat-developer/vscode-java

Next line cursor when we have multiple line statement is not acting correctly.

Đang mở
#2,098 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.

content-assist ux
Ngôn ngữ chính
TypeScript
Star
2.3k
Fork
546
Merge trung bình
20 giờ 1 phút
Pull request đã merge (30 ngày)
11

Mô tả

At the end of a statement (i.e. ends with ";") the new cursor does not go to the beginning of the line but align with the previous line. I attached a screenshot to demonstrate the issue.

Screenshot 2021-09-05 at 19 20 03

When I "enter" to go the the next line, the new cursor start at the column of ".blocki...". It should be the beginning of the line which is the column "web3...." instead.

Environment
  • Operating System: Intel Mac OS
  • JDK version: JDK 11
  • Visual Studio Code version: 1.60.0
  • Java extension version: v0.81.0
Steps To Reproduce
  1. Type a normal java statement for example:
log.info("my test " +
        "statement");
  1. Press enter to go to the next line.
Current Result

The cursor in the next line at the column of "statement"

Expected Result

It should be the beginning of the line which is column of log.info...

Additional Informations

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

Tái hiện vấn đề đặt con trỏ trong Visual Studio Code 1.60.0 với JDK 11 và Java extension v0.81.0 bằng câu lệnh log.info nhiều dòng được hiển thị trong issue. Xác minh rằng việc nhấn Enter sau dấu chấm phẩy sẽ đặt con trỏ ở đầu phần thụt lề của câu lệnh thay vì bên dưới dòng tiếp nối.

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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/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.