Skip to content

Relabeled the command "New From Template" to "New File" #302

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
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
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 From Template...__ command to create a new Java file.
- Use the __Java: New File...__ 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 from Template...__ add various files to currently selected open project. Files are:
* __Java: New File...__ 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 From Template...__ command to create a new Java file.
- Use the __Java: New File...__ 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 from Template...__ add various files to currently selected open project. Files are:
* __Java: New File...__ 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
5 changes: 2 additions & 3 deletions vscode/l10n/bundle.l10n.en.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{

"jdk.downloader.heading": "JDK Downloader",
"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>",
"jdk.downloader.button.label.oracleJdk": "Download Oracle Java SE JDK",
Expand Down Expand Up @@ -84,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 new from template",
"jdk.extension.error_msg.doesntSupportNewTeamplate":"Client {client} doesn't support creating a new file",
"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 All @@ -95,4 +94,4 @@
"jdk.workspace.new.prompt": "Input the directory path where the new file will be generated",
"jdk.extension.utils.error_message.failedHttpsRequest": "Failed to get {url} ({statusCode})",
"jdk.extension.error_msg.notEnabled": "{SERVER_NAME} not enabled"
}
}
3 changes: 1 addition & 2 deletions vscode/l10n/bundle.l10n.ja.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{

"jdk.downloader.heading": "JDKダウンローダ",
"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>",
"jdk.downloader.button.label.oracleJdk": "Oracle Java SE JDKのダウンロード",
Expand Down Expand Up @@ -84,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 @@ -4,7 +4,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 @@ -4,7 +4,7 @@
"jdk.views.explorer.projects": "Projects",
"jdk.workspace.compile": "Compile Workspace",
"jdk.workspace.clean": "Clean Workspace",
"jdk.workspace.new": "New from Template...",
"jdk.workspace.new": "New File...",
"jdk.workspace.newproject": "New Project...",
"jdk.java.goto.super.implementation": "Go to Super Implementation",
"jdk.open.type": "Open Type...",
Expand Down Expand Up @@ -65,4 +65,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 @@ -4,7 +4,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