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

Prevent editor "jumping" by using placeholders for Code Minings

Đang mở
#3,723 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
java
Lĩnh vực
desktop

Hướng nghiên cứu

Start by reading the Code Mining provider and editor integration points to see whether vertical space can be reserved before the asynchronous calculation finishes. The issue is done if placeholders prevent the source code from shifting and the calculated content can appear afterward; if the architecture cannot support pre-allocation, the issue suggests closing it.

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

Mô tả

enhancement

@tobiasmelcher asked for improvement suggestions for code minings. Here is one:

Description: Currently, when opening a file, Code Minings are calculated asynchronously and injected into the editor upon completion. If this calculation takes more than a few milliseconds, the source code shifts downward unexpectedly while the user is trying to read or edit.

Suggested Improvement: Implement layout reservation or placeholders. If possible, the Code Mining provider should immediately return an empty placeholder of a fixed height. This ensures the space is already allocated, allowing the content to fade in once the calculation is finished without moving the rest of the source code.

If the current architecture doesn't allow for pre-allocating vertical space, please feel free to close this.

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.