redhat-developer / redhat-developer/vscode-java
Java support disabled in diff editor for staged files
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ả
See: https://github.com/Microsoft/vscode/issues/34034
It is the case in some other vscode language extensions that one can go to definitions directly from the right hand pane of the diff editor (ie, from the pane that represents the current version of the file). This is great utility when looking at diffs, reviewing changes, etc.
This is currently the case for TS/JS and used to be the case for Go (there was some sort of regression). It would be great if Java supported this.
Environment
- Operating System: Mac OS X, 10.11.6, Darwin x64 15.6.0
- JDK version: 1.8.0_92
- Visual Studio Code version: Code 1.16.0 (787b31c0474e6165390b5a5989c9619e3e16f953, 2017-09-06T16:12:42.401Z)
- Java extension version: 0.9.0
Steps To Reproduce
- Open a diff editor where one of the panes is the current version of the file, e.g., by going to the source control view and (in the case of git) clicking on one of the diffs for the staged or working tree changes.
- Attempt to go to a definition.
Current Result
A message indicating that the definition was not found.
Expected Result
Go to Definition and other tooling (symbols, etc) should work in the pane that represents the current version of the file.
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
Bắt đầu bằng cách tái hiện các bước trong chế độ xem kiểm soát mã nguồn của VS Code và trình chỉnh sửa khác biệt với một thay đổi Java staged hoặc trong working tree. Theo dõi cách Go to Definition và các symbol được xử lý trong ngăn current-version, sau đó xác minh rằng các công cụ này hoạt động ở đó mà không có thông báo definition-not-found.
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, vscode
- Lĩnh vực
- developer-experience, tooling
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 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