mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
Format/lint terminal sample
This commit is contained in:
@ -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');
|
||||
|
||||
@ -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"]
|
||||
}
|
||||
|
||||
6
terminal-sample/tslint.json
Normal file
6
terminal-sample/tslint.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"indent": [true, "tabs"],
|
||||
"semicolon": [true, "always"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user