microsoft / microsoft/TypeScript

[tsserver] documentation "about how to implement tsClient?"

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

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

Docs
主要言語
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!

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

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

はじめの一歩

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

調査の方向性

tsserver とそのリクエスト/レスポンスプロトコルから始め、Windows cmd を使用してやり取りを確認します。ドキュメントを開くこと、補完を要求すること、change または tmpfile で編集内容を同期すること、再度補完を要求すること、ドキュメントを閉じることを記録し、発展的なトピックとして検証イベントも含めます。ユーザーがこの例に従って基本的な tsClient を実装できれば完了です。

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

評価

技術スタック
typescript
領域
documentation
issue の種類
ドキュメント
難易度
4/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

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

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