mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
134 lines
3.6 KiB
JSON
134 lines
3.6 KiB
JSON
{
|
|
"name": "vscode-terminal-api-example",
|
|
"displayName": "vscode-terminal-api-example",
|
|
"description": "abc",
|
|
"version": "0.0.1",
|
|
"publisher": "vscode-samples",
|
|
"engines": {
|
|
"vscode": "^1.33.0"
|
|
},
|
|
"enableProposedApi": true,
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"onCommand:terminalTest.createAndSend",
|
|
"onCommand:terminalTest.createFakeShell",
|
|
"onCommand:terminalTest.createTerminal",
|
|
"onCommand:terminalTest.createTerminalHideFromUser",
|
|
"onCommand:terminalTest.createZshLoginShell",
|
|
"onCommand:terminalTest.dimensions",
|
|
"onCommand:terminalTest.dispose",
|
|
"onCommand:terminalTest.hide",
|
|
"onCommand:terminalTest.onDidChangeTerminalDimensions",
|
|
"onCommand:terminalTest.onDidWriteData",
|
|
"onCommand:terminalTest.maximumDimensions",
|
|
"onCommand:terminalTest.processId",
|
|
"onCommand:terminalTest.sendText",
|
|
"onCommand:terminalTest.sendTextNoNewLine",
|
|
"onCommand:terminalTest.show",
|
|
"onCommand:terminalTest.showPreserveFocus",
|
|
"onCommand:terminalTest.terminalRendererCreate",
|
|
"onCommand:terminalTest.terminalRendererName",
|
|
"onCommand:terminalTest.terminalTest.terminalRendererWrite",
|
|
"onCommand:terminalTest.terminals"
|
|
],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "terminalTest.createAndSend",
|
|
"title": "Terminal API: Create Terminal and Immediately Send"
|
|
},
|
|
{
|
|
"command": "terminalTest.createFakeShell",
|
|
"title": "Terminal API: Create Fake Shell (with Terminal Renderer)"
|
|
},
|
|
{
|
|
"command": "terminalTest.createTerminal",
|
|
"title": "Terminal API: Create Terminal"
|
|
},
|
|
{
|
|
"command": "terminalTest.createTerminalHideFromUser",
|
|
"title": "Terminal API: Create Terminal (hideFromUser)"
|
|
},
|
|
{
|
|
"command": "terminalTest.createZshLoginShell",
|
|
"title": "Terminal API: Create Terminal (zsh login shell)"
|
|
},
|
|
{
|
|
"command": "terminalTest.dimensions",
|
|
"title": "Terminal API: Set dimensions"
|
|
},
|
|
{
|
|
"command": "terminalTest.dispose",
|
|
"title": "Terminal API: Dispose"
|
|
},
|
|
{
|
|
"command": "terminalTest.hide",
|
|
"title": "Terminal API: Hide"
|
|
},
|
|
{
|
|
"command": "terminalTest.onDidWriteData",
|
|
"title": "Terminal API: Attach data listener"
|
|
},
|
|
{
|
|
"command": "terminalTest.onDidChangeTerminalDimensions",
|
|
"title": "Terminal API: Attach dimensions listener"
|
|
},
|
|
{
|
|
"command": "terminalTest.maximumDimensions",
|
|
"title": "Terminal API: Get maximum dimensions"
|
|
},
|
|
{
|
|
"command": "terminalTest.processId",
|
|
"title": "Terminal API: Get process ID"
|
|
},
|
|
{
|
|
"command": "terminalTest.sendText",
|
|
"title": "Terminal API: Send Text"
|
|
},
|
|
{
|
|
"command": "terminalTest.sendTextNoNewLine",
|
|
"title": "Terminal API: Send Text (no implied \\n)"
|
|
},
|
|
{
|
|
"command": "terminalTest.show",
|
|
"title": "Terminal API: Show"
|
|
},
|
|
{
|
|
"command": "terminalTest.showPreserveFocus",
|
|
"title": "Terminal API: Show (preserving focus)"
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"command": "terminalTest.terminals",
|
|
"title": "Terminal API: View terminals"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./",
|
|
"lint": "tslint -p ./"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^6.0.40",
|
|
"@types/vscode": "^1.33.0",
|
|
"tslint": "^5.16.0",
|
|
"typescript": "^3.5.1"
|
|
}
|
|
}
|