microsoft / microsoft/vscode-cpptools
Newline after an auto-closing } doesn't trigger formatting with vcFormat style formatting
オープン
まだ誰も着手していません。
bug
Feature: Code Formatting
insiders
Language Service
Works in VS
- 主要言語
- TypeScript
- スター
- 6.2k
- フォーク
- 1.7k
- 平均マージ
- 14時間 46分
- マージ済み PR(30日)
- 61
説明
With vcFormat and formatOnType, type
while(true){
that will trigger an auto }, and then hit enter.
Bug: The result is while(true){ instead of while (true) { (which works in VS).
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
vcFormat と formatOnType を使用して VS Code で問題を再現します。自動的に閉じられる中かっこを含む while 条件を入力し、Enter を押します。その改行によってトリガーされるフォーマット処理の経路を調査します。結果が while(true){ ではなく while (true) { としてフォーマットされれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp, vscode
- 領域
- developer-experience, tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 38/100