Skip to content

Commit 5c7e1c2

Browse files
committed
removing unneeded comment and running a yarn lint
1 parent ecfef6e commit 5c7e1c2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/views/live-watch/live-watch.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)