Details

Language Server Protocol and Implementation


Language Server Protocol and Implementation

Supporting Language-Smart Editing and Programming Tools

von: Nadeeshaan Gunasinghe, Nipuna Marcus

56,99 €

Verlag: Apress
Format: PDF
Veröffentl.: 13.11.2021
ISBN/EAN: 9781484277928
Sprache: englisch
Anzahl Seiten: 239

Dieses eBook enthält ein Wasserzeichen.

Beschreibungen

Understand the important aspects of implementing a production-grade language server in support of language-smart tools such as code editors and other programming utilities. This book shows you how to create a single implementation of a language server that can be used by multiple tools, enabling you to do the job once in a way that can be shared and reused.&nbsp;<div><br><div>This book covers the language server protocol used for communication between programming tools and your language server. The book also provides an in-depth understanding of the design, implementation, and user experience aspects which should be considered when implementing a language server. The book walks you through an example language server implementation to illustrate the basic concepts, then goes on to cover advanced aspects of language server use such as progress reporting, launchers, and extension points.&nbsp;</div><div><br></div><div>User experience is an important aspect of language server implementation and different tooling vendors strive to provide their own unique user experiences. This book explains how the protocol features can be leveraged to address the unique developer experience provided by different tooling vendors. The book also shows how to enhance the smoothness of the editing experience by orchestrating multiple features together.</div></div><div><br></div><div><br></div><div><b>What You Will Learn</b></div><div><div><ul><li><div>Implement a language server from scratch</div></li><li><div>Understand language server protocol and its data models</div></li><li><div>Leverage the protocol while preserving the unique user experience of different editors</div></li><li><div>Extend the protocol to support more than its standard capabilities</div></li><li><div>Run a language server on top of launchers such as standard I/O and TCP socket</div></li><li><div>Seamlessly incorporate language semantics into your protocol features</div></li></ul></div></div><div><br></div><div><b>Who This Book Is For</b></div><div><p>Developers focused on and passionate about implementing language development tools such as plug-ins and extensions for interactive development environments (IDEs) or other tools that rely upon parsing of language statements and commands, and developers who need an in-depth understanding of the language server protocol as well as how to use the language server protocol to develop extensible language services</p></div>
<div>Chapter 1: Developer Tools and Language Services.- Chapter 2: Understanding the Language Server Protocol.- Chapter 3: Implementing a Language Server.- Chapter 4: General Messages.- Chapter 5: Text Synchronization.- Chapter 6: Diagnostics, Smart Editing and Documentation.- Chapter 7: Refactoring and Code Fixes .- Chapter 8: Code Navigation and Navigation Helpers .- Chapter 9: Presentation and Selection .- Chapter 10: Workspace Operations.- Chapter 11: Advanced Concepts.<br></div><div><br></div>
<b>​</b><b>Nadeeshaan Gunasinghe</b> is Technical Lead at WSO2 and has more than five years of experience in enterprise integration, programming languages, and developer tooling. He leads the Ballerina Language Server team and is a key contributor to Ballerina, which is an open-source programming language and platform for the cloud, and he is an active contributor to the WSO2 Enterprise Service Bus.<div><br><div><b>Nipuna Marcus&nbsp;</b>is Technical Lead at WSO2 and has more than five years of experience in front end development, programming languages, and developer tooling. He was a member of the Ballerina Language Server team and a key contributor to the Ballerina programming language.</div></div>
Understand the important aspects of implementing a production-grade language server in support of language-smart tools such as code editors and other programming utilities. This book shows you how to create a single implementation of a language server that can be used by multiple tools, enabling you to do the job once in a way that can be shared and reused.&nbsp;<div><br><div>This book covers the language server protocol used for communication between programming tools and your language server. The book also provides an in-depth understanding of the design, implementation, and user experience aspects which should be considered when implementing a language server. The book walks you through an example language server implementation to illustrate the basic concepts, then goes on to cover advanced aspects of language server use such as progress reporting, launchers, and extension points.&nbsp;</div><div><br></div><div>User experience is an important aspect of language server implementation and different tooling vendors strive to provide their own unique user experiences. This book explains how the protocol features can be leveraged to address the unique developer experience provided by different tooling vendors. The book also shows how to enhance the smoothness of the editing experience by orchestrating multiple features together.</div></div><div><br></div><div>What You Will Learn</div><div><ul><li>Implement a language server from scratch</li><li>Understand language server protocol and its data models</li><li>Leverage the protocol while preserving the unique user experience of different editors</li><li>Extend the protocol to support more than its standard capabilities</li><li>Run a language server on top of launchers such as standard I/O and TCP socket</li><li>Seamlessly incorporate language semantics into your protocol features</li></ul></div><div>Who This Book Is For<br></div><div><p>Developers focused on and passionate about implementing language development tools such as plug-ins and extensions for interactive development environments (IDEs) or other tools that rely upon parsing of language statements and commands, and developers who need an in-depth understanding of the language server protocol as well as how to use the language server protocol to develop extensible language services</p></div><div><br></div>
Provides an all-in-one resource on the language server protocol Demonstrates design, user experience, and best practices Covers advanced concepts such as progress reporting, launchers, and extension points

Diese Produkte könnten Sie auch interessieren:

The Best of Verity Stob
The Best of Verity Stob
von: Verity Stob
PDF ebook
26,99 €
Pro Spring
Pro Spring
von: Rob Harrop, Jan Machacek
PDF ebook
46,00 €
Agile Development with ICONIX Process
Agile Development with ICONIX Process
von: Don Rosenberg, Mark Collins-Cope, Matt Stephens
PDF ebook
56,99 €