Method

IdeLspCompletionItemget_snippet

Declaration

GtkSourceSnippet*
ide_lsp_completion_item_get_snippet (
  IdeLspCompletionItem* self
)

Description

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

Return value

Type: GtkSourceSnippet

An GtkSourceSnippet.

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