The clean cache request is sent from the client to the server to reset any state associated with
a given build target. The state can live either in the build tool or in the file system.
The run request is sent from the client to the server to run a build target. The server
communicates during the initialize handshake whether this method is supported or not.
The build target dependency modules request is sent from the client to the server to query
for the libraries of build target dependencies that are external to the workspace including meta
information about library and their sources. It’s an extended version of buildTarget/sources.
The build target dependency sources request is sent from the client to the server to query for
the sources of build target dependencies that are external to the workspace. The dependency
sources response must not include source files that belong to a build target within the
workspace, see buildTarget/sources.
The server communicates during the initialize handshake whether this method is supported or
not. This method can for example be used by a language server on textDocument/definition to “Go
to definition” from project sources to dependency sources.
The build target changed notification is sent from the server to the client
to signal a change in a build target. The server communicates during the
initialize handshake whether this method is supported or not.
The run request is sent from the client to the server to run a build target. The server
communicates during the initialize handshake whether this method is supported or not.
The build target sources request is sent from the client to the server to
query for the list of text documents and directories that are belong to a
build target. The sources response must not include sources that are
external to the workspace.
The test build target request is sent from the client to the server to test the given list of
build targets. The server communicates during the initialize handshake whether this method is
supported or not.
The debug request is sent from the client to the server to debug build target(s). The server
launches a Microsoft DAP server and returns a connection URI for the client to interact with.
Like the language server protocol, the initialize request is sent as the first request from the
client to the server. If the server receives a request or notification before the initialize
request it should act as follows:
The inverse sources request is sent from the client to the server to query for the list of
build targets containing a text document. The server communicates during the initialize
handshake whether this method is supported or not. This request can be viewed as the inverse of
buildTarget/sources, except it only works for text documents and not directories.