2016-09-09 09:49:45 -07:00
|
|
|
{
|
2016-12-30 11:00:42 +01:00
|
|
|
"name": "vscode-terminal-api-example",
|
|
|
|
|
"displayName": "vscode-terminal-api-example",
|
|
|
|
|
"description": "abc",
|
|
|
|
|
"version": "0.0.1",
|
|
|
|
|
"publisher": "Tyriar",
|
|
|
|
|
"engines": {
|
2018-04-09 06:33:31 -07:00
|
|
|
"vscode": "^1.22.0"
|
2016-12-30 11:00:42 +01:00
|
|
|
},
|
2018-04-24 16:48:57 -07:00
|
|
|
"enableProposedApi": true,
|
2016-12-30 11:00:42 +01:00
|
|
|
"categories": [
|
|
|
|
|
"Other"
|
|
|
|
|
],
|
|
|
|
|
"activationEvents": [
|
|
|
|
|
"onCommand:terminalTest.createAndSend",
|
2018-04-11 09:52:28 -07:00
|
|
|
"onCommand:terminalTest.createTerminal",
|
|
|
|
|
"onCommand:terminalTest.createZshLoginShell",
|
|
|
|
|
"onCommand:terminalTest.dispose",
|
|
|
|
|
"onCommand:terminalTest.hide",
|
2018-04-20 11:23:05 -07:00
|
|
|
"onCommand:terminalTest.onData",
|
2018-04-11 09:52:28 -07:00
|
|
|
"onCommand:terminalTest.processId",
|
|
|
|
|
"onCommand:terminalTest.sendText",
|
|
|
|
|
"onCommand:terminalTest.sendTextNoNewLine",
|
|
|
|
|
"onCommand:terminalTest.show",
|
|
|
|
|
"onCommand:terminalTest.showPreserveFocus",
|
|
|
|
|
"onCommand:terminalTest.terminals"
|
2016-12-30 11:00:42 +01:00
|
|
|
],
|
2017-04-03 07:48:01 -07:00
|
|
|
"main": "./out/extension",
|
2016-12-30 11:00:42 +01:00
|
|
|
"contributes": {
|
|
|
|
|
"commands": [
|
2018-04-11 09:52:28 -07:00
|
|
|
{
|
|
|
|
|
"command": "terminalTest.createAndSend",
|
|
|
|
|
"title": "Terminal API: Create Terminal and Immediately Send"
|
|
|
|
|
},
|
2016-12-30 11:00:42 +01:00
|
|
|
{
|
|
|
|
|
"command": "terminalTest.createTerminal",
|
|
|
|
|
"title": "Terminal API: Create Terminal"
|
|
|
|
|
},
|
|
|
|
|
{
|
2018-04-11 09:52:28 -07:00
|
|
|
"command": "terminalTest.createZshLoginShell",
|
|
|
|
|
"title": "Terminal API: Create Terminal (zsh login shell)"
|
2016-12-30 11:00:42 +01:00
|
|
|
},
|
|
|
|
|
{
|
2018-04-11 09:52:28 -07:00
|
|
|
"command": "terminalTest.dispose",
|
|
|
|
|
"title": "Terminal API: Dispose"
|
2016-12-30 11:00:42 +01:00
|
|
|
},
|
|
|
|
|
{
|
2018-04-11 09:52:28 -07:00
|
|
|
"command": "terminalTest.hide",
|
|
|
|
|
"title": "Terminal API: Hide"
|
|
|
|
|
},
|
2018-04-20 11:23:05 -07:00
|
|
|
{
|
|
|
|
|
"command": "terminalTest.onData",
|
|
|
|
|
"title": "Terminal API: Attach data listener"
|
|
|
|
|
},
|
2018-04-11 09:52:28 -07:00
|
|
|
{
|
|
|
|
|
"command": "terminalTest.processId",
|
|
|
|
|
"title": "Terminal API: Get process ID"
|
2016-12-30 11:00:42 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "terminalTest.sendText",
|
|
|
|
|
"title": "Terminal API: Send Text"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "terminalTest.sendTextNoNewLine",
|
|
|
|
|
"title": "Terminal API: Send Text (no implied \\n)"
|
|
|
|
|
},
|
|
|
|
|
{
|
2018-04-11 09:52:28 -07:00
|
|
|
"command": "terminalTest.show",
|
|
|
|
|
"title": "Terminal API: Show"
|
2016-12-30 11:00:42 +01:00
|
|
|
},
|
|
|
|
|
{
|
2018-04-11 09:52:28 -07:00
|
|
|
"command": "terminalTest.showPreserveFocus",
|
|
|
|
|
"title": "Terminal API: Show (preserving focus)"
|
2018-04-09 11:02:01 -07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "terminalTest.terminals",
|
|
|
|
|
"title": "Terminal API: View terminals"
|
2016-12-30 11:00:42 +01:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"scripts": {
|
2018-04-09 06:30:41 -07:00
|
|
|
"vscode:prepublish": "npm run compile",
|
|
|
|
|
"compile": "tsc -p ./",
|
|
|
|
|
"lint": "tslint ./src/*.ts",
|
|
|
|
|
"watch": "tsc -watch -p ./",
|
|
|
|
|
"postinstall": "node ./node_modules/vscode/bin/install",
|
|
|
|
|
"test": "npm run compile && node ./node_modules/vscode/bin/test"
|
2016-12-30 11:00:42 +01:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2018-04-09 06:30:41 -07:00
|
|
|
"@types/mocha": "^2.2.32",
|
|
|
|
|
"@types/node": "^6.0.40",
|
|
|
|
|
"mocha": "^2.3.3",
|
|
|
|
|
"tslint": "^5.9.1",
|
|
|
|
|
"typescript": "^2.0.3",
|
2018-05-04 08:59:19 +02:00
|
|
|
"vscode": "^1.1.17"
|
2016-12-30 11:00:42 +01:00
|
|
|
}
|
2018-04-09 06:30:41 -07:00
|
|
|
}
|