redhat-developer / redhat-developer/vscode-java
Visual Studio Code Outline should indicate public, protected, private, and package-private methods when viewing a Java document.
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- TypeScript
- Star
- 2.3k
- Fork
- 547
- Merge trung bình
- 20 giờ 1 phút
- Pull request đã merge (30 ngày)
- 11
Mô tả
This is a feature request.
I don't know if this requires upstream support from Visual Studio Code itself. Currently, when viewing the Outline in Visual Studio Code, there are no indications suggesting the methods is public, protected, private, or package-private. In other words, it is difficult to differentiate the method accessors by type just by viewing the Outline. You can see the Visual Studio Code screenshot below, and try to find which one of them is not private:

In Eclipse, they have different icon colors to indicate the different method accessors.

It would be nice to see them, so it's easier to find and discover which methods are available from the Outline.
Environment
- Operating System: Ubuntu 18.04.4 LTS
- JDK version: OpenJavaSDK 1.8 (on maintenance mode at work)
- Visual Studio Code version: 1.47.2
- Java extension version: 0.64.1
Current Result
Not easy to differentiate the method's accessor levels (public, protected, private, package-private) in the Outline.

Expected Result
Something along the lines of being able to differentiate the methods in the Outline.

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
Không có tệp nào trong repository hoặc bài kiểm thử nào được nêu. Hãy bắt đầu bằng cách truy vết cách tiện ích mở rộng Java cung cấp các symbol cho Visual Studio Code Outline và xác nhận liệu các chỉ báo cấp độ truy cập có yêu cầu Visual Studio Code hỗ trợ upstream hay không. Hoàn tất khi có thể phân biệt các phương thức public, protected, private và package-private trong Outline.
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, typescript
- Lĩnh vực
- developer-experience, tooling
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- 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
- 30/100