Skip to main content

Workspace Operations

  • Chapter
  • First Online:
Language Server Protocol and Implementation

Abstract

The usage of workspace operations are applicable to the current workspace instance which has been instantiated by the client. Workspace operations such as applyEdit and executeCommand are initiated by the server to be reflected on the workspace, while notifications such as didChangeConfigurations and didChangeWatchedFiles are initiated by the client. The given language server implementation can utilize these workspace operations to enhance the developer experience by injecting the ecosystem’s knowledge to the language services.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://code.visualstudio.com/docs/editor/multi-root-workspaces

  2. 2.

    https://ballerina.io/learn/user-guide/ballerina-packages/modules/

  3. 3.

    https://mincong.io/2019/04/16/glob-expression-understanding/

  4. 4.

    https://microsoft.github.io/language-server-protocol/specifications/specification-3-16/#workspace_didChangeWatchedFiles

  5. 5.

    https://docs.google.com/document/d/1cH2sTpgSnJZCkZtJl1aY-rzy4uGPcrI-6RrUpdATO2Q/edit

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Gunasinghe, N., Marcus, N. (2022). Workspace Operations. In: Language Server Protocol and Implementation. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-7792-8_10

Download citation

Publish with us

Policies and ethics