ts-ls

Get code actions

Get code actions for a part of a document. This method calls the getCodeActions method of the LanguageService class, which in turn communicates with the TypeScript language server to retrieve code actions for a given document. https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_codeAction

post/v1/devboxes/{id}/lsp/code-actions

Path parameters

idstring required

The id of the devbox.

Request body

uristring required

Response

A list of code actions.

Changes