mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
54 lines
1.7 KiB
JSON
54 lines
1.7 KiB
JSON
{
|
|
"name": "vscode-terminal-api-example",
|
|
"displayName": "vscode-terminal-api-example",
|
|
"description": "abc",
|
|
"version": "0.0.1",
|
|
"publisher": "Tyriar",
|
|
"engines": {
|
|
"vscode": "^1.0.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"onCommand:terminalTest.createTerminal",
|
|
"onCommand:terminalTest.createAndSend"
|
|
],
|
|
"main": "./out/src/extension",
|
|
"contributes": {
|
|
"commands": [{
|
|
"command": "terminalTest.createTerminal",
|
|
"title": "Terminal API: Create Terminal"
|
|
}, {
|
|
"command": "terminalTest.hide",
|
|
"title": "Terminal API: Hide"
|
|
}, {
|
|
"command": "terminalTest.show",
|
|
"title": "Terminal API: Show"
|
|
}, {
|
|
"command": "terminalTest.showPreserveFocus",
|
|
"title": "Terminal API: Show (preserving focus)"
|
|
}, {
|
|
"command": "terminalTest.sendText",
|
|
"title": "Terminal API: Send Text"
|
|
}, {
|
|
"command": "terminalTest.sendTextNoNewLine",
|
|
"title": "Terminal API: Send Text (no implied \\n)"
|
|
}, {
|
|
"command": "terminalTest.dispose",
|
|
"title": "Terminal API: Dispose"
|
|
}, {
|
|
"command": "terminalTest.createAndSend",
|
|
"title": "Terminal API: Create Terminal and Immediately Send"
|
|
}]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "node ./node_modules/vscode/bin/compile",
|
|
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./",
|
|
"postinstall": "node ./node_modules/vscode/bin/install"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^1.8.5",
|
|
"vscode": "^0.11.0"
|
|
}
|
|
} |