代码拉取完成,页面将自动刷新
{
"name": "ldggist",
"displayName": "LdgGist",
"publisher": "itldg",
"description": "基于Gitee和GitHub的代码片段管理工具",
"version": "0.0.11",
"icon": "resources/logo.png",
"engines": {
"vscode": "^1.65.0"
},
"categories": [
"Snippets",
"Other"
],
"activationEvents": [
"*",
"onFileSystem:ldggist"
],
"keywords": [
"代码片段",
"git",
"gitee",
"github",
"gists",
"snippets"
],
"repository": {
"type": "git",
"url": "https://github.com/wanglong126/vscode-ldgGist"
},
"main": "./out/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "ldgActivitybar",
"title": "%ldgGist.name%",
"icon": "$(code)"
}
]
},
"views": {
"ldgActivitybar": [
{
"id": "gists",
"name": "%ldgGist.gists%"
},
{
"id": "commits",
"name": "%ldgGist.commits%",
"icon": "$(git-commit)",
"visibility": "collapsed",
"when": "ldgGist.tokenType == github"
},
{
"id": "comments",
"name": "%ldgGist.comments%",
"icon": "$(comment-discussion)",
"visibility": "collapsed"
},
{
"id": "publicGists",
"name": "%ldgGist.publicGists%",
"when": "ldgGist.tokenType == github"
}
]
},
"viewsWelcome": [
{
"view": "gists",
"contents": "%ldgGist.gistsEmpty%"
},
{
"view": "commits",
"contents": "%ldgGist.commitsEmpty%"
},
{
"view": "comments",
"contents": "%ldgGist.commentsEmpty%"
},
{
"view": "publicGists",
"contents": "%ldgGist.publicGistsEmpty%"
}
],
"commands": [
{
"command": "ldgGist.login",
"title": "%ldgGist.login%",
"icon": "$(log-in)"
},
{
"command": "ldgGist.selectedGist",
"title": "%ldgGist.selectedGist%"
},
{
"command": "ldgGist.openCode",
"title": "%ldgGist.openCode%",
"icon": "$(pencil)"
},
{
"command": "ldgGist.createFromFile",
"title": "%ldgGist.createFromFile%",
"icon": "$(add)"
},
{
"command": "ldgGist.createFromSelect",
"title": "%ldgGist.createFromSelect%",
"icon": "$(add)"
},
{
"command": "ldgGist.addFromFile",
"title": "%ldgGist.addFromFile%",
"icon": "$(file-add)"
},
{
"command": "ldgGist.addFromSelect",
"title": "%ldgGist.addFromSelect%",
"icon": "$(file-add)"
},
{
"command": "ldgGist.changeDescription",
"title": "%ldgGist.changeDescription%"
},
{
"command": "ldgGist.delete",
"title": "%ldgGist.delete%",
"icon": "$(trash)"
},
{
"command": "ldgGist.renameFile",
"title": "%ldgGist.renameFile%"
},
{
"command": "ldgGist.deleteFile",
"title": "%ldgGist.deleteFile%",
"icon": "$(close)"
},
{
"command": "ldgGist.refreshGists",
"title": "%ldgGist.refreshGists%",
"icon": "$(refresh)"
},
{
"command": "ldgGist.refreshPublicGists",
"title": "%ldgGist.refreshPublicGists%",
"icon": "$(refresh)"
},
{
"command": "ldgGist.createComment",
"title": "%ldgGist.createComment%",
"icon": "$(add)"
},
{
"command": "ldgGist.editComment",
"title": "%ldgGist.editComment%",
"icon": "$(pencil)"
},
{
"command": "ldgGist.deleteComment",
"title": "%ldgGist.deleteComment%",
"icon": "$(close)"
}
],
"menus": {
"editor/context": [
{
"when": "editorHasSelection",
"command": "ldgGist.createFromSelect",
"group": "navigation@2"
},
{
"when": "editorHasSelection",
"command": "ldgGist.addFromSelect",
"group": "navigation@3"
}
],
"explorer/context": [
{
"when": "!explorerResourceIsFolder",
"command": "ldgGist.createFromFile",
"group": "navigation@2"
},
{
"when": "!explorerResourceIsFolder",
"command": "ldgGist.addFromFile",
"group": "navigation@3"
}
],
"view/title": [
{
"command": "ldgGist.login",
"when": "view == gists",
"group": "navigation@0"
},
{
"command": "ldgGist.refreshGists",
"when": "view == gists",
"group": "navigation@1"
},
{
"command": "ldgGist.createComment",
"when": "view == comments",
"group": "navigation@0"
}
],
"view/item/context": [
{
"command": "ldgGist.changeDescription",
"when": "view == gists && viewItem == gist",
"group": "base@1"
},
{
"command": "ldgGist.delete",
"when": "view == gists && viewItem == gist",
"group": "inline"
},
{
"command": "ldgGist.renameFile",
"when": "view == gists && viewItem == gistFile",
"group": "base@1"
},
{
"command": "ldgGist.deleteFile",
"when": "view == gists && viewItem == gistFile",
"group": "inline"
},
{
"command": "ldgGist.editComment",
"when": "view == comments",
"group": "inline"
},
{
"command": "ldgGist.deleteComment",
"when": "view == comments",
"group": "inline"
}
]
}
},
"capabilities": {
"untrustedWorkspaces": {
"supported": true
},
"virtualWorkspaces": true
},
"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/fs-extra": "^9.0.13",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.0",
"@types/node": "14.x",
"@types/request": "^2.48.8",
"@types/vscode": "^1.65.0",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"@vscode/test-electron": "^2.1.3",
"eslint": "^8.11.0",
"glob": "^7.2.0",
"mocha": "^9.2.2",
"typescript": "^4.5.5"
},
"dependencies": {
"fs-extra": "^10.0.1",
"request": "^2.88.2"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。