redhat-developer / redhat-developer/vscode-java
Next line cursor when we have multiple line statement is not acting correctly.
Chưa có ai nhận issue này.
- 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.
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
- Type a normal java statement for example:
log.info("my test " +
"statement");
- 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
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.
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