Skip to content

Commit 73cd2f9

Browse files
committed
Relabeled the command "New From Template" to "New File from Template"
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 from Template" Also updated the label references in READMEs, messages and translations. This also avoids the command "New File" getting repeated twice in the Project explorer panel if it is simplified further as done in PR #302. Signed-off-by: Siddharth Srinivasan <[email protected]>
1 parent fe7bece commit 73cd2f9

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
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 File...__ command to create a new Java file.
43+
- Use the __Java: New File from Template...__ 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 File...__ add various files to currently selected open project. Files are:
50+
* __Java: New File from Template...__ 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 File...__ command to create a new Java file.
39+
- Use the __Java: New File from Template...__ 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 File...__ add various files to currently selected open project. Files are:
46+
* __Java: New File from Template...__ 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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"jdk.extension.notInstalled.label":"Extension not installed.",
8484
"jdk.extension.error_msg.clientNotAvailable":"Client not available",
8585
"jdk.extension.progressBar.error_msg.cannotRun":"cannot run {lsCommand}; client is {client}",
86-
"jdk.extension.error_msg.doesntSupportNewTeamplate":"Client {client} doesn't support creating a new file",
86+
"jdk.extension.error_msg.doesntSupportNewTeamplate":"Client {client} doesn't support creating a new file from template",
8787
"jdk.extension.error_msg.doesntSupportNewProject":"Client {client} doesn't support new project",
8888
"jdk.extension.error_msg.doesntSupportGoToTest":"Client {client} doesn't support go to test",
8989
"jdk.extension.error_msg.noSuperImpl":"No super implementation found",

vscode/l10n/bundle.l10n.ja.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/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
@@ -3,7 +3,7 @@
33
"jdk.views.explorer.projects": "プロジェクト",
44
"jdk.workspace.compile": "ワークスペースのコンパイル",
55
"jdk.workspace.clean": "ワークスペースの消去",
6-
"jdk.workspace.new": "ファイル新規作成...",
6+
"jdk.workspace.new": "テンプレートからファイル新規作成...",
77
"jdk.workspace.newproject": "新規プロジェクト...",
88
"jdk.java.goto.super.implementation": "スーパークラスの実装へ移動",
99
"jdk.open.type": "タイプを開く...",

vscode/package.nls.json

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

vscode/package.nls.zh-cn.json

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

0 commit comments

Comments
 (0)