Manually adds import paths as string array
Searches for an open port to spawn dcd-server in asynchronously starting with port, always increasing by one.
Finds the declaration of the symbol at position pos in the code
Finds the documentation of the symbol at position pos in the code
Returns the used running port. Throws an error if using unix sockets instead
Returns the used socket file. Only available on OSX, linux and BSD with DCD >= 0.8.0 Throws an error if not available.
This will kill the process associated with the dcd-server instance
Queries for code completion at position pos in code
Reloads import paths from the current provider. Call reload there before calling it here.
This will stop the dcd-server safely and restart it again using setup-server asynchronously
Searches for a symbol across all files using dcd-client --search
This will query the current dcd-server status
This will start the dcd-server and load import paths from the current provider
Load function for dcd. Call with {"cmd": "load", "components": ["dcd"]} This will start dcd-server and load all import paths specified by previously loaded modules such as dub if autoStart is true. It also checks for the version. All dcd methods are used with "cmd": "dcd" Note: This will block any incoming requests while loading.
This will start the dcd-server
This stops the dcd-server instance safely and waits for it to exit
This stops the dcd-server asynchronously