24 Star 0 Fork 0

openKylin/ide-vscode-java-dependency

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
package.json 23.18 KB
一键复制 编辑 原始数据 按行查看 历史
xiayuqi 提交于 2024-11-15 20:46 . 修改版本号
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673
{
"name": "vscode-java-dependency",
"displayName": "Kylin Java Dependency(Support OpenJDK11)",
"description": "%description%",
"version": "0.1.12",
"publisher": "KylinIDETeam",
"aiKey": "5c642b22-e845-4400-badb-3f8509a70777",
"downloadUrl": "https://gitee.com/openkylin/extensions-repo/tree/master/KylinIDETeam/vscode-java-dependency",
"keywords": [
"KylinIdeDev",
"KylinIdeDevJava",
"java",
"project",
"explorer"
],
"engines": {
"vscode": "^1.66.0"
},
"repository": {
"type": "git",
"url": "https://gitee.com/openkylin/ide-vscode-java-dependency.git"
},
"homepage": "https://gitee.com/openkylin/ide-vscode-java-dependency",
"icon": "logo.png",
"capabilities": {
"virtualWorkspaces": false,
"untrustedWorkspaces": {
"supported": false
}
},
"activationEvents": [
"onLanguage:java",
"workspaceContains:pom.xml",
"workspaceContains:build.gradle",
"workspaceContains:settings.gradle",
"workspaceContains:build.gradle.kts",
"workspaceContains:settings.gradle.kts",
"workspaceContains:.classpath",
"onCommand:_java.project.open",
"onCommand:java.project.create",
"onCommand:java.view.package.newJavaClass"
],
"license": "KylinIdeTeam",
"main": "./main.js",
"contributes": {
"javaExtensions": [
"./server/com.microsoft.jdtls.ext.core-0.20.0.jar"
],
"commands": [
{
"command": "java.project.create",
"title": "%contributes.commands.java.project.create%",
"category": "Java",
"icon": "$(add)"
},
{
"command": "java.project.addLibraries",
"title": "%contributes.commands.java.project.addLibraries%",
"category": "Java",
"icon": "$(add)"
},
{
"command": "java.project.addLibraryFolders",
"title": "%contributes.commands.java.project.addLibraryFolders%",
"category": "Java",
"icon": "$(new-folder)"
},
{
"command": "java.project.removeLibrary",
"title": "%contributes.commands.java.project.removeLibrary%",
"category": "Java",
"icon": "$(remove)"
},
{
"command": "java.project.refreshLibraries",
"title": "%contributes.commands.java.view.package.refresh%",
"category": "Java",
"icon": "$(refresh)"
},
{
"command": "java.project.build.workspace",
"title": "%contributes.commands.java.project.build.workspace%",
"icon": "$(tools)"
},
{
"command": "java.project.clean.workspace",
"title": "%contributes.commands.java.project.clean.workspace%"
},
{
"command": "java.project.update",
"title": "%contributes.commands.java.project.update%"
},
{
"command": "java.view.package.revealInProjectExplorer",
"title": "%contributes.commands.java.view.package.revealInProjectExplorer%",
"category": "Java"
},
{
"command": "java.view.package.refresh",
"title": "%contributes.commands.java.view.package.refresh%",
"category": "Java",
"icon": "$(refresh)"
},
{
"command": "java.view.package.changeToHierarchicalPackageView",
"title": "%contributes.commands.java.view.package.changeToHierarchicalPackageView%",
"category": "Java",
"icon": "$(list-tree)"
},
{
"command": "java.view.package.changeToFlatPackageView",
"title": "%contributes.commands.java.view.package.changeToFlatPackageView%",
"category": "Java",
"icon": "$(list-flat)"
},
{
"command": "java.view.package.linkWithFolderExplorer",
"title": "%contributes.commands.java.view.package.linkWithFolderExplorer%",
"category": "Java",
"icon": {
"dark": "icons/dark/icon-unlink.svg",
"light": "icons/light/icon-unlink.svg"
}
},
{
"command": "java.view.package.unlinkWithFolderExplorer",
"title": "%contributes.commands.java.view.package.unlinkWithFolderExplorer%",
"category": "Java",
"icon": {
"dark": "icons/dark/icon-link.svg",
"light": "icons/light/icon-link.svg"
}
},
{
"command": "java.view.package.revealFileInOS",
"title": "%contributes.commands.java.view.package.revealFileInOS%",
"category": "Java"
},
{
"command": "java.view.package.exportJar",
"title": "%contributes.commands.java.view.package.exportJar%",
"category": "Java",
"icon": "$(export)"
},
{
"command": "java.view.package.copyFilePath",
"title": "%contributes.commands.java.view.package.copyFilePath%",
"category": "Java"
},
{
"command": "java.view.package.copyRelativeFilePath",
"title": "%contributes.commands.java.view.package.copyRelativeFilePath%",
"category": "Java"
},
{
"command": "java.view.package.newJavaClass",
"title": "%contributes.commands.java.view.package.newJavaClass%",
"category": "Java",
"icon": "$(add)"
},
{
"command": "java.view.package.newPackage",
"title": "%contributes.commands.java.view.package.newPackage%",
"category": "Java"
},
{
"command": "java.view.package.moveFileToTrash",
"title": "%contributes.commands.java.view.package.moveFileToTrash%",
"category": "Java"
},
{
"command": "java.view.package.deleteFilePermanently",
"title": "%contributes.commands.java.view.package.deleteFilePermanently%",
"category": "Java"
},
{
"command": "java.view.package.renameFile",
"title": "%contributes.commands.java.view.package.renameFile%",
"category": "Java"
}
],
"configuration": {
"type": "object",
"title": "Java Project Manager",
"properties": {
"java.dependency.showMembers": {
"type": "boolean",
"description": "%configuration.java.dependency.showMembers%",
"default": false
},
"java.dependency.syncWithFolderExplorer": {
"type": "boolean",
"description": "%configuration.java.dependency.syncWithFolderExplorer%",
"default": true
},
"java.dependency.autoRefresh": {
"type": "boolean",
"description": "%configuration.java.dependency.autoRefresh%",
"default": true
},
"java.dependency.refreshDelay": {
"type": "number",
"description": "%configuration.java.dependency.refreshDelay%",
"default": 2000
},
"java.dependency.packagePresentation": {
"type": "string",
"enum": [
"flat",
"hierarchical"
],
"description": "%configuration.java.dependency.packagePresentation%",
"default": "flat"
},
"java.project.exportJar.targetPath": {
"type": "string",
"anyOf": [
{
"enum": [
"${workspaceFolder}/${workspaceFolderBasename}.jar",
""
],
"enumDescriptions": [
"%configuration.java.project.exportJar.targetPath.workspaceFolder%",
"%configuration.java.project.exportJar.targetPath.select%"
]
},
"string"
],
"markdownDescription": "%configuration.java.project.exportJar.targetPath.customization%",
"default": "${workspaceFolder}/${workspaceFolderBasename}.jar"
}
}
},
"keybindings": [
{
"command": "java.view.package.revealFileInOS",
"key": "ctrl+alt+r",
"win": "shift+alt+r",
"mac": "cmd+alt+r",
"when": "java:serverMode == Standard && focusedView == javaProjectExplorer"
},
{
"command": "java.view.package.copyFilePath",
"key": "ctrl+alt+c",
"win": "shift+alt+c",
"mac": "cmd+alt+c",
"when": "java:serverMode == Standard && focusedView == javaProjectExplorer"
},
{
"command": "java.view.package.copyRelativeFilePath",
"key": "ctrl+shift+alt+c",
"win": "ctrl+k ctrl+shift+c",
"mac": "cmd+shift+alt+c",
"when": "java:serverMode == Standard && focusedView == javaProjectExplorer"
},
{
"command": "java.view.package.renameFile",
"key": "F2",
"mac": "enter",
"when": "java:serverMode == Standard && focusedView == javaProjectExplorer"
},
{
"command": "java.view.package.moveFileToTrash",
"key": "delete",
"mac": "cmd+backspace",
"when": "java:serverMode == Standard && focusedView == javaProjectExplorer && explorerResourceMoveableToTrash"
},
{
"command": "java.view.package.deleteFilePermanently",
"key": "delete",
"mac": "cmd+backspace",
"when": "java:serverMode == Standard && focusedView == javaProjectExplorer && !explorerResourceMoveableToTrash"
}
],
"menus": {
"file/newFile": [
{
"command": "java.view.package.newJavaClass"
}
],
"commandPalette": [
{
"command": "java.view.package.exportJar",
"when": "java:serverMode == Standard && !java:noJavaProjects"
},
{
"command": "java.view.package.refresh",
"when": "false"
},
{
"command": "java.view.package.changeToHierarchicalPackageView",
"when": "false"
},
{
"command": "java.view.package.changeToFlatPackageView",
"when": "false"
},
{
"command": "java.view.package.linkWithFolderExplorer",
"when": "false"
},
{
"command": "java.view.package.unlinkWithFolderExplorer",
"when": "false"
},
{
"command": "java.view.package.revealFileInOS",
"when": "false"
},
{
"command": "java.view.package.copyFilePath",
"when": "false"
},
{
"command": "java.view.package.copyRelativeFilePath",
"when": "false"
},
{
"command": "java.project.addLibraries",
"when": "false"
},
{
"command": "java.project.addLibraryFolders",
"when": "false"
},
{
"command": "java.project.removeLibrary",
"when": "false"
},
{
"command": "java.project.refreshLibraries",
"when": "false"
},
{
"command": "java.view.package.newPackage",
"when": "false"
},
{
"command": "java.view.package.renameFile",
"when": "false"
},
{
"command": "java.view.package.moveFileToTrash",
"when": "false"
},
{
"command": "java.view.package.deleteFilePermanently",
"when": "false"
},
{
"command": "java.project.build.workspace",
"when": "false"
},
{
"command": "java.project.clean.workspace",
"when": "false"
},
{
"command": "java.project.update",
"when": "false"
},
{
"command": "java.view.package.revealInProjectExplorer",
"when": "false"
}
],
"explorer/context": [
{
"command": "java.view.package.revealInProjectExplorer",
"when": "resourceFilename =~ /(.*\\.gradle)|(.*\\.gradle\\.kts)|(pom\\.xml)$/ && java:serverMode == Standard",
"group": "navigation@100"
},
{
"command": "java.view.package.revealInProjectExplorer",
"when": "resourceExtname == .java && java:serverMode == Standard",
"group": "navigation@100"
}
],
"editor/title/context": [
{
"command": "java.view.package.revealInProjectExplorer",
"when": "resourceFilename =~ /(.*\\.gradle)|(.*\\.gradle\\.kts)|(pom\\.xml)$/ && java:serverMode == Standard",
"group": "2_files@100"
},
{
"command": "java.view.package.revealInProjectExplorer",
"when": "resourceExtname == .java && java:serverMode == Standard",
"group": "2_files@100"
}
],
"view/title": [
{
"command": "java.project.create",
"when": "view == javaProjectExplorer",
"group": "navigation@10"
},
{
"command": "java.view.package.exportJar",
"when": "view == javaProjectExplorer && java:serverMode == Standard && !java:noJavaProjects",
"group": "navigation@20"
},
{
"command": "java.project.build.workspace",
"when": "view == javaProjectExplorer && java:serverMode == Standard && !java:noJavaProjects",
"group": "navigation@30"
},
{
"command": "java.view.package.changeToHierarchicalPackageView",
"when": "view == javaProjectExplorer && java:serverMode == Standard && config.java.dependency.packagePresentation == flat",
"group": "overflow_10@10"
},
{
"command": "java.view.package.changeToFlatPackageView",
"when": "view == javaProjectExplorer && java:serverMode == Standard && config.java.dependency.packagePresentation != flat",
"group": "overflow_10@10"
},
{
"command": "java.view.package.linkWithFolderExplorer",
"when": "view == javaProjectExplorer && java:serverMode == Standard && config.java.dependency.syncWithFolderExplorer != true",
"group": "overflow_10@20"
},
{
"command": "java.view.package.unlinkWithFolderExplorer",
"when": "view == javaProjectExplorer && java:serverMode == Standard && config.java.dependency.syncWithFolderExplorer == true",
"group": "overflow_10@20"
},
{
"command": "java.project.clean.workspace",
"when": "view == javaProjectExplorer && java:serverMode == Standard && !java:noJavaProjects",
"group": "overflow_20@10"
},
{
"command": "java.view.package.refresh",
"when": "view == javaProjectExplorer && java:serverMode == Standard && !java:noJavaProjects",
"group": "overflow_50@10"
}
],
"view/item/context": [
{
"command": "java.view.package.revealFileInOS",
"when": "view == javaProjectExplorer && viewItem =~ /java:(?=.*?\\b\\+uri\\b)/",
"group": "6_copypath@10"
},
{
"command": "java.view.package.copyFilePath",
"when": "view == javaProjectExplorer && viewItem =~ /java:(?=.*?\\b\\+uri\\b)/",
"group": "6_copypath@20"
},
{
"command": "java.view.package.copyRelativeFilePath",
"when": "view == javaProjectExplorer && viewItem =~ /java:(?=.*?\\b\\+uri\\b)/",
"group": "6_copypath@25"
},
{
"command": "java.view.package.renameFile",
"when": "view == javaProjectExplorer && viewItem =~ /java:(package|packageRoot)(?=.*?\\b\\+(source|resource)\\b)(?=.*?\\b\\+uri\\b)/",
"group": "7_modification@10"
},
{
"command": "java.view.package.renameFile",
"when": "view == javaProjectExplorer && viewItem =~ /java:(file|type|folder)(?=.*?\\b\\+uri\\b)/",
"group": "7_modification@10"
},
{
"command": "java.view.package.moveFileToTrash",
"when": "view == javaProjectExplorer && explorerResourceMoveableToTrash && viewItem =~ /java:(package|packageRoot)(?=.*?\\b\\+(source|resource)\\b)(?=.*?\\b\\+uri\\b)/",
"group": "7_modification@20"
},
{
"command": "java.view.package.moveFileToTrash",
"when": "view == javaProjectExplorer && explorerResourceMoveableToTrash && viewItem =~ /java:(file|type|folder)(?=.*?\\b\\+uri\\b)/",
"group": "7_modification@20"
},
{
"command": "java.view.package.deleteFilePermanently",
"when": "view == javaProjectExplorer && !explorerResourceMoveableToTrash && viewItem =~ /java:(package|packageRoot)(?=.*?\\b\\+(source|resource)\\b)(?=.*?\\b\\+uri\\b)/",
"group": "7_modification@20"
},
{
"command": "java.view.package.deleteFilePermanently",
"when": "view == javaProjectExplorer && !explorerResourceMoveableToTrash && viewItem =~ /java:(file|type|folder)(?=.*?\\b\\+uri\\b)/",
"group": "7_modification@20"
},
{
"command": "java.view.package.newJavaClass",
"when": "view == javaProjectExplorer && viewItem =~ /java:(package|packageRoot)(?=.*?\\b\\+source\\b)(?=.*?\\b\\+uri\\b)/",
"group": "1_new@10"
},
{
"command": "java.view.package.newJavaClass",
"when": "view == javaProjectExplorer && viewItem =~ /java:project(?=.*?\\b\\+java\\b)(?=.*?\\b\\+uri\\b)/",
"group": "inline@add_0"
},
{
"command": "java.view.package.newJavaClass",
"when": "view == javaProjectExplorer && viewItem =~ /java:project(?=.*?\\b\\+java\\b)(?=.*?\\b\\+uri\\b)/",
"group": "1_new@10"
},
{
"command": "java.view.package.newJavaClass",
"when": "view == javaProjectExplorer && viewItem =~ /java:(package|packageRoot)(?=.*?\\b\\+source\\b)(?=.*?\\b\\+uri\\b)/",
"group": "inline@add_0"
},
{
"command": "java.view.package.newPackage",
"when": "view == javaProjectExplorer && viewItem =~ /java:(package|packageRoot)(?=.*?\\b\\+source\\b)(?=.*?\\b\\+uri\\b)/",
"group": "1_new@20"
},
{
"command": "java.view.package.newPackage",
"when": "view == javaProjectExplorer && viewItem =~ /java:project(?=.*?\\b\\+java\\b)(?=.*?\\b\\+uri\\b)/",
"group": "1_new@20"
},
{
"command": "java.project.addLibraries",
"alt": "java.project.addLibraryFolders",
"when": "view == javaProjectExplorer && viewItem =~ /java:container(?=.*?\\b\\+referencedLibrary\\b)/",
"group": "inline@0"
},
{
"command": "java.project.removeLibrary",
"when": "view == javaProjectExplorer && viewItem =~ /java:jar(?=.*?\\b\\+referencedLibrary\\b)(?=.*?\\b\\+uri\\b)/",
"group": "inline"
},
{
"command": "java.project.refreshLibraries",
"when": "view == javaProjectExplorer && viewItem =~ /java:container(?=.*?\\b\\+referencedLibrary\\b)/",
"group": "inline@1"
},
{
"command": "java.view.package.exportJar",
"when": "view == javaProjectExplorer && viewItem =~ /java:workspace(?=.*?\\b\\+uri\\b)/ && java:serverMode == Standard",
"group": "inline"
},
{
"command": "java.project.update",
"when": "view == javaProjectExplorer && viewItem =~ /java:project(?=.*?\\b\\+uri\\b)(?=.*?\\b\\+(maven|gradle)\\b)/",
"group": "9_configuration@10"
}
]
},
"views": {
"explorer": [
{
"id": "javaProjectExplorer",
"name": "Java Projects",
"contextualTitle": "Java Projects",
"icon": "$(project)",
"when": "java:projectManagerActivated"
}
]
},
"viewsWelcome": [
{
"view": "javaProjectExplorer",
"contents": "%viewsWelcome.workbench.noJavaProject%",
"when": "java:noJavaProjects"
},
{
"view": "javaProjectExplorer",
"contents": "%viewsWelcome.workbench.inLightWeightMode%",
"when": "java:serverMode == LightWeight"
},
{
"view": "javaProjectExplorer",
"contents": "%viewsWelcome.workbench.installLanguageSupport%",
"when": "java:projectManagerActivated && !java:languageSupportInstalled"
}
],
"taskDefinitions": [
{
"type": "java",
"properties": {
"label": {
"type": "string",
"description": "%taskDefinitions.java.project.exportJar.label%"
},
"mainClass": {
"type": "string",
"description": "%taskDefinitions.java.project.exportJar.mainClass%"
},
"targetPath": {
"type": "string",
"anyOf": [
{
"type": "string"
},
{
"enum": [
"${workspaceFolder}/${workspaceFolderBasename}.jar",
""
],
"enumDescriptions": [
"%configuration.java.project.exportJar.targetPath.workspaceFolder%",
"%configuration.java.project.exportJar.targetPath.select%"
]
}
],
"description": "%configuration.java.project.exportJar.targetPath.customization%"
},
"elements": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"enum": [
"${compileOutput}",
"${testCompileOutput}",
"${dependencies}",
"${testDependencies}"
],
"enumDescriptions": [
"%taskDefinitions.java.project.exportJar.compileOutput%",
"%taskDefinitions.java.project.exportJar.testCompileOutput%",
"%taskDefinitions.java.project.exportJar.dependencies%",
"%taskDefinitions.java.project.exportJar.testDependencies%"
]
}
]
},
"description": "%taskDefinitions.java.project.exportJar.elements%"
}
}
}
]
},
"scripts": {
"compile": "tsc -p . && webpack --config webpack.config.js",
"watch": "webpack --mode development --watch",
"test": "tsc -p . && node ./dist/test/index.js",
"test-ui": "tsc -p . && node ./dist/test/ui/index.js",
"build-server": "node scripts/buildJdtlsExt.js",
"vscode:prepublish": "tsc -p ./ && webpack --mode production",
"package": "webpack --mode production --devtool hidden-source-map && ./node_modules/.bin/vsce package",
"tslint": "tslint -t verbose --project tsconfig.json"
},
"devDependencies": {
"@types/fs-extra": "^9.0.13",
"@types/glob": "^7.2.0",
"@types/lodash": "^4.14.182",
"@types/minimatch": "^3.0.3",
"@types/mocha": "^9.1.1",
"@types/node": "^14.18.20",
"@types/semver": "^7.3.9",
"@types/vscode": "1.66.0",
"copy-webpack-plugin": "^9.1.0",
"glob": "^7.2.3",
"mocha": "^9.2.2",
"ts-loader": "^9.3.0",
"tslint": "^6.1.3",
"typescript": "^4.7.3",
"vscode-extension-tester": "^4.2.5",
"vscode-test": "^1.6.1",
"webpack": "^5.73.0",
"webpack-cli": "^4.9.2"
},
"dependencies": {
"applicationinsights-native-metrics": "0.0.9",
"await-lock": "^2.2.2",
"fs-extra": "^10.1.0",
"globby": "^11.1.0",
"lodash": "^4.17.21",
"minimatch": "^3.1.2",
"node-loader": "^2.0.0",
"semver": "^7.3.7",
"vscode-extension-telemetry-wrapper": "^0.13.1",
"vscode-tas-client": "^0.1.47"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openkylin/ide-vscode-java-dependency.git
git@gitee.com:openkylin/ide-vscode-java-dependency.git
openkylin
ide-vscode-java-dependency
ide-vscode-java-dependency
master

搜索帮助