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

[#362] increase timeout for fetching format regions from LS #363

Merged
merged 2 commits into from
Jul 27, 2024

Conversation

ghentschke
Copy link
Contributor

increase timeout from 5 to 30 seconds. Fetching formatting regions from the language server for large files (>20k lines of code) can take more than 5 sec.

fixes #362

increase timeout from 5 to 30 seconds. Fetching formatting regions from
the language server for large files (>20k lines of code) can take more
than 5 sec.

fixes eclipse-cdt#362
this works, because FormatOnSave calls our Configuration which involves
a call to the PreferenceInitializer class.
Copy link
Member

@ruspl-afed ruspl-afed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ghentschke ghentschke merged commit 160adf6 into eclipse-cdt:master Jul 27, 2024
2 checks passed
@ghentschke
Copy link
Contributor Author

Thanks for review!

@ghentschke ghentschke deleted the fix-issue-362 branch July 27, 2024 08:57
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.

Format on save fails for large source files
2 participants