dcd-client1
Autocompletion client for the d programming language
Usage
dcd-client [-c,
--cursorPos
cursorPosition]
[-p,
--port
portNumber]
[--tcp]
[--socketFile
filePath]
[-I
directory]
[-h,
--help]
[-l,
--symbolLocation]
[-s,
--search
symbolName]
[-d,
--doc]
[-q,
--query,
--status]
[--shutdown]
[--clearCache]
[--version]
[filename]
Overview
dcd-client is a client for dcd-server and is typically used by text editor scripts.
Options
-
-c, --cursorPos cursorPosition -
Provides auto-completion at the given cursor position. The cursor position is measured in bytes from the beginning of the source code.
-
-p, --port portNumber -
Choose the port number on which
dcd-clientlistens. This switch implies --tcp.
-
--tcp -
Listen on a TCP socket instead of a UNIX domain socket. This is the default on Windows.
-
--socketFile filePath -
Set the path to use for the UNIX domain socket. Has no effect if the --tcp or --port switches are used.
-
-I directory -
Informs
dcd-serverto cache any D source files found in directory so that they will be included in responses to futuredcd-clientrequests.
-
-h, --help -
Prints a help message
-
-l, --symbolLocation -
Get the file name and position that the symbol at the cursor location was defined.
-
-s, --search symbolName -
List locations at which symbols with the given symbolName can be found.
-
-d, --doc -
Gets documentation comments associated with the symbol at the cursor location.
-
-q, --query, --status -
Query the server statis. Returns 0 if the server is running. Returns 1 if the server could not be contacted.
-
--shutdown -
Instructs the server to shut down
-
--clearCache -
Instructs the server to clear its cache of auto-completion information.
filename
Provides auto-completion information for the file with the given name.