microsoft / microsoft/TypeScript
[tsserver] documentation "about how to implement tsClient?"
まだ誰も着手していません。
- 主要言語
- Go
- スター
- 111k
- フォーク
- 14.4k
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 117
説明
I'm implementing tsClient inside Eclipse, but it's very hard for me, because there are no documentation about protocol. So I study implementation with sublime, vim and vscode, but it's not my language, so it's a little hard.
So, it should be very cool if you could provide a documentation to implement tsClient, I mean request/response protocol.
We could take a simple sample:
- open a document.
- do a completion.
- change the editor content to show how to synchronize editor with tsserver. There are 2 means to do that:
- use "change" (I must study why it doesn't work for me, but if I have a documentation, it will help me a lot).
- use "tmpfile"
- do a completion again with the editor which have changed.
- close the document.
To explain that, you could starts tsserver with Windows cmd, and shows request/response. So any user will able to play with your tsserver.
After that you could speak about advanced topic like validation with event.
Thanks for your help!
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
tsserver とそのリクエスト/レスポンスプロトコルから始め、Windows cmd を使用してやり取りを確認します。ドキュメントを開くこと、補完を要求すること、change または tmpfile で編集内容を同期すること、再度補完を要求すること、ドキュメントを閉じることを記録し、発展的なトピックとして検証イベントも含めます。ユーザーがこの例に従って基本的な tsClient を実装できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 4/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100