forFunction

fun forFunction(function: DocsFunction, chained: Boolean): String

Generates a snippet for the function call in the accepted format by the LSP. The snippet includes the function name and its non-optional parameters.

Return

the function call snippet

Parameters

function

the function to generate the snippet from