Remove obsolete TODOs

This commit is contained in:
Daniel Imms
2018-04-11 10:23:29 -07:00
parent 27cd6f537e
commit 4f626cf21c
2 changed files with 0 additions and 6 deletions

View File

@@ -149,9 +149,6 @@ export class ExtHostTerminalService implements ExtHostTerminalServiceShape {
this._onDidCloseTerminal.fire(terminal);
}
// TOOD: How do we set PID
// TODO: Make sure both API terminals and non-API terminals are created correctly
// TODO: Ensure the terminal that is opened when first launched gets added, I think it's set before the ext host is ready for it
public $acceptTerminalOpened(id: number, name: string): void {
let index = this._getTerminalIndexById(id);
if (index !== null) {
@@ -159,7 +156,6 @@ export class ExtHostTerminalService implements ExtHostTerminalServiceShape {
this._onDidOpenTerminal.fire(this.terminals[index]);
return;
}
// TODO: Only create a terminal if it doesn't already exist for the ID
let terminal = new ExtHostTerminal(this._proxy, name, id);
this._terminals.push(terminal);
this._onDidOpenTerminal.fire(terminal);