Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Add preference to configure GenericEditorContentAssistant.contextInformationPopupOrientation

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

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
53/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
java
Lĩnh vực
desktop

Hướng nghiên cứu

Start with GenericEditorContentAssistant.java, especially the line linked in the issue where the context-information popup orientation is hard-coded, and inspect how ContentAssistant exposes that option. Then look for the generic editor’s existing preference definitions and tests; the issue does not name them. Done means users can choose the context-information orientation and the selected setting is applied.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

While working with the generic text editor, I noticed that the context information is placed below the cursor, which causes any additional shells, such as the proposal list or the additional information popup to cover the context information.

Example:
Initially only the context information is shown:
Image
If the user triggers the proposals or starts typing, the context info is barely visible:
Image

ContentAssistant already has the option to show the context above the cursor (which is the default) , but GenericEditorContentAssistant hard-codes this to be rendered below:
https://github.com/eclipse-platform/eclipse.platform.ui/blob/61565e63f53ce84d1e983d6f2ab1cc399207d1cb/bundles/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/GenericEditorContentAssistant.java#L98

I propose to add a preference so the user can decide where the context info is shown.

Moving it to the top looks like this:
Image

For comparison, VS Code also displays this information at the top, if there is enough space:
Image
If there isn't enough space, it also displays the info below the cursor where it also covered by any additional popups.

Thoughts?

Ngôn ngữ chính
Java
Star
124
Fork
269
Merge trung bình
1 ngày 19 giờ
Pull request đã merge (30 ngày)
63

Chuẩn bị môi trường

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.

Issue khác của eclipse-platform/eclipse.platform.ui

Tất cả issue của eclipse-platform/eclipse.platform.ui

Issue tương tự

Thêm issue về Java

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.