The Daytona SDK provides Language Server Protocol (LSP) support through workspace instances. This enables advanced language features like code completion, diagnostics, and more.
Creating LSP Servers
Daytona SDK provides an option to create LSP servers for various languages:
Python
TypeScript
Supported Languages
Daytona SDK provides an option to create LSP servers for various languages through the LspLanguageId enum:
Python
LspLanguageId.PYTHON: Python language server.
LspLanguageId.TYPESCRIPT: TypeScript/JavaScript language server.
TypeScript
LspLanguageId.PYTHON: Python language server.
LspLanguageId.TYPESCRIPT: TypeScript/JavaScript language server.
LSP Features
Daytona SDK provides various LSP features for code analysis and editing:
Code Completion
Daytona SDK provides an option to get code completions for a specific position: