PowerShell / PowerShell/PSScriptAnalyzer
Feature request: Line breaks after separators in code formatting
オープン
まだ誰も着手していません。
Area - Formatter
Up-for-Grabs
- 主要言語
- C#
- スター
- 2.2k
- フォーク
- 414
- 平均マージ
- 13時間 1分
- マージ済み PR(30日)
- 2
説明
Option to insert a line break after separators in PowerShell code formatting:
I am suggesting an option for the PowerShell code formatter that allows to insert line breaks after each separator. For example, the following code:
$foo=9;$bar=10;
currently becomes formatted as follows with the default settings:
$foo = 9; $bar = 10;
Enabling line breaks after separators should produce the following result instead:
$foo = 9;
$bar = 10;
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず PowerShell フォーマッターとセパレーターを処理するコードを見つけ、次にこの issue の例に対して実行します。各セパレーターを新しい行に配置してフォーマットしつつ、既存のデフォルト出力を維持するオプションが利用可能になれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- powershell
- 領域
- tooling
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100