From 5d71097f9edbed3c55c726b18d9ae0b95da91b51 Mon Sep 17 00:00:00 2001 From: dlopatin Date: Sun, 18 Feb 2024 13:45:57 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A8=D0=B0=D0=B1=D0=BB=D0=BE=D0=BD=20java?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WarmlyLocomotive/.vscode/settings.json | 7 +++++++ WarmlyLocomotive/README.md | 18 ++++++++++++++++++ WarmlyLocomotive/src/Program.java | 5 +++++ 3 files changed, 30 insertions(+) create mode 100644 WarmlyLocomotive/.vscode/settings.json create mode 100644 WarmlyLocomotive/README.md create mode 100644 WarmlyLocomotive/src/Program.java diff --git a/WarmlyLocomotive/.vscode/settings.json b/WarmlyLocomotive/.vscode/settings.json new file mode 100644 index 0000000..e112a70 --- /dev/null +++ b/WarmlyLocomotive/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "java.project.sourcePaths": ["src"], + "java.project.outputPath": "bin", + "java.project.referencedLibraries": [ + "lib/**/*.jar" + ] +} diff --git a/WarmlyLocomotive/README.md b/WarmlyLocomotive/README.md new file mode 100644 index 0000000..7c03a53 --- /dev/null +++ b/WarmlyLocomotive/README.md @@ -0,0 +1,18 @@ +## Getting Started + +Welcome to the VS Code Java world. Here is a guideline to help you get started to write Java code in Visual Studio Code. + +## Folder Structure + +The workspace contains two folders by default, where: + +- `src`: the folder to maintain sources +- `lib`: the folder to maintain dependencies + +Meanwhile, the compiled output files will be generated in the `bin` folder by default. + +> If you want to customize the folder structure, open `.vscode/settings.json` and update the related settings there. + +## Dependency Management + +The `JAVA PROJECTS` view allows you to manage your dependencies. More details can be found [here](https://github.com/microsoft/vscode-java-dependency#manage-dependencies). diff --git a/WarmlyLocomotive/src/Program.java b/WarmlyLocomotive/src/Program.java new file mode 100644 index 0000000..14991a8 --- /dev/null +++ b/WarmlyLocomotive/src/Program.java @@ -0,0 +1,5 @@ +public class Program { + public static void main(String[] args) { + System.out.println("Hello, World!"); + } +}