Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,21 @@
},
"targetPath": {
"type": "string",
"anyOf": [
{
"type": "string"
},
{
"enum": [
"${workspaceFolder}/${workspaceFolderBasename}.jar",
""
],
"enumDescriptions": [
"%configuration.java.project.exportJar.targetPath.workspaceFolder%",
"%configuration.java.project.exportJar.targetPath.select%"
]
}
],
"description": "%taskDefinitions.java.project.exportJar.targetPath%"
},
"elements": {
Expand Down
4 changes: 2 additions & 2 deletions package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
"configuration.java.dependency.packagePresentation": "Package presentation mode: flat or hierarchical",
"configuration.java.project.exportJar.targetPath": "Specifies the output path of export jar. The default value is `${workspaceFolder}/${workspaceFolderBasename}.jar`. You can leave it empty to select the output location manually each time exporting the jar file.",
"configuration.java.project.exportJar.targetPath.workspaceFolder": "Export the jar file into the workspace folder. Its name is the same as the folder's.",
"configuration.java.project.exportJar.targetPath.select": "You will select the output location manually each time exporting the jar file.",
"configuration.java.project.exportJar.targetPath.select": "Select output location manually when exporting the jar file.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about:

"configuration.java.project.exportJar.targetPath.customization": "The output path of the exported jar. Leave it to empty if you want to manually pick the output location."

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad. It should be leave it empty instead of leave it to empty

"taskDefinitions.java.project.exportJar.label": "The label of export jar task.",
"taskDefinitions.java.project.exportJar.elements": "The content list of the exported jar.",
"taskDefinitions.java.project.exportJar.mainClass": "The main class in the manifest of the exported jar.",
"taskDefinitions.java.project.exportJar.targetPath": "The output path of the exported jar. This will override configuration.java.project.exportJar.targetPath.",
"taskDefinitions.java.project.exportJar.targetPath": "The output path of the exported jar. This will override setting java.project.exportJar.targetPath.",
"taskDefinitions.java.project.exportJar.compileOutput": "The folders containing output class files in the runtime scope.",
"taskDefinitions.java.project.exportJar.testCompileOutput": "The folders containing output class files in the test scope.",
"taskDefinitions.java.project.exportJar.dependencies": "The artifact dependencies in the runtime scope.",
Expand Down
4 changes: 2 additions & 2 deletions package.nls.zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
"configuration.java.dependency.packagePresentation": "Java 包显示方式: 平行显示或者分层显示",
"configuration.java.project.exportJar.targetPath": "导出 Jar 文件的默认路径,默认值为 `${workspaceFolder}/${workspaceFolderBasename}.jar` 。您也可以将此选项置为空串来手动选择 jar 文件的导出目录。",
"configuration.java.project.exportJar.targetPath.workspaceFolder": "导出 Jar 文件到工作空间文件夹下。Jar 文件的名称和工作空间文件夹的名称相同。",
"configuration.java.project.exportJar.targetPath.select": "您将在每次导出 Jar 文件时手动选择输出目录。",
"configuration.java.project.exportJar.targetPath.select": "在导出 Jar 文件时手动选择输出目录。",
"taskDefinitions.java.project.exportJar.label": "导出 Jar 任务的名称。",
"taskDefinitions.java.project.exportJar.elements": "导出 Jar 文件的内容列表。",
"taskDefinitions.java.project.exportJar.mainClass": "导出 Jar 文件的 main 函数所在的类。",
"taskDefinitions.java.project.exportJar.targetPath": "导出 Jar 文件的输出路径。将会覆盖配置项: configuration.java.project.exportJar.targetPath 的值。",
"taskDefinitions.java.project.exportJar.targetPath": "导出 Jar 文件的输出路径。将会覆盖配置项 java.project.exportJar.targetPath 的值。",
"taskDefinitions.java.project.exportJar.compileOutput": "在 runtime scope 内包含输出的 class 文件的文件夹。",
"taskDefinitions.java.project.exportJar.testCompileOutput": "在 test scope 内包含输出的 class 文件的文件夹。",
"taskDefinitions.java.project.exportJar.dependencies": "在 runtime scope 内的依赖。",
Expand Down