@@ -247,8 +247,6 @@ class RenameController implements IEditorContribution {
247
247
if ( newSymbolNamesProviders . length > 0 ) { // @ulugbekna : we're interested only in telemetry for rename suggestions currently
248
248
this . _reportTelemetry ( newSymbolNamesProviders . length , model . getLanguageId ( ) , inputFieldResult ) ;
249
249
}
250
- // TODO@ulugbekna : remove before stable release
251
- this . _reportTelemetry ( newSymbolNamesProviders . length , model . getLanguageId ( ) , inputFieldResult , 'inDebugMode' ) ;
252
250
253
251
// no result, only hint to focus the editor or not
254
252
if ( typeof inputFieldResult === 'boolean' ) {
@@ -336,7 +334,7 @@ class RenameController implements IEditorContribution {
336
334
this . _renameWidget . focusPreviousRenameSuggestion ( ) ;
337
335
}
338
336
339
- private _reportTelemetry ( nRenameSuggestionProviders : number , languageId : string , inputFieldResult : boolean | RenameWidgetResult , inDebugMode ?: 'inDebugMode' ) {
337
+ private _reportTelemetry ( nRenameSuggestionProviders : number , languageId : string , inputFieldResult : boolean | RenameWidgetResult ) {
340
338
type RenameInvokedEvent =
341
339
{
342
340
kind : 'accepted' | 'cancelled' ;
@@ -385,11 +383,7 @@ class RenameController implements IEditorContribution {
385
383
wantsPreview : inputFieldResult . wantsPreview ,
386
384
} ;
387
385
388
- if ( inDebugMode ) {
389
- this . _telemetryService . publicLog2 < RenameInvokedEvent , RenameInvokedClassification > ( 'renameInvokedEventDebug' , value ) ;
390
- } else {
391
- this . _telemetryService . publicLog2 < RenameInvokedEvent , RenameInvokedClassification > ( 'renameInvokedEvent' , value ) ;
392
- }
386
+ this . _telemetryService . publicLog2 < RenameInvokedEvent , RenameInvokedClassification > ( 'renameInvokedEvent' , value ) ;
393
387
}
394
388
}
395
389
0 commit comments