redhat-developer / redhat-developer/vscode-java

Visual Studio Code Outline should indicate public, protected, private, and package-private methods when viewing a Java document.

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

Chưa có ai nhận issue này.

enhancement navigation upstream
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:

image

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

image

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.

image

Expected Result

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

image

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

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

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.