microsoft / microsoft/TypeScript-Sublime-Plugin
TypeScriptFormat removes all indentation
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 1.7k
- フォーク
- 236
- 平均マージ
- 21日 13時間
- マージ済み PR(30日)
- 1
説明
I am using the plugin v0.1.4 on Mac OS X with sublime build 3083 and all of a sudden the "typescript_format_document" command stopped working.
What it does now is remove the entire indentation (removing all leading spaces).
The rest of the plugin seems to work (syntax check and completion).
I have not installed any other plugin in the meantime, and I am quite positive I did not change my settings.
The weird thing is that while it does not affect all .ts document in my project, it start to affect them randomly. For example, I have document A open, I can format it OK, I close it reopen it, and now the plugin don't format it. It is not systematic, some documents still work, even after opening, modifying and closing them.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
報告された plugin v0.1.4 と Mac OS X 上の Sublime build 3083 を使用して、影響を受ける .ts ドキュメントで typescript_format_document コマンドを再現する。行頭のスペースが一貫せず削除される理由を特定するためにフォーマットの経路を追跡する。完了とは、再度開いたドキュメント全体でフォーマットによってインデントが確実に保持されることを意味する。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100