Format/lint terminal sample

This commit is contained in:
Daniel Imms
2018-10-24 14:11:58 -07:00
parent 81850fcab3
commit 89152c9214
3 changed files with 9 additions and 7 deletions

View File

@ -94,10 +94,6 @@ export function activate(context: vscode.ExtensionContext) {
vscode.window.showInformationMessage(`onDidCloseTerminal, name: ${terminal.name}`);
});
// vvv Proposed APIs in 1.23 below vvv
// vscode.window.terminals
context.subscriptions.push(vscode.commands.registerCommand('terminalTest.terminals', () => {
selectTerminal();
@ -118,7 +114,7 @@ export function activate(context: vscode.ExtensionContext) {
});
}));
// vvv Proposed APIs in 1.25 below vvv
// Proposed APIs below
let renderer;
context.subscriptions.push(vscode.commands.registerCommand('terminalTest.terminalRendererCreate', () => {
renderer = (<any>vscode.window).createTerminalRenderer('renderer');

View File

@ -1,11 +1,11 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es5",
"target": "es6",
"outDir": "out",
"lib": ["es6"],
"sourceMap": true,
"rootDir": "src"
},
"exclude": ["node_modules"]
"exclude": ["node_modules", ".vscode-test"]
}

View File

@ -0,0 +1,6 @@
{
"rules": {
"indent": [true, "tabs"],
"semicolon": [true, "always"]
}
}