Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(typescript-plugin): JSON parsing error when server data length > 8192 #3961

Merged
merged 2 commits into from Mar 4, 2024

Conversation

johnsoncodehk
Copy link
Member

@johnsoncodehk johnsoncodehk commented Mar 4, 2024

Fixes #3937

This problem can be reproduced with https://github.com/elk-zone/elk. The result length of getComponentNames is 17823 in elk, which is greater than the 8192 limit that can be received at a time, thus causing JSON parsing to fail with incomplete result.

@johnsoncodehk johnsoncodehk merged commit 9814710 into master Mar 4, 2024
6 checks passed
@johnsoncodehk johnsoncodehk deleted the data-length branch March 4, 2024 04:05
so1ve pushed a commit to so1ve/language-tools that referenced this pull request Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vue Language Server Crashes in VSCode + Nuxt
1 participant