- activeInstance
WorkspaceD.Instance activeInstance(WorkspaceD.Instance value)
Undocumented in source. Be warned that the author may not have intended to support it.
- activeInstance
WorkspaceD.Instance activeInstance()
Undocumented in source. Be warned that the author may not have intended to support it.
- anyConfig
Configuration anyConfig()
Undocumented in source. Be warned that the author may not have intended to support it.
- bestWorkspaceByDependency
Workspace bestWorkspaceByDependency(string uri)
Undocumented in source. Be warned that the author may not have intended to support it.
- binarySearch
ptrdiff_t binarySearch(T[] arr, T value)
Finds a value in a sorted range and returns its index.
- config
Configuration config(string uri, bool userExecuted, string file, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.
- firstWorkspaceRootUri
string firstWorkspaceRootUri()
Undocumented in source. Be warned that the author may not have intended to support it.
- handleThings
Workspace handleThings(Workspace workspace, string uri, bool userExecuted, string file, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.
- hasWorkspace
bool hasWorkspace(string uri)
Undocumented in source. Be warned that the author may not have intended to support it.
- insertSorted
size_t insertSorted(T[] arr, T value)
Inserts a value into a sorted range. Inserts before equal elements.
- parseDflagsImports (from served.utils.stdlib_detect)
deprecated string[] parseDflagsImports(const(char)[] options, const(char)[] cwd, bool windows) via public
import served.utils.stdlib_detect : parseDmdConfImports, parseDflagsImports;
Undocumented in source.
- parseDmdConfImports (from served.utils.stdlib_detect)
deprecated bool parseDmdConfImports(R confPath, const(char)[] confDirPath, string[] paths) via public
import served.utils.stdlib_detect : parseDmdConfImports, parseDflagsImports;
Undocumented in source.
- prettyPrintStruct
void prettyPrintStruct(T value, string indent)
Undocumented in source. Be warned that the author may not have intended to support it.
- seemsLikeDubJson
bool seemsLikeDubJson(string json)
Quick function to check if a package.json can not not be a dub package file.
- selectedWorkspace
Workspace selectedWorkspace()
Undocumented in source. Be warned that the author may not have intended to support it.
- selectedWorkspaceRoot
string selectedWorkspaceRoot()
Undocumented in source. Be warned that the author may not have intended to support it.
- selectedWorkspaceUri
string selectedWorkspaceUri()
Undocumented in source. Be warned that the author may not have intended to support it.
- toInt
int toInt(JsonValue value)
Undocumented in source. Be warned that the author may not have intended to support it.
- userPath
string userPath(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
- userPath
string userPath(Configuration.Git git)
Undocumented in source. Be warned that the author may not have intended to support it.
- workspace
Workspace workspace(string uri, bool userExecuted, string file, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.
- workspaceIndex
size_t workspaceIndex(string uri)
Undocumented in source. Be warned that the author may not have intended to support it.
- workspaceRoot
deprecated string workspaceRoot()
Undocumented in source. Be warned that the author may not have intended to support it.
- workspaceRootFor
string workspaceRootFor(string uri)
Undocumented in source. Be warned that the author may not have intended to support it.
- members
alias members = ExtensionModule.members
Undocumented in source.
- shutdownRequested
alias shutdownRequested = ExtensionModule.shutdownRequested
Undocumented in source.
- shutdownRequested
bool shutdownRequested;
Undocumented in source.
- serverInitializeCalled
bool serverInitializeCalled;
Undocumented in source.
- eventProcessor
mixin EventProcessor!(ExtensionModule, serverConfig.eventConfig) eventProcessor
Undocumented in source.
- processRequest
ResponseMessageRaw processRequest(RequestMessageRaw msg)
Calls a method associated with the given request type in the
- processNotify
void processNotify(RequestMessageRaw msg)
Undocumented in source. Be warned that the author may not have intended to support it.
- gotRequest
void delegate() gotRequest(RequestMessageRaw msg)
Undocumented in source. Be warned that the author may not have intended to support it.
- gotNotify
void delegate() gotNotify(RequestMessageRaw msg)
Undocumented in source. Be warned that the author may not have intended to support it.
- fibers
FiberManager fibers;
Undocumented in source.
- fibersMutex
Mutex fibersMutex;
Undocumented in source.
- pushFiber
void pushFiber(T callback, int pages, string file, int line)
Undocumented in source. Be warned that the author may not have intended to support it.
- rpc
RPCProcessor rpc;
Undocumented in source.
- documents
TextDocumentManager documents;
Undocumented in source.
- run
bool run()
Runs the language server and returns true once it exited gracefully or
false if it didn't exit gracefully.
- runImpl
bool runImpl()
Same as run, assumes rpc is initialized and ready