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. |
minReindexingInterval | int | The minimum interval between reindexes in ms. |
minRefreshSummaryInterval | int | The minimum interval between refresh summary in ms. |
summaryBatchSize | int | The batch size for code summary in autocomplete. |
jobReorderInterval | int | The interval in ms to reorder jobs in the job queue for summary. |
stopRapidChanges | bool | Whether to stop rapid changes in autocomplete. |
delaySummaryBatches | int | The delay in ms between summary batches. |
delaySummaryBatchesRateLimit | int | The delay in ms in case of rate limit for delay summary batches. |
maxSymbolsFuzzyMatch | int | The max number of symbols to fuzzy match. |
fuzzySymbolMatchThreshold | int | The threshold for fuzzy symbol match. |
symbolsCacheUpdateInterval | int | The interval in ms to update the symbols cache. |
symbolsStorageUpdateInterval | int | The interval in ms to update the symbols storage. |
editPredictionSimilarityThreshold | int | The threshold for edit prediction similarity. |
minSearchWordLength | int | The minimum length of the word to be searched. |
maxOccurrencesPerWord | int | The maximum occurrences of a particular search word present in the file. |
maxWordsContentMatches | int | The maximum number of content matches from the client. |
editPredictionEnabled | bool | Whether to enable edit prediction. |
snapshotIntervalMs | int | The interval in ms to snapshot the file for recent file changes. |
linesForSnapshot | int | Limit of max number of lines to snapshot for recent file changes. |
embeddingConstants | CodeLLMEmbeddingConstants | Embedding constants |