move comment before
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript
- 領域
- tooling
調査の方向性
まず、要素に隣接するコメントに対する XML formatter の動作を追跡します。この issue の例を、想定される順序のケースとして使用してください。whitespace sensitivity を無効にした場合の動作と比較し、その後、コメントを要素の前に移動する場合と、コメントを inline のままにすることで長すぎる行を避けられる場合にコメントを保持する場合のテストを定義します。
索引モデルが issue の本文から書いたものです。
説明
given
<module name="IllegalImport" /><!-- defaults to sun.* packages -->
I would like the reformat to be
<!-- defaults to sun.* packages -->
<module name="IllegalImport" />
instead of
<module name="IllegalImport" />
<!-- defaults to sun.* packages -->
note: obviously I've turned off whitespace sensitivity.
I feel like this would be a sensible default with whitespace sensitivity turned off, but an option would be nice too. I feel like programming convention is, comments to the right affect code to the left. Comments before affect code below. So moving the comment to be after changes the ... semantics.
Alternative, or maybe in addition to, if you could leave the comment alone if it's not making the line too long.
- 主要言語
- JavaScript
- スター
- 278
- フォーク
- 46
- 平均マージ
- 1分
- マージ済み PR(30日)
- 13
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
prettier/plugin-xml のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
prettier/plugin-xml#996 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
prettier/plugin-xml#995 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
prettier/plugin-xml#986 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
prettier/plugin-xml#981 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
prettier/plugin-xml#937 · リアクション 1 件 ·
prettier/plugin-xml の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
docToolchain/docToolchain#1705 ·
-
Timezone select lists one option per character; duplicate "Failed" reason; shared tracker popover id オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
nightscout/nocturne#1414 ·
-
bug v2
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
modelcontextprotocol/inspector#2458 · コメント 1 件 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
carbon-design-system/ibm-products#9907 ·