Files
qoder-cli-vscode/package.json
yuantao e9687fec95 chore: add project configuration files
- Add package.json with extension metadata and dependencies
- Add tsconfig.json for TypeScript compilation
- Add .eslintrc.json for code linting
- Add .vscodeignore for packaging exclusions

🤖 Generated with [Qoder](https://qoder.com)
2026-03-27 15:35:36 +08:00

94 lines
2.2 KiB
JSON

{
"name": "qoder-cli-vscode",
"displayName": "qoder-cli",
"description": "Open terminal in a locked editor tab",
"version": "0.0.1",
"publisher": "yuantao",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"keywords": [
"terminal",
"tab",
"editor"
],
"activationEvents": [
"onCommand:terminalTab.open"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "terminalTab.open",
"title": "Open Terminal Tab",
"category": "Terminal Tab",
"icon": "$(terminal)"
},
{
"command": "terminalTab.openInCurrentDirectory",
"title": "Open Terminal Tab (Current Directory)",
"category": "Terminal Tab",
"icon": "$(terminal)"
}
],
"menus": {
"commandPalette": [
{
"command": "terminalTab.open"
},
{
"command": "terminalTab.openInCurrentDirectory"
}
],
"editor/title": [
{
"command": "terminalTab.openInCurrentDirectory",
"group": "navigation",
"when": "editorIsOpen"
}
],
"explorer/context": [
{
"command": "terminalTab.openInCurrentDirectory",
"group": "2_workspace@10"
}
]
},
"configuration": {
"title": "Terminal Tab",
"properties": {
"terminalTab.defaultLocation": {
"type": "string",
"default": "editor",
"enum": ["editor", "panel"],
"description": "Default location for terminal tab"
},
"terminalTab.preserveFocus": {
"type": "boolean",
"default": false,
"description": "Preserve focus when opening terminal tab"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.74.0",
"@types/node": "16.x",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"eslint": "^8.28.0",
"typescript": "^4.9.4"
}
}