File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,6 @@ export class LiveWatchTreeDataProvider implements vscode.TreeDataProvider<LiveWa
201201 const document = editor . document ;
202202 const range = document . getWordRangeAtPosition ( selection . active ) ;
203203 const selectedText = range ? document . getText ( range ) . trim ( ) : '' ;
204- //const selectedText = editor.document.getText(selection[0]).trim();
205204 if ( ! selectedText ) {
206205 return ;
207206 }
@@ -222,7 +221,7 @@ export class LiveWatchTreeDataProvider implements vscode.TreeDataProvider<LiveWa
222221 const extensionId = 'eclipse-cdt.memory-inspector' ;
223222 const memoryInspectorExtension = vscode . extensions . getExtension ( extensionId ) ;
224223 if ( ! memoryInspectorExtension ) {
225- vscode . window . showErrorMessage ( ` Memory Inspector extension is not installed. Please install it to use this feature.` ) ;
224+ vscode . window . showErrorMessage ( ' Memory Inspector extension is not installed. Please install it to use this feature.' ) ;
226225 return ;
227226 }
228227 const args = {
@@ -231,11 +230,11 @@ export class LiveWatchTreeDataProvider implements vscode.TreeDataProvider<LiveWa
231230 name : node . expression ,
232231 variablesReference : node . value . variablesReference
233232 } ,
234- variable : {
235- name : node . expression ,
233+ variable : {
234+ name : node . expression ,
236235 value : node . value . result ,
237236 variablesReference : node . value . variablesReference ,
238- memoryReference : `&(${ node . expression } )`
237+ memoryReference : `&(${ node . expression } )`
239238 }
240239 } ;
241240 const result = await vscode . commands . executeCommand ( 'memory-inspector.show-variable' , args ) ;
You can’t perform that action at this time.
0 commit comments