processing / processing/processing4

Adding a Caret Position Indicator

オープン
#1,125 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Java
スター
494
フォーク
183
平均マージ
4時間 39分
マージ済み PR(30日)
3

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず Core/Environment/Rendering の領域と環境設定ウィンドウを見つけ、次に issue 作成者がすでに作業しているコードを確認します。エディターにバージョン番号の近くでキャレットの行と列が表示され、デフォルトでは非表示のままで、環境設定で有効化または無効化できるようになれば、この機能は完成です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
design, desktop
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。