Debounce in Code Completion
Answered
Hi,
Is there a default solution for Debounce in autocomplete plugin development?
I'm currently working in a custom code completion plugin that works with an API to process the code context and return suggestions. What would be a proper way to implement a Debounce solution and prevent multiple requests to the service?
Thanks ;)
Please sign in to leave a comment.
There is currently no ready-made solution for this in IJ platform, so you'll have to take care of caching/throttling/timeouts in your completion contributor by yourself.