microsoft / microsoft/TypeScript

[tsserver] CompileOnSaveEmitFile should returns emited files (js, map, d.ts) path

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

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

Awaiting More Feedback Domain: API Suggestion
主要言語
Go
スター
111k
フォーク
14.4k
平均マージ
1日 19時間
マージ済み PR(30日)
117

説明

I'm consumming "CompileOnSaveEmitFile " with tsserver inside Eclipse. It works great and improve a lot of performance (before I called tsc when for each save of file and performance was not very good).

In Eclipse, when a file is created outside Eclipse (like tsserver generates js, map files), the files doesn't appear in the Navigator files of the Eclipse. We must do a refresh at hand.

It should be very cool if CompileOnSaveEmitFile could returns the file path for each generated files. With this feature I could refresh those files inside Eclipse.

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

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

はじめの一歩

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

調査の方向性

まず、tsserver の CompileOnSaveEmitFile コマンドとそのレスポンス処理を追跡します。生成された JavaScript、source map、declaration の出力が現在どのように表現されているかを確認します。レスポンスが各出力ファイルのパスを公開し、Eclipse が手動更新なしでそれらを更新できれば完了です。

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

評価

技術スタック
typescript
領域
tooling
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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