File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
src/PowerShellEditorServices/Services/Symbols/Vistors Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,15 @@ await executionService.ExecuteDelegateAsync(
127127 . ConfigureAwait ( false ) ;
128128
129129 stopwatch . Stop ( ) ;
130- logger . LogTrace ( $ "IntelliSense completed in { stopwatch . ElapsedMilliseconds } ms: { commandCompletion } ") ;
130+ logger . LogTrace (
131+ "IntelliSense completed in {elapsed}ms - WordToComplete: \" {word}\" MatchCount: {count}" ,
132+ stopwatch . ElapsedMilliseconds ,
133+ commandCompletion . ReplacementLength > 0
134+ ? scriptAst . Extent . StartScriptPosition . GetFullScript ( ) ? . Substring (
135+ commandCompletion . ReplacementIndex ,
136+ commandCompletion . ReplacementLength )
137+ : null ,
138+ commandCompletion . CompletionMatches . Count ) ;
131139
132140 return commandCompletion ;
133141 }
You can’t perform that action at this time.
0 commit comments