@@ -29,11 +29,14 @@ export class DependencyDataProvider implements TreeDataProvider<ExplorerNode> {
29
29
constructor ( public readonly context : ExtensionContext ) {
30
30
context . subscriptions . push ( commands . registerCommand ( Commands . VIEW_PACKAGE_REFRESH , ( debounce ?: boolean ) => this . refreshWithLog ( debounce ) ) ) ;
31
31
context . subscriptions . push ( commands . registerCommand ( Commands . VIEW_PACKAGE_REVEAL_FILE_OS ,
32
- ( node : INodeData ) => commands . executeCommand ( "revealFileInOS" , Uri . parse ( node . uri ) ) ) ) ;
32
+ instrumentOperation ( Commands . VIEW_PACKAGE_REVEAL_FILE_OS , ( _operationId , node : INodeData ) =>
33
+ commands . executeCommand ( "revealFileInOS" , Uri . parse ( node . uri ) ) ) ) ) ;
33
34
context . subscriptions . push ( commands . registerCommand ( Commands . VIEW_PACKAGE_COPY_FILE_PATH ,
34
- ( node : INodeData ) => commands . executeCommand ( "copyFilePath" , Uri . parse ( node . uri ) ) ) ) ;
35
+ instrumentOperation ( Commands . VIEW_PACKAGE_COPY_FILE_PATH , ( _operationId , node : INodeData ) =>
36
+ commands . executeCommand ( "copyFilePath" , Uri . parse ( node . uri ) ) ) ) ) ;
35
37
context . subscriptions . push ( commands . registerCommand ( Commands . VIEW_PACKAGE_COPY_RELATIVE_FILE_PATH ,
36
- ( node : INodeData ) => commands . executeCommand ( "copyRelativeFilePath" , Uri . parse ( node . uri ) ) ) ) ;
38
+ instrumentOperation ( Commands . VIEW_PACKAGE_COPY_RELATIVE_FILE_PATH , ( _operationId , node : INodeData ) =>
39
+ commands . executeCommand ( "copyRelativeFilePath" , Uri . parse ( node . uri ) ) ) ) ) ;
37
40
context . subscriptions . push ( commands . registerCommand ( Commands . VIEW_PACKAGE_OPEN_FILE ,
38
41
instrumentOperation ( Commands . VIEW_PACKAGE_OPEN_FILE , ( _operationId , uri ) => this . openFile ( uri ) ) ) ) ;
39
42
context . subscriptions . push ( commands . registerCommand ( Commands . VIEW_PACKAGE_OUTLINE ,
0 commit comments