Skip to content

Commit 3b3a1ca

Browse files
committed
Relabeled the command "New From Template" to "New File"
In order to improve readability and clarity, changed the label for the command to create a new class/test/interface/exception etc. "New from Template" --> "New File" Also updated the label references in READMEs, messages and translations. Signed-off-by: Siddharth Srinivasan <[email protected]>
1 parent e09009b commit 3b3a1ca

File tree

8 files changed

+12
-14
lines changed

8 files changed

+12
-14
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ Java Platform extension from Oracle brings full featured development support (ed
4040
- For more information, see the section [Selecting the JDK](#selecting-the-jdk).
4141
4. Use any one of the following ways to start coding, compiling and debugging in Java.
4242
- Simply create a new Java class with `public static void main(String[] args)` method.
43-
- Use the __Java: New From Template...__ command to create a new Java file.
43+
- Use the __Java: New File...__ command to create a new Java file.
4444
- Use the __Java: New Project...__ command to create a new project.
4545
- Open the folder with existing __Maven__ or __Gradle__ project files (_pom.xml_ or _build.gradle, gradle.properties_).
4646

4747
## Supported Actions
4848
In the VS Code command palette :
4949
* __Java: New Project...__ allows creation of new Maven or Gradle project
50-
* __Java: New from Template...__ add various files to currently selected open project. Files are:
50+
* __Java: New File...__ add various files to currently selected open project. Files are:
5151
* Java - broad selection of various predefined Java classes
5252
* Unit tests - JUnit and TestNG templates for test suites and test cases
5353
* Other - various templates for Javascript, JSON, YAML, properties, ... files

vscode/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ Java Platform extension from Oracle brings full featured development support (ed
3636
- For more information, see the section [Selecting the JDK](#selecting-the-jdk).
3737
4. Use any one of the following ways to start coding, compiling and debugging in Java.
3838
- Simply create a new Java class with `public static void main(String[] args)` method.
39-
- Use the __Java: New From Template...__ command to create a new Java file.
39+
- Use the __Java: New File...__ command to create a new Java file.
4040
- Use the __Java: New Project...__ command to create a new project.
4141
- Open the folder with existing __Maven__ or __Gradle__ project files (_pom.xml_ or _build.gradle, gradle.properties_).
4242

4343
## Supported Actions
4444
In the VS Code command palette :
4545
* __Java: New Project...__ allows creation of new Maven or Gradle project
46-
* __Java: New from Template...__ add various files to currently selected open project. Files are:
46+
* __Java: New File...__ add various files to currently selected open project. Files are:
4747
* Java - broad selection of various predefined Java classes
4848
* Unit tests - JUnit and TestNG templates for test suites and test cases
4949
* Other - various templates for Javascript, JSON, YAML, properties, ... files

vscode/l10n/bundle.l10n.en.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
32
"jdk.downloader.heading": "JDK Downloader",
43
"jdk.downloader.html.details":"<p>This tool enables you to download either the latest Oracle Java SE JDK with <a href='https://www.java.com/freeuselicense'>Oracle No-Fee Terms and Conditions</a> or the Oracle OpenJDK builds under the <a href='https://openjdk.org/legal/gplv2+ce.html'>GNU Public License with ClassPath Exception</a></p> <p>It will then handle the installation and configuration on your behalf.</p> <p>This enables you to take full advantage of all the features offered by this extension.</p>",
54
"jdk.downloader.button.label.oracleJdk": "Download Oracle Java SE JDK",
@@ -84,7 +83,7 @@
8483
"jdk.extension.notInstalled.label":"Extension not installed.",
8584
"jdk.extension.error_msg.clientNotAvailable":"Client not available",
8685
"jdk.extension.progressBar.error_msg.cannotRun":"cannot run {lsCommand}; client is {client}",
87-
"jdk.extension.error_msg.doesntSupportNewTeamplate":"Client {client} doesn't support new from template",
86+
"jdk.extension.error_msg.doesntSupportNewTeamplate":"Client {client} doesn't support creating a new file",
8887
"jdk.extension.error_msg.doesntSupportNewProject":"Client {client} doesn't support new project",
8988
"jdk.extension.error_msg.doesntSupportGoToTest":"Client {client} doesn't support go to test",
9089
"jdk.extension.error_msg.noSuperImpl":"No super implementation found",
@@ -95,4 +94,4 @@
9594
"jdk.workspace.new.prompt": "Input the directory path where the new file will be generated",
9695
"jdk.extension.utils.error_message.failedHttpsRequest": "Failed to get {url} ({statusCode})",
9796
"jdk.extension.error_msg.notEnabled": "{SERVER_NAME} not enabled"
98-
}
97+
}

vscode/l10n/bundle.l10n.ja.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
32
"jdk.downloader.heading": "JDKダウンローダ",
43
"jdk.downloader.html.details":"<p>このツールは、<a href='https://www.java.com/freeuselicense'>Oracle No-Fee Terms and Conditions</a>の最新のOracle Java SE JDKまたは、<a href='https://openjdk.org/legal/gplv2+ce.html'>クラスパス例外付きGNU Public License</a>に基づいたOracle OpenJDKビルドのいずれかをダウンロードできます</p> <p>次に、インストールおよび構成をかわりに処理します。</p> <p>これにより、この拡張によって提供されたすべての機能を最大限活用できます。</p>",
54
"jdk.downloader.button.label.oracleJdk": "Oracle Java SE JDKのダウンロード",
@@ -84,7 +83,7 @@
8483
"jdk.extension.notInstalled.label":"拡張機能がインストールされませんでした。",
8584
"jdk.extension.error_msg.clientNotAvailable":"クライアントを使用できません",
8685
"jdk.extension.progressBar.error_msg.cannotRun":"{lsCommand}を実行できません。クライアントは{client}です",
87-
"jdk.extension.error_msg.doesntSupportNewTeamplate":"クライアント{client}では、「テンプレートから新規作成」はサポートされていません",
86+
"jdk.extension.error_msg.doesntSupportNewTeamplate":"クライアント{client}では、「ファイル新規作成」はサポートされていません",
8887
"jdk.extension.error_msg.doesntSupportNewProject":"クライアント{client}では、新規プロジェクトはサポートされていません",
8988
"jdk.extension.error_msg.doesntSupportGoToTest":"クライアント{client}では、「テストへ移動」はサポートされていません",
9089
"jdk.extension.error_msg.noSuperImpl":"スーパークラスの実装が見つかりません",

vscode/l10n/bundle.l10n.zh-cn.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"jdk.extension.notInstalled.label":"未安装扩展。",
8484
"jdk.extension.error_msg.clientNotAvailable":"客户端不可用",
8585
"jdk.extension.progressBar.error_msg.cannotRun":"无法运行 {lsCommand};客户端为 {client}",
86-
"jdk.extension.error_msg.doesntSupportNewTeamplate":"客户端 {client} 不支持从模板新建",
86+
"jdk.extension.error_msg.doesntSupportNewTeamplate":"客户端 {client} 不支持建新文件",
8787
"jdk.extension.error_msg.doesntSupportNewProject":"客户端 {client} 不支持新项目",
8888
"jdk.extension.error_msg.doesntSupportGoToTest":"客户端 {client} 不支持转至测试",
8989
"jdk.extension.error_msg.noSuperImpl":"未找到超类实现",

vscode/package.nls.ja.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"jdk.views.explorer.projects": "プロジェクト",
55
"jdk.workspace.compile": "ワークスペースのコンパイル",
66
"jdk.workspace.clean": "ワークスペースの消去",
7-
"jdk.workspace.new": "テンプレートから新規作成...",
7+
"jdk.workspace.new": "ファイル新規作成...",
88
"jdk.workspace.newproject": "新規プロジェクト...",
99
"jdk.java.goto.super.implementation": "スーパークラスの実装へ移動",
1010
"jdk.open.type": "タイプを開く...",

vscode/package.nls.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"jdk.views.explorer.projects": "Projects",
55
"jdk.workspace.compile": "Compile Workspace",
66
"jdk.workspace.clean": "Clean Workspace",
7-
"jdk.workspace.new": "New from Template...",
7+
"jdk.workspace.new": "New File...",
88
"jdk.workspace.newproject": "New Project...",
99
"jdk.java.goto.super.implementation": "Go to Super Implementation",
1010
"jdk.open.type": "Open Type...",
@@ -65,4 +65,4 @@
6565
"jdk.configurationSnippets.name": "Launch Java App",
6666
"jdk.configurationSnippets.label": "Java+: Launch Java Application",
6767
"jdk.configurationSnippets.description": "Launch a Java Application in debug mode"
68-
}
68+
}

vscode/package.nls.zh-cn.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"jdk.views.explorer.projects": "项目",
55
"jdk.workspace.compile": "编译工作区",
66
"jdk.workspace.clean": "清除工作区",
7-
"jdk.workspace.new": "从模板新建...",
7+
"jdk.workspace.new": "建新文件...",
88
"jdk.workspace.newproject": "新建项目...",
99
"jdk.java.goto.super.implementation": "转至超类实现",
1010
"jdk.open.type": "打开类型...",

0 commit comments

Comments
 (0)