popcodeorg / popcodeorg/popcode

Show warnings if code isn't indented properly

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

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

feature
主要言語
JavaScript
スター
191
フォーク
143
平均マージ
4日 11時間
マージ済み PR(30日)
5

説明

It would be great if students were advised on proper indentation in an automated fashion. It would help them get in the habit of formatting code cleanly much sooner, and help them find obvious bugs in their own code.

From our conversation over Slack, it sounds like we could infer what indentation type the code is primarily using, and enforce that everywhere in the code.

Maybe we wouldn't want to block the page from loading when indentation errors are present, but instead add a warning annotation to the line that's improperly indented.

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

調査の方向性

この issue ではファイルもテストも指定されていないため、まずエディターのコード読み込みと行アノテーションのエントリーポイントを見つけます。インデントのスタイルをどのように推測できるか、またページをブロックせずに警告を表示する方法を確認し、そのうえで、インデントが不正な行にはアノテーションが付けられ、正しいコードには影響がないことを検証します。

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

評価

技術スタック
javascript
領域
frontend
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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