ConstantsAutocompleteResponse

A dictionary of constants to be used in the autocomplete.

KEY TYPE Description
maxPendingRequests int The maximum number of pending requests.
acceptanceDelay int The acceptance delay.
debounceDelay int The debounce delay.
recordUserAction bool Whether to record user action.
validateSuggestion bool Whether to validate the suggestion.
validationLinesThreshold int The number of lines to validate the suggestion.
maxTrackedRecentChanges int The maximum number of recent file changes to track.
diffThreshold int The diff operations threshold.
derivativeThreshold int The derivative threshold for deletions
defaultSurroundingLines int The default number of surrounding lines to include in the recently visited context.
maxTrackedVisitChanges int The maximum number of recently visited ranges to track.
selectionCooldownMs int The cooldown time in milliseconds for selection changes.
viewingCooldownMs int The cooldown time in milliseconds for viewing changes.
maxLines int The maximum number of lines to include in recently visited context.
editCooldownMs int The cooldown time in milliseconds after last edit.
scrollDebounceMs int The debounce time in milliseconds for scroll events.
lspDeadline int The deadline in milliseconds for LSP context.
diagnosticsThreshold int The max number of diagnostics to show.
diagnosticEachThreshold int The max number of characters to show for each diagnostic type.
numVsCodeSuggestions int The number of VS Code suggestions to show.