Skip to content

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
@ghentschke ghentschke requested a review from ruspl-afed July 26, 2024 14:33
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
@jonahgraham jonahgraham added this to the 3.0.0 milestone Mar 7, 2025
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
3 participants