Debounce in Code Completion

已回答

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 ;)

0

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.

1

请先登录再写评论。