© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
N. Gunasinghe, N. MarcusLanguage Server Protocol and Implementationhttps://doi.org/10.1007/978-1-4842-7792-8_5

5. Text Synchronization

Nadeeshaan Gunasinghe1   and Nipuna Marcus2
(1)
Walahanduwa, Sri Lanka
(2)
Mawathagama, Sri Lanka
 

In this chapter, we are going to have a look at text synchronization capabilities available in the Language Server Protocol. When the user opens a document in the client (editor/IDE), source editing is initiated through the client. Clients are responsible for syncing the source content with the file system or maintaining an in-memory copy. Not all clients automatically sync the source content periodically with the file system. Clients ...

Get Language Server Protocol and Implementation: Supporting Language-Smart Editing and Programming Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.