Stream: t-compiler/wg-rls-2.0

Topic: lsp text document sync incremental


Hoang Luu (Oct 25 2019 at 15:00, on Zulip):

Currently, RA only support document sync with Full mode

        text_document_sync: Some(TextDocumentSyncCapability::Options(TextDocumentSyncOptions {
            open_close: Some(true),
            change: Some(TextDocumentSyncKind::Full),
            will_save: None,
            will_save_wait_until: None,
            save: None,
        })),

Is it feasible to implement SyncKind::Incremental?

matklad (Oct 25 2019 at 15:15, on Zulip):

Totally feasible, just not a high priority: full file sync seems to work
rather fast anyway.

Last update: Nov 12 2019 at 16:15UTC