mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
multiroot - send telemetry event when workspace#rootPath is accessed
This commit is contained in:
@@ -377,6 +377,10 @@ export function createApiFactory(
|
||||
// namespace: workspace
|
||||
const workspace: typeof vscode.workspace = {
|
||||
get rootPath() {
|
||||
telemetryService.publicLog('api-getter', {
|
||||
name: 'workspace#rootPath',
|
||||
extension: extension.id
|
||||
});
|
||||
return extHostWorkspace.getPath();
|
||||
},
|
||||
set rootPath(value) {
|
||||
|
||||
Reference in New Issue
Block a user