代码拉取完成,页面将自动刷新
{
"name": "vscode-leetcode",
"displayName": "LeetCode",
"description": "Solve LeetCode problems in VS Code",
"version": "0.10.1",
"author": "Sheng Chen",
"publisher": "shengchen",
"license": "MIT",
"icon": "resources/LeetCode.png",
"engines": {
"vscode": "^1.23.0"
},
"repository": {
"type": "git",
"url": "https://github.com/jdneo/vscode-leetcode"
},
"homepage": "https://github.com/jdneo/vscode-leetcode/blob/master/README.md",
"categories": [
"Other",
"Snippets"
],
"keywords": [
"leetcode",
"algorithm",
"interview"
],
"preview": true,
"activationEvents": [
"onCommand:leetcode.toogleLeetCodeCn",
"onCommand:leetcode.signin",
"onCommand:leetcode.signout",
"onCommand:leetcode.selectSessions",
"onCommand:leetcode.createSession",
"onCommand:leetcode.refreshExplorer",
"onCommand:leetcode.showProblem",
"onCommand:leetcode.searchProblem",
"onCommand:leetcode.testSolution",
"onCommand:leetcode.submitSolution",
"onView:leetCodeExplorer"
],
"main": "./out/src/extension",
"contributes": {
"commands": [
{
"command": "leetcode.deleteCache",
"title": "Delete Cache",
"category": "LeetCode"
},
{
"command": "leetcode.toogleLeetCodeCn",
"title": "Switch Endpoint",
"category": "LeetCode",
"icon": {
"light": "resources/light/endpoint.svg",
"dark": "resources/dark/endpoint.svg"
}
},
{
"command": "leetcode.signin",
"title": "Sign In",
"category": "LeetCode",
"icon": {
"light": "resources/light/signin.svg",
"dark": "resources/dark/signin.svg"
}
},
{
"command": "leetcode.signout",
"title": "Sign Out",
"category": "LeetCode"
},
{
"command": "leetcode.selectSessions",
"title": "Select Session",
"category": "LeetCode"
},
{
"command": "leetcode.createSession",
"title": "Create New Session",
"category": "LeetCode"
},
{
"command": "leetcode.refreshExplorer",
"title": "Refresh",
"category": "LeetCode",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
{
"command": "leetcode.showProblem",
"title": "Show Problem",
"category": "LeetCode"
},
{
"command": "leetcode.searchProblem",
"title": "Search Problem",
"category": "LeetCode",
"icon": {
"light": "resources/light/search.svg",
"dark": "resources/dark/search.svg"
}
},
{
"command": "leetcode.testSolution",
"title": "Test in LeetCode",
"category": "LeetCode"
},
{
"command": "leetcode.submitSolution",
"title": "Submit to LeetCode",
"category": "LeetCode"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "leetcode",
"title": "LeetCode",
"icon": "resources/LeetCode.svg"
}
]
},
"views": {
"leetcode": [
{
"id": "leetCodeExplorer",
"name": "Problems"
}
]
},
"menus": {
"view/title": [
{
"command": "leetcode.toogleLeetCodeCn",
"when": "view == leetCodeExplorer",
"group": "navigation@0"
},
{
"command": "leetcode.signin",
"when": "view == leetCodeExplorer",
"group": "navigation@1"
},
{
"command": "leetcode.searchProblem",
"when": "view == leetCodeExplorer",
"group": "navigation@2"
},
{
"command": "leetcode.refreshExplorer",
"when": "view == leetCodeExplorer",
"group": "navigation@3"
}
],
"view/item/context": [
{
"command": "leetcode.showProblem",
"when": "view == leetCodeExplorer && viewItem == problem",
"group": "leetcode@1"
}
],
"commandPalette": [
{
"command": "leetcode.showProblem",
"when": "never"
}
],
"explorer/context": [
{
"command": "leetcode.testSolution",
"when": "explorerResourceIsFolder == false",
"group": "leetcode@1"
},
{
"command": "leetcode.submitSolution",
"when": "explorerResourceIsFolder == false",
"group": "leetcode@2"
}
],
"editor/context": [
{
"command": "leetcode.testSolution",
"group": "leetcode@1"
},
{
"command": "leetcode.submitSolution",
"group": "leetcode@2"
}
]
},
"configuration": [
{
"title": "LeetCode",
"properties": {
"leetcode.hideSolved": {
"type": "boolean",
"default": false,
"scope": "application",
"description": "Hide solved problems."
},
"leetcode.showLocked": {
"type": "boolean",
"default": false,
"scope": "application",
"description": "Show locked problems."
},
"leetcode.defaultLanguage": {
"type": "string",
"enum": [
"bash",
"c",
"cpp",
"csharp",
"golang",
"java",
"javascript",
"kotlin",
"mysql",
"python",
"python3",
"ruby",
"scala",
"swift"
],
"scope": "application",
"description": "Default language for solving the problems."
},
"leetcode.showSetDefaultLanguageHint": {
"type": "boolean",
"default": true,
"scope": "application",
"description": "Show a hint to set the default language."
},
"leetcode.useWsl": {
"type": "boolean",
"default": false,
"scope": "application",
"description": "Use Node.js inside the Windows Subsystem for Linux."
},
"leetcode.endpoint": {
"type": "string",
"default": "leetcode",
"scope": "application",
"enum": [
"leetcode",
"leetcode-cn"
],
"description": "Endpoint of the user account."
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"lint": "tslint --project tsconfig.json -e src/*.d.ts -t verbose"
},
"devDependencies": {
"@types/fs-extra": "5.0.0",
"@types/mocha": "^2.2.42",
"@types/node": "^7.0.43",
"@types/require-from-string": "^1.2.0",
"tslint": "^5.9.1",
"typescript": "^2.6.1",
"vscode": "^1.1.22"
},
"dependencies": {
"fs-extra": "^6.0.1",
"leetcode-cli": "2.6.1",
"require-from-string": "^2.0.2"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。