Change GAV computation for TestJars
This commit is contained in:
@@ -48,6 +48,11 @@ export function registerJavaDataService(client : LanguageClient) : void {
|
||||
client.onRequest(javaCodeCompletion, async (params: JavaCodeCompleteParams) =>
|
||||
<any> await VSCode.commands.executeCommand("java.execute.workspaceCommand", "sts.java.code.completions", params)
|
||||
);
|
||||
|
||||
const projectGav = new RequestType<ProjectGavParams, any, void>("sts/project/gav");
|
||||
client.onRequest(projectGav, async (params: ProjectGavParams) =>
|
||||
<any> await VSCode.commands.executeCommand("java.execute.workspaceCommand", "sts.project.gav", params)
|
||||
);
|
||||
}
|
||||
|
||||
interface JavaDataParams {
|
||||
@@ -77,3 +82,7 @@ interface JavaCodeCompleteParams {
|
||||
includeTypes: boolean;
|
||||
includePackages: boolean;
|
||||
}
|
||||
|
||||
interface ProjectGavParams {
|
||||
projectUris: string[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user