served.types

Undocumented in source.

Public Imports

served.backend.lazy_workspaced
public import served.backend.lazy_workspaced : LazyWorkspaceD;
served.lsp.protocol
public import served.lsp.protocol;
served.lsp.protoext
public import served.lsp.protoext;
served.lsp.textdocumentmanager
public import served.lsp.textdocumentmanager;
served.lsp.uri
public import served.lsp.uri;
served.utils.events
public import served.utils.events;
served.utils.stdlib_detect
deprecated public import served.utils.stdlib_detect : parseDmdConfImports, parseDflagsImports;

Members

Aliases

UserConfiguration
alias UserConfiguration = Configuration
Undocumented in source.
configurationTypes
alias configurationTypes = AliasSeq!(Configuration.D, Configuration.DFmt, Configuration.DScanner, Configuration.Editor, Configuration.Git)
Undocumented in source.
documents
alias documents = lspRouter.documents
Undocumented in source.
rpc
alias rpc = lspRouter.rpc
Undocumented in source.

Enums

ManyProjectsAction
enum ManyProjectsAction
Undocumented in source.

Functions

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.
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.

compare
string[] compare(T a, T b)
Undocumented in source. Be warned that the author may not have intended to support it.
config
Configuration config(string uri, bool userExecuted, string file, size_t line)
Undocumented in source.
firstConfig
Configuration firstConfig()
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.

parseConfiguration
Configuration parseConfiguration(JSONValue json)
Undocumented in source. Be warned that the author may not have intended to support it.
parseConfigurationSection
T parseConfigurationSection(JSONValue json, string sectionKey)
Undocumented in source. Be warned that the author may not have intended to support it.
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(JSONValue packageJson)

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.

Manifest constants

IncludedFeatures
enum IncludedFeatures;
Undocumented in source.

Mixins

lspRouter
mixin LanguageServerRouter!(served.extension) lspRouter
Undocumented in source.

Static variables

backend
LazyWorkspaceD backend;
Undocumented in source.
configurationSections
string[] configurationSections;
Undocumented in source.
startupTime
MonoTime startupTime;
Undocumented in source.

Structs

Configuration
struct Configuration
Undocumented in source.
Workspace
struct Workspace
Undocumented in source.

Variables

_activeInstance
WorkspaceD.Instance _activeInstance;
Undocumented in source.
capabilities
ClientCapabilities capabilities;
Undocumented in source.
fallbackWorkspace
Workspace fallbackWorkspace;
Undocumented in source.
workspaces
Workspace[] workspaces;
Undocumented in source.

Meta