Support controling the URI generated by problem matchers

This commit is contained in:
Dirk Baeumer
2018-06-18 12:22:49 +02:00
parent 36cab98dc0
commit c1e5c804cf
5 changed files with 15 additions and 9 deletions

View File

@@ -494,7 +494,9 @@ export class MainThreadTask implements MainThreadTaskShape {
}
this._taskService.registerTaskSystem(key, {
platform: platform,
fileSystemScheme: key,
uriProvider: (path: string): URI => {
return URI.parse(`${info.scheme}://${info.host}:${info.port}${path}`);
},
context: this._extHostContext,
resolveVariables: (workspaceFolder: IWorkspaceFolder, variables: Set<string>): TPromise<Map<string, string>> => {
let vars: string[] = [];