prettier / prettier/plugin-php
Converting short php tags
まだ誰も着手していません。
- 主要言語
- PHP
- スター
- 1.9k
- フォーク
- 139
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I find few code having shorted PHP tag <? ?> . Is there any way in the configuration if these tags get converted into whole long tag like <?php ?>? This is plugin has abrupt behavior for the shorter tags. Either blank ?> are appended to code since starting short tag is not parsed.
Second point whole the PHP code inside PHP tags remove the tab indent make it in the same line with PHP tag? Any configuration changes for that as well. THough tab-indent is enabled in .prettierrc.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、issue に記載されている短い PHP タグとインデントのケースを、プラグインの .prettierrc 設定を構成の基準として再現します。これらの動作がサポートされているかどうかを判断するため、プラグインの構成およびフォーマットに関するドキュメントを読みます。要求されたタグ変換と PHP のインデント動作が明確に仕様化され、一貫して処理または文書化されていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- php
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100