this.messageService.show(Severity.Warning,nls.localize('workbench.action.terminal.runActiveFile.noFile','Only files on disk can be run in the terminal'));
}
if(!editor){
returnTPromise.as(void0);
}
returnTPromise.as(void0);
consturi=editor.getModel().uri;
if(uri.scheme!=='file'){
this.messageService.show(Severity.Warning,nls.localize('workbench.action.terminal.runActiveFile.noFile','Only files on disk can be run in the terminal'));