Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

API over LSP implementation#2302

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
aleksei-berezkin wants to merge1 commit intomicrosoft:main
base:main
Choose a base branch
Loading
fromJetBrains:lsp-api-impl

Conversation

@aleksei-berezkin
Copy link

Hi! This is our attempt to implement a TS-Go API over the LSP protocol using custom messages. We are already actively using it to query types from thetsgo server, so we think it could be of interest to you. Here are the key points of this implementation:

  • It uses LSP as the transport layer rather than a custom protocol. We find this much easier to maintain. In terms of performance, the transport has never been a bottleneck for us.
  • Types andSymbols are loaded lazily. For example, for anObjectType, properties are loaded only when accessed, and their types are also requested on demand. This helps minimize traffic and maintain good performance.
  • While this code is fully functional, we understand that the implementation is not complete. Only a subset of fields and types is supported, but we believe it can be developed further into a production-ready solution.

Thank you.

vsergiu93 reacted with thumbs up emojijakebailey, DanielRosenwasser, gabritto, nnnnoel, and zhihengGet reacted with eyes emoji
@aleksei-berezkin
Copy link
Author

@microsoft-github-policy-service agree company="JetBrains"

@microsoft-github-policy-service

@aleksei-berezkin the command you issued was incorrect. Please try again.

Examples are:

@microsoft-github-policy-service agree

and

@microsoft-github-policy-service agree company="your company"

@aleksei-berezkin
Copy link
Author

@microsoft-github-policy-service agree company="JetBrains"

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@aleksei-berezkin

[8]ページ先頭

©2009-2025 Movatter.jp