served.extension

Undocumented in source.

Members

Functions

addImport
auto addImport(AddImportParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
changeDependency
bool changeDependency(string workspaceRoot, UpdateRequest req)
Undocumented in source. Be warned that the author may not have intended to support it.
changedConfig
void changedConfig(string workspaceUri, string[] paths, served.types.Configuration config)
Undocumented in source. Be warned that the author may not have intended to support it.
clearTimeout
void clearTimeout(int id)
Undocumented in source. Be warned that the author may not have intended to support it.
compileDependency
bool compileDependency(string cwd, string name, string gitURI, string[][] commands)
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)
Undocumented in source. Be warned that the author may not have intended to support it.
determineOutputFolder
string determineOutputFolder()
Undocumented in source. Be warned that the author may not have intended to support it.
didChangeWorkspaceFolders
void didChangeWorkspaceFolders(DidChangeWorkspaceFoldersParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
doGlobalStartup
void doGlobalStartup()
Undocumented in source. Be warned that the author may not have intended to support it.
doStartup
void doStartup(string workspaceUri)
Undocumented in source. Be warned that the author may not have intended to support it.
extractFunctionParameters
string[] extractFunctionParameters(string sig, bool exact)
Undocumented in source. Be warned that the author may not have intended to support it.
getArchType
string getArchType(string value)
Undocumented in source. Be warned that the author may not have intended to support it.
getBuildType
string getBuildType()
Undocumented in source. Be warned that the author may not have intended to support it.
getCompiler
string getCompiler()
Undocumented in source. Be warned that the author may not have intended to support it.
getConfig
string getConfig(string value)
Undocumented in source. Be warned that the author may not have intended to support it.
getImportCompilationTime
int getImportCompilationTime(string code, string module_, string workspaceRoot)
Undocumented in source. Be warned that the author may not have intended to support it.
getPossibleSourceRoots
string[] getPossibleSourceRoots(string workspaceFolder)
Undocumented in source. Be warned that the author may not have intended to support it.
handleBroadcast
void handleBroadcast(WorkspaceD workspaced, WorkspaceD.Instance instance, JSONValue data)
Undocumented in source. Be warned that the author may not have intended to support it.
implementMethods
TextEdit[] implementMethods(ImplementMethodsParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
InitializeResult initialize(InitializeParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
injectDependency
void injectDependency(string workspaceRoot, InstallRequest req)
Undocumented in source. Be warned that the author may not have intended to support it.
installDependency
void installDependency(InstallRequest req)
Undocumented in source. Be warned that the author may not have intended to support it.
killServer
void killServer()
Undocumented in source. Be warned that the author may not have intended to support it.
listArchTypes
string[] listArchTypes()
Undocumented in source. Be warned that the author may not have intended to support it.
listBuildTypes
string[] listBuildTypes()
Undocumented in source. Be warned that the author may not have intended to support it.
listConfigurations
string[] listConfigurations()
Undocumented in source. Be warned that the author may not have intended to support it.
listDependencies
DubDependency[] listDependencies(string packageName)
Undocumented in source. Be warned that the author may not have intended to support it.
onChangeFiles
void onChangeFiles(DidChangeWatchedFilesParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
onDidChangeDocument
void onDidChangeDocument(DocumentLinkParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
onDidOpenDocument
void onDidOpenDocument(DidOpenTextDocumentParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
onDidSaveDocument
void onDidSaveDocument(DidSaveTextDocumentParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
parallelMain
void parallelMain()
Undocumented in source. Be warned that the author may not have intended to support it.
processConfigChange
void processConfigChange(served.types.Configuration configuration)
Undocumented in source. Be warned that the author may not have intended to support it.
provideCodeActions
Command[] provideCodeActions(CodeActionParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
provideCodeLens
CodeLens[] provideCodeLens(CodeLensParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
provideComplete
CompletionList provideComplete(TextDocumentPositionParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
provideDefinition
ArrayOrSingle!Location provideDefinition(TextDocumentPositionParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
provideDocumentSymbols
SymbolInformation[] provideDocumentSymbols(DocumentSymbolParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
provideFormatting
TextEdit[] provideFormatting(DocumentFormattingParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
provideHover
Hover provideHover(TextDocumentPositionParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
provideSignatureHelp
SignatureHelp provideSignatureHelp(TextDocumentPositionParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
provideWorkspaceSymbols
SymbolInformation[] provideWorkspaceSymbols(WorkspaceSymbolParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
removeDependency
bool removeDependency(string workspaceRoot, string name)
Undocumented in source. Be warned that the author may not have intended to support it.
removeWorkspace
void removeWorkspace(string workspaceUri)
Undocumented in source. Be warned that the author may not have intended to support it.
resolveCodeLens
CodeLens resolveCodeLens(CodeLens lens)
Undocumented in source. Be warned that the author may not have intended to support it.
restartServer
bool restartServer()
Undocumented in source. Be warned that the author may not have intended to support it.
rootsForProject
RootSuggestion[] rootsForProject(string root, bool recursive, string[] blocked, string[] extra)
Undocumented in source. Be warned that the author may not have intended to support it.
safe
bool safe(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
setImmediate
void setImmediate(void delegate() callback)
Undocumented in source. Be warned that the author may not have intended to support it.
setTimeout
int setTimeout(void delegate() callback, int ms)
Undocumented in source. Be warned that the author may not have intended to support it.
setTimeout
int setTimeout(void delegate() callback, Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
shutdown
JSONValue shutdown()
Undocumented in source. Be warned that the author may not have intended to support it.
sortImports
TextEdit[] sortImports(SortImportsParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
startDCD
void startDCD(WorkspaceD.Instance instance, string workspaceUri)
Undocumented in source. Be warned that the author may not have intended to support it.
substr
string substr(string s, T start, T end)
Undocumented in source. Be warned that the author may not have intended to support it.
switchArchType
bool switchArchType(string value)
Undocumented in source. Be warned that the author may not have intended to support it.
switchBuildType
bool switchBuildType(string value)
Undocumented in source. Be warned that the author may not have intended to support it.
switchCompiler
bool switchCompiler(string value)
Undocumented in source. Be warned that the author may not have intended to support it.
switchConfig
bool switchConfig(string value)
Undocumented in source. Be warned that the author may not have intended to support it.
syncConfiguration
bool syncConfiguration(string workspaceUri)
Undocumented in source. Be warned that the author may not have intended to support it.
uninstallDependency
void uninstallDependency(UninstallRequest req)
Undocumented in source. Be warned that the author may not have intended to support it.
updateDCD
void updateDCD()
Undocumented in source. Be warned that the author may not have intended to support it.
updateDependency
void updateDependency(UpdateRequest req)
Undocumented in source. Be warned that the author may not have intended to support it.
updateImports
bool updateImports()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

freshlyOpened
FileOpenInfo[string] freshlyOpened;
Undocumented in source.
shutdownRequested
bool shutdownRequested;

Set to true when shutdown is called

spawnFiber
void delegate(void delegate()) spawnFiber;
Undocumented in source.
syncedConfiguration
bool syncedConfiguration;
Undocumented in source.
timeoutID
int timeoutID;
Undocumented in source.
timeouts
Timeout[] timeouts;
Undocumented in source.
timeoutsMutex
Mutex timeoutsMutex;
Undocumented in source.

Structs

FileOpenInfo
struct FileOpenInfo
Undocumented in source.
RootSuggestion
struct RootSuggestion
Undocumented in source.
Timeout
struct Timeout
Undocumented in source.

Variables

changeTimeout
int changeTimeout;
Undocumented in source.
importCompilationTimeRunning
bool importCompilationTimeRunning;
Undocumented in source.

Meta