You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I have "lsp_format_on_save" enabled for LSP-pylsp where I use black. This works great in most cases but from time to time I'm working on larger/more complex codes that take a little longer to format and so the formatting hits the 1000ms default timeout here:
Describe the solution you'd like
Add a setting allowing us to customize the timeout value.
Describe alternatives you've considered
A working alternative is to force the formatting via context menu > LSP > Format File but for obvious reasons this can become annoying.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
I see that there is a "code_action_on_save_timeout_ms" setting but this does not appear to apply to formatting on save? I would assume a similar implementation is needed?
Is your feature request related to a problem? Please describe.
I have
"lsp_format_on_save"
enabled for LSP-pylsp where I useblack
. This works great in most cases but from time to time I'm working on larger/more complex codes that take a little longer to format and so the formatting hits the 1000ms default timeout here:LSP/plugin/save_command.py
Lines 33 to 37 in 5611169
And as seen here in the status bar:
![Screen Shot 2021-06-03 at 6 25 47 PM](https://user-images.githubusercontent.com/4546435/120725445-94c75b00-c49b-11eb-8866-2c66ff8166eb.png)
Describe the solution you'd like
Add a setting allowing us to customize the timeout value.
Describe alternatives you've considered
A working alternative is to force the formatting via context menu > LSP > Format File but for obvious reasons this can become annoying.
Additional context
N/A
The text was updated successfully, but these errors were encountered: