-
Notifications
You must be signed in to change notification settings - Fork 52
Workspace commands
The server provides the some commands through the workspace/executeCommand
request.
Note:
For simplicity, all commands take at most one argument, that is, the arguments
array should contain exactly one element or no elements depending on the command.
Removes the auxiliary files produced by compiling the specified LaTeX document.
At the moment, this command simply calls latexmk -c
with the currently configured output directory.
Parameters
export type CleanAuxiliaryParams = TextDocumentIdentifier;
Removes the auxiliary files and the artifacts produced by compiling the specified LaTeX document.
At the moment, this command simply calls latexmk -C
with the currently configured output directory.
Parameters
export type CleanArtifactsParams = TextDocumentIdentifier;
Upon receiving a newName
through the params
, changes the name of the inner-most environment that contains the specified position.
Parameters
export interface ChangeEnvironmentParams extends TextDocumentPositionParams {
newName: string;
}
Returns a list of all environments that contain the specified position.
Parameters
export type FindEnvironmentsParams = TextDocumentPositionParams;
Returns
EnvironmentLocation[]
, where
export interface EnvironmentLocation {
name: {
text: string;
range: Range;
};
fullRange: Range;
}
Returns a description of the dependency graph in DOT format.
Parameters
None
Returns
string
(A description of the graph in DOT
format)
Cancels all currently active build requests (including builds triggered by texlab.build.onSave
)
Parameters
None