processing / processing/processing4

Adding a Caret Position Indicator

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

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

Ngôn ngữ chính
Java
Star
497
Fork
183
Merge trung bình
4 giờ 39 phút
Pull request đã merge (30 ngày)
3

Mô tả

Relevant sub-area for this feature?

Core/Environment/Rendering

Feature description

I think it would be beneficial to have a caret position indicator, similar to as seen in common text editors, for displaying the caret line and column. This may appear in the bottom right, next to the version number, as so:

Image

A user would have control over the visibility of the indicator in preferences. The default would be non-visible, as to not crowd the display. Preference may show as:

Image

Benefits

There are several benefits from having a caret indicator:

  1. In larger sketches, knowing the location of the caret may help users navigate more efficiently
  2. When debugging or collaborating, knowing the precise location in code removes ambiguity
  3. Reduces the need for 'counting characters' when selecting/copying/pasting/deleting code
Possible challenges

Possible challenges may revolve around adding support for different languages in the preferences window.

Additional context

No response

Would you like to work on the issue?

Yes. I already have some working code for this feature, which can be ironed out.

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

Bắt đầu bằng cách xác định khu vực Core/Environment/Rendering và cửa sổ tùy chọn, sau đó xem lại code đang hoạt động hiện có của tác giả issue. Tính năng hoàn tất khi editor hiển thị dòng và cột của caret gần số phiên bản, mặc định vẫn ẩn và có thể được bật hoặc tắt trong phần tùy chọn.

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
Lĩnh vực
design, desktop
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
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.