Method

IdeLspCompletionItemget_snippet

since: 3.30

Declaration

IdeSnippet*
ide_lsp_completion_item_get_snippet (
  IdeLspCompletionItem* self
)

Description

Creates a new snippet for the completion item to be inserted into the document.

Available since: 3.30

Return value

Type: IdeSnippet

An IdeSnippet.

The caller of the method takes ownership of the data, and is responsible for freeing it.