Support adding new tokens and lines

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
rust
領域
tooling

調査の方向性

この issue では、ファイル、テスト、エントリーポイントのいずれも指定されていません。まず既存の構造と、それらを基盤として構築された仕組みを追跡し、そのうえで論理行とトークンリストがどのように表現されているかを特定してください。挿入されたトークン、リストの途中に配置されたトークン、および複数の論理行の関連付けられた追加をサポートできれば完了です。

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

説明

enhancement

At the moment, pasfmt doesn't have a good way to insert new tokens into lines or insert entirely new lines.

This addition would allow for features such as:

  • Adding begin/end blocks to single statements
  • Adding method separators

The complexity of this all the machinery that has been built atop the existing structures.
Adding new logical lines would become complex when attempting to add multiple lines that are linked, e.g., an if statement.
Additionally, when adding new tokens, there would need to be a way to add tokens to the middle of the list of tokens.

主要言語
Rust
スター
108
フォーク
20
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

integrated-application-development/pasfmt のほかの issue

integrated-application-development/pasfmt の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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