Setting this value to an integer doesn’t seem to have the effect I was looking for. I use 4 tabs for spaces when writing Python. If I am on a new line and start tabbing to the left, autocomplete always gets in the way causing me to
- turn the feature off
- hit escape to reject the suggestion
- delete the unwanted suggestion accidentally accepted by tabbing (most common)
I’ve tried various values on trigger delay but no luck. Maybe I’m doing it wrong?
Hey @jhargis
The “Trigger Delay” for autocomplete is a number in milliseconds.
The trigger delay ensures a minimum time before showing autocomplete results.
Benefits include:
-
- Throttling requests to optimize resource usage
-
- Allowing user input to stabilize for more relevant suggestions
-
- Creating a consistent, natural-feeling autocomplete experience.
Setting to 3000 means the trigger delay waits 3 seconds until autocomplete happens.
I hope that helps.
@PriNova, I’ve been dying for this feature (trigger delay) in Visual Studio and in the Jetbrains products. Can you please tell me if there’s a way to configure it for those environments, as it’s not part of the visible Cody settings in either?
Regards,
Chris