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",
|
2018-10-15 11:52:55 -07:00
|
|
|
"publisher": "vscode-samples",
|
2016-12-30 11:00:42 +01:00
|
|
|
"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-06-17 20:46:04 +08:00
|
|
|
"onCommand:terminalTest.createFakeShell",
|
2018-04-11 09:52:28 -07:00
|
|
|
"onCommand:terminalTest.createTerminal",
|
|
|
|
|
"onCommand:terminalTest.createZshLoginShell",
|
2018-06-17 20:46:04 +08:00
|
|
|
"onCommand:terminalTest.dimensions",
|
2018-04-11 09:52:28 -07:00
|
|
|
"onCommand:terminalTest.dispose",
|
|
|
|
|
"onCommand:terminalTest.hide",
|
2018-08-03 13:45:10 -07:00
|
|
|
"onCommand:terminalTest.onDidWriteData",
|
2018-06-17 20:46:04 +08:00
|
|
|
"onCommand:terminalTest.maximumDimensions",
|
2018-04-11 09:52:28 -07:00
|
|
|
"onCommand:terminalTest.processId",
|
|
|
|
|
"onCommand:terminalTest.sendText",
|
|
|
|
|
"onCommand:terminalTest.sendTextNoNewLine",
|
|
|
|
|
"onCommand:terminalTest.show",
|
|
|
|
|
"onCommand:terminalTest.showPreserveFocus",
|
2018-06-17 20:46:04 +08:00
|
|
|
"onCommand:terminalTest.terminalRendererCreate",
|
|
|
|
|
"onCommand:terminalTest.terminalRendererName",
|
|
|
|
|
"onCommand:terminalTest.terminalTest.terminalRendererWrite",
|
2018-04-11 09:52:28 -07:00
|
|
|
"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"
|
|
|
|
|
},
|
2018-06-17 20:46:04 +08:00
|
|
|
{
|
|
|
|
|
"command": "terminalTest.createFakeShell",
|
|
|
|
|
"title": "Terminal API: Create Fake Shell (with Terminal Renderer)"
|
|
|
|
|
},
|
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-06-17 20:46:04 +08:00
|
|
|
{
|
|
|
|
|
"command": "terminalTest.dimensions",
|
|
|
|
|
"title": "Terminal API: Set dimensions"
|
|
|
|
|
},
|
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
|
|
|
{
|
2018-08-03 13:45:10 -07:00
|
|
|
"command": "terminalTest.onDidWriteData",
|
2018-04-20 11:23:05 -07:00
|
|
|
"title": "Terminal API: Attach data listener"
|
|
|
|
|
},
|
2018-06-17 20:46:04 +08:00
|
|
|
{
|
|
|
|
|
"command": "terminalTest.maximumDimensions",
|
|
|
|
|
"title": "Terminal API: Get maximum dimensions"
|
|
|
|
|
},
|
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
|
|
|
},
|
2018-06-17 20:46:04 +08:00
|
|
|
{
|
|
|
|
|
"command": "terminalTest.terminalRendererCreate",
|
|
|
|
|
"title": "Terminal API: Create Terminal Renderer"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "terminalTest.terminalRendererName",
|
|
|
|
|
"title": "Terminal API: Set Terminal Renderer Name"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "terminalTest.terminalRendererWrite",
|
|
|
|
|
"title": "Terminal API: Write to Terminal Renderer"
|
|
|
|
|
},
|
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/node": "^6.0.40",
|
2018-11-08 10:39:34 -08:00
|
|
|
"tslint": "^5.11.0",
|
2018-04-09 06:30:41 -07:00
|
|
|
"typescript": "^2.0.3",
|
2018-11-27 16:56:50 +01:00
|
|
|
"vscode": "^1.1.22"
|
2016-12-30 11:00:42 +01:00
|
|
|
}
|
2018-10-08 15:37:24 -07:00
|
|
|
}
|