served.commands.complete

Undocumented in source.

Members

Functions

addDependencySnippet
bool addDependencySnippet(AddDependencySnippetParams params)

Registers a snippet across the whole serve-d application which may be limited to given grammatical scopes. Requires --provide context-snippets

convertDCDIdentifiers
auto convertDCDIdentifiers(DCDIdentifier[] identifiers, bool argumentSnippets, DCDExtComponent dcdext, SnippetInfo info)
Undocumented in source. Be warned that the author may not have intended to support it.
convertExtendedFromDscannerType
SymbolKindEx convertExtendedFromDscannerType(string type)
Undocumented in source. Be warned that the author may not have intended to support it.
convertFromDCDSearchType
SymbolKind convertFromDCDSearchType(string type)
Undocumented in source. Be warned that the author may not have intended to support it.
convertFromDCDType
CompletionItemKind convertFromDCDType(string type)
Undocumented in source. Be warned that the author may not have intended to support it.
convertFromDscannerType
SymbolKind convertFromDscannerType(string type, string name)
Undocumented in source. Be warned that the author may not have intended to support it.
extractFunctionParameters
const(char)[][] extractFunctionParameters(const(char)[] sig, bool exact)

Extracts all function parameters for a given declaration string.

killServer
void killServer()

Kills all DCD servers started by this serve-d instance.

provideComplete
CompletionList provideComplete(TextDocumentPositionParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
provideDMLSourceComplete
CompletionList provideDMLSourceComplete(TextDocumentPositionParams params, WorkspaceD.Instance instance, Document document)
Undocumented in source. Be warned that the author may not have intended to support it.
provideDSourceComplete
CompletionList provideDSourceComplete(TextDocumentPositionParams params, WorkspaceD.Instance instance, Document document)
Undocumented in source. Be warned that the author may not have intended to support it.
provideDietSourceComplete
CompletionList provideDietSourceComplete(TextDocumentPositionParams params, WorkspaceD.Instance instance, Document document)
Undocumented in source. Be warned that the author may not have intended to support it.
resolveCompletionItem
CompletionItem resolveCompletionItem(CompletionItem item)
Undocumented in source. Be warned that the author may not have intended to support it.
restartServer
bool restartServer()

Restarts all DCD servers started by this serve-d instance. Returns true once done.

snippetFromCompletionItem
Snippet snippetFromCompletionItem(CompletionItem item)
Undocumented in source. Be warned that the author may not have intended to support it.
snippetToCompletionItem
CompletionItem snippetToCompletionItem(Snippet snippet)
Undocumented in source. Be warned that the author may not have intended to support it.
sortFromDCDType
string sortFromDCDType(string type)
Undocumented in source. Be warned that the author may not have intended to support it.
substr
C[] substr(C[] s, T start, T end)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

doCompleteSnippets
bool doCompleteSnippets;

Provide snippets in auto-completion

sortPrefixDCD
auto sortPrefixDCD;
Undocumented in source.
sortPrefixDoc
auto sortPrefixDoc;
Undocumented in source.
sortPrefixSnippets
auto sortPrefixSnippets;
Undocumented in source.

Meta