redhat-developer / redhat-developer/vscode-java

Add feature for line up comment

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

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

formatter upstream
主要言語
TypeScript
スター
2.3k
フォーク
546
平均マージ
20時間 1分
マージ済み PR(30日)
11

説明

background: format comment setting is disabled because for preserving whitespace of indentation

// void method()
// {
//     System.out.println("indented"); 
// }

This will make vscode so powerful that eclipse or other ide can't provide if vscode can:

  1. add option for line up comment even when format comment is disabled
class Test {
    void trailingCommented()
    {
        System.out.println("indented"); //comment
        System.out.println("indent"); //comment
    }
}

became

class Test {
    void trailingCommented()
    {
        System.out.println("indented"); //comment
        System.out.println("indent");   //comment
    }
}
  1. add option to add space after // even when format comment is disabled

became

class Test {
    void trailingCommented()
    {
        System.out.println("indented"); // comment
        System.out.println("indent");   // comment
    }
}

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

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

はじめの一歩

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

調査の方向性

ファイルやテストは指定されていません。リポジトリ内で format-comment 設定とそのコメントフォーマット実装を検索し、Issue の例と動作を比較してください。完了条件は、末尾コメントを揃えられ、必要に応じて // の後にスペースを追加でき、コメントのフォーマット自体は無効のままであることです。

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

評価

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

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

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