github / github/vscode-github-actions
Indent added if `---` is at top of yaml file (v0.26.1)
- 主要言語
- TypeScript
- スター
- 660
- フォーク
- 213
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**To Reproduce**
With only the GitHub Actions extension enabled, If I paste in the following .yaml file:
```yaml
---
name: Example
# rest of file
```
the editor immediately reformats the pasted text as
```yaml
---
name: Example
# rest of file
```
When the extension is disabled, the pasted test is not indented after the `---` line.
If
```yaml
name: Example
# rest of file
```
is pasted, no extra indent is added.
**Expected behavior**
Pasted text is not indented
**Extension Version**
`v0.26.1`
コントリビューションガイド
調査の方向性
まず、この issue の YAML 例を使い、GitHub Actions 拡張機能だけを有効にした状態で VS Code の貼り付け動作を再現します。拡張機能の YAML の貼り付けまたはインデント処理を特定し、その後、`---` で始まるドキュメントでは貼り付けた内容のインデントが維持され、これを含まないドキュメントでは引き続き期待どおりに動作することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript, vscode
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100