Skip to content

Commit

Permalink
Merge pull request #323 from sid-srini/relabel-New_From_Template-to-N…
Browse files Browse the repository at this point in the history
…ew_File

Relabeled the command "New From Template" to "New File from Template"
  • Loading branch information
sid-srini authored Nov 6, 2024
2 parents fe7bece + 73cd2f9 commit b3e380f
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ Java Platform extension from Oracle brings full featured development support (ed
- For more information, see the section [Selecting the JDK](#selecting-the-jdk).
4. Use any one of the following ways to start coding, compiling and debugging in Java.
- Simply create a new Java class with `public static void main(String[] args)` method.
- Use the __Java: New File...__ command to create a new Java file.
- Use the __Java: New File from Template...__ command to create a new Java file.
- Use the __Java: New Project...__ command to create a new project.
- Open the folder with existing __Maven__ or __Gradle__ project files (_pom.xml_ or _build.gradle, gradle.properties_).

## Supported Actions
In the VS Code command palette :
* __Java: New Project...__ allows creation of new Maven or Gradle project
* __Java: New File...__ add various files to currently selected open project. Files are:
* __Java: New File from Template...__ add various files to currently selected open project. Files are:
* Java - broad selection of various predefined Java classes
* Unit tests - JUnit and TestNG templates for test suites and test cases
* Other - various templates for Javascript, JSON, YAML, properties, ... files
Expand Down
4 changes: 2 additions & 2 deletions vscode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ Java Platform extension from Oracle brings full featured development support (ed
- For more information, see the section [Selecting the JDK](#selecting-the-jdk).
4. Use any one of the following ways to start coding, compiling and debugging in Java.
- Simply create a new Java class with `public static void main(String[] args)` method.
- Use the __Java: New File...__ command to create a new Java file.
- Use the __Java: New File from Template...__ command to create a new Java file.
- Use the __Java: New Project...__ command to create a new project.
- Open the folder with existing __Maven__ or __Gradle__ project files (_pom.xml_ or _build.gradle, gradle.properties_).

## Supported Actions
In the VS Code command palette :
* __Java: New Project...__ allows creation of new Maven or Gradle project
* __Java: New File...__ add various files to currently selected open project. Files are:
* __Java: New File from Template...__ add various files to currently selected open project. Files are:
* Java - broad selection of various predefined Java classes
* Unit tests - JUnit and TestNG templates for test suites and test cases
* Other - various templates for Javascript, JSON, YAML, properties, ... files
Expand Down
2 changes: 1 addition & 1 deletion vscode/l10n/bundle.l10n.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"jdk.extension.notInstalled.label":"Extension not installed.",
"jdk.extension.error_msg.clientNotAvailable":"Client not available",
"jdk.extension.progressBar.error_msg.cannotRun":"cannot run {lsCommand}; client is {client}",
"jdk.extension.error_msg.doesntSupportNewTeamplate":"Client {client} doesn't support creating a new file",
"jdk.extension.error_msg.doesntSupportNewTeamplate":"Client {client} doesn't support creating a new file from template",
"jdk.extension.error_msg.doesntSupportNewProject":"Client {client} doesn't support new project",
"jdk.extension.error_msg.doesntSupportGoToTest":"Client {client} doesn't support go to test",
"jdk.extension.error_msg.noSuperImpl":"No super implementation found",
Expand Down
2 changes: 1 addition & 1 deletion vscode/l10n/bundle.l10n.ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"jdk.extension.notInstalled.label":"拡張機能がインストールされませんでした。",
"jdk.extension.error_msg.clientNotAvailable":"クライアントを使用できません",
"jdk.extension.progressBar.error_msg.cannotRun":"{lsCommand}を実行できません。クライアントは{client}です",
"jdk.extension.error_msg.doesntSupportNewTeamplate":"クライアント{client}では、「ファイル新規作成」はサポートされていません",
"jdk.extension.error_msg.doesntSupportNewTeamplate":"クライアント{client}では、「テンプレートからファイル新規作成」はサポートされていません",
"jdk.extension.error_msg.doesntSupportNewProject":"クライアント{client}では、新規プロジェクトはサポートされていません",
"jdk.extension.error_msg.doesntSupportGoToTest":"クライアント{client}では、「テストへ移動」はサポートされていません",
"jdk.extension.error_msg.noSuperImpl":"スーパークラスの実装が見つかりません",
Expand Down
2 changes: 1 addition & 1 deletion vscode/l10n/bundle.l10n.zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"jdk.extension.notInstalled.label":"未安装扩展。",
"jdk.extension.error_msg.clientNotAvailable":"客户端不可用",
"jdk.extension.progressBar.error_msg.cannotRun":"无法运行 {lsCommand};客户端为 {client}",
"jdk.extension.error_msg.doesntSupportNewTeamplate":"客户端 {client} 不支持建新文件",
"jdk.extension.error_msg.doesntSupportNewTeamplate":"客户端 {client} 不支持从模板新建文件",
"jdk.extension.error_msg.doesntSupportNewProject":"客户端 {client} 不支持新项目",
"jdk.extension.error_msg.doesntSupportGoToTest":"客户端 {client} 不支持转至测试",
"jdk.extension.error_msg.noSuperImpl":"未找到超类实现",
Expand Down
2 changes: 1 addition & 1 deletion vscode/package.nls.ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"jdk.views.explorer.projects": "プロジェクト",
"jdk.workspace.compile": "ワークスペースのコンパイル",
"jdk.workspace.clean": "ワークスペースの消去",
"jdk.workspace.new": "ファイル新規作成...",
"jdk.workspace.new": "テンプレートからファイル新規作成...",
"jdk.workspace.newproject": "新規プロジェクト...",
"jdk.java.goto.super.implementation": "スーパークラスの実装へ移動",
"jdk.open.type": "タイプを開く...",
Expand Down
4 changes: 2 additions & 2 deletions vscode/package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"jdk.views.explorer.projects": "Projects",
"jdk.workspace.compile": "Compile Workspace",
"jdk.workspace.clean": "Clean Workspace",
"jdk.workspace.new": "New File...",
"jdk.workspace.new": "New File from Template...",
"jdk.workspace.newproject": "New Project...",
"jdk.java.goto.super.implementation": "Go to Super Implementation",
"jdk.open.type": "Open Type...",
Expand Down Expand Up @@ -64,4 +64,4 @@
"jdk.configurationSnippets.name": "Launch Java App",
"jdk.configurationSnippets.label": "Java+: Launch Java Application",
"jdk.configurationSnippets.description": "Launch a Java Application in debug mode"
}
}
2 changes: 1 addition & 1 deletion vscode/package.nls.zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"jdk.views.explorer.projects": "项目",
"jdk.workspace.compile": "编译工作区",
"jdk.workspace.clean": "清除工作区",
"jdk.workspace.new": "建新文件...",
"jdk.workspace.new": "从模板新建文件...",
"jdk.workspace.newproject": "新建项目...",
"jdk.java.goto.super.implementation": "转至超类实现",
"jdk.open.type": "打开类型...",
Expand Down

0 comments on commit b3e380f

Please sign in to comment.