CIRCT 22.0.0git
Loading...
Searching...
No Matches
Static Public Member Functions | Public Attributes | List of all members
circt::lsp::DebounceOptions Struct Reference

Debounce tuning for document-change bursts. More...

#include <PendingChanges.h>

Collaboration diagram for circt::lsp::DebounceOptions:
Collaboration graph
[legend]

Static Public Member Functions

static DebounceOptions fromLSPOptions (const circt::lsp::LSPServerOptions &opts)
 Factory: build from server options. Keep mapping 1:1 for clarity.
 

Public Attributes

bool disableDebounce = false
 If true, flush immediately (no sleep/check).
 
uint64_t debounceMinMs = 0
 Minimum quiet time before we flush.
 
uint64_t debounceMaxMs = 0
 Maximum total burst time (0 = no cap).
 

Detailed Description

Debounce tuning for document-change bursts.

Definition at line 35 of file PendingChanges.h.

Member Function Documentation

◆ fromLSPOptions()

DebounceOptions circt::lsp::DebounceOptions::fromLSPOptions ( const circt::lsp::LSPServerOptions opts)
static

Member Data Documentation

◆ debounceMaxMs

uint64_t circt::lsp::DebounceOptions::debounceMaxMs = 0

Maximum total burst time (0 = no cap).

Definition at line 41 of file PendingChanges.h.

Referenced by circt::lsp::PendingChangesMap::debounceAndThen(), and fromLSPOptions().

◆ debounceMinMs

uint64_t circt::lsp::DebounceOptions::debounceMinMs = 0

Minimum quiet time before we flush.

Definition at line 39 of file PendingChanges.h.

Referenced by circt::lsp::PendingChangesMap::debounceAndThen(), and fromLSPOptions().

◆ disableDebounce

bool circt::lsp::DebounceOptions::disableDebounce = false

If true, flush immediately (no sleep/check).

Definition at line 37 of file PendingChanges.h.

Referenced by circt::lsp::PendingChangesMap::debounceAndThen(), and fromLSPOptions().


The documentation for this struct was generated from the following files: