Skip to content

Commit ddc3111

Browse files
committed
Initial commit
0 parents  commit ddc3111

File tree

13 files changed

+134
-0
lines changed

13 files changed

+134
-0
lines changed

.vscode/settings.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"java.project.sourcePaths": [
3+
"src"
4+
],
5+
"java.project.outputPath": "bin",
6+
"java.project.referencedLibraries": [
7+
"lib\\oshi-core-6.6.2.jar",
8+
"lib\\flatlaf-3.4.1.jar"
9+
],
10+
"java.debug.settings.onBuildFailureProceed": true
11+
}

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## Getting Started
2+
3+
Welcome to the VS Code Java world. Here is a guideline to help you get started to write Java code in Visual Studio Code.
4+
5+
## Folder Structure
6+
7+
The workspace contains two folders by default, where:
8+
9+
- `src`: the folder to maintain sources
10+
- `lib`: the folder to maintain dependencies
11+
12+
Meanwhile, the compiled output files will be generated in the `bin` folder by default.
13+
14+
> If you want to customize the folder structure, open `.vscode/settings.json` and update the related settings there.
15+
16+
## Dependency Management
17+
18+
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).

bin/Example.class

691 Bytes
Binary file not shown.

bin/com/emr/logging/LogLevel.class

1 KB
Binary file not shown.
1.12 KB
Binary file not shown.

bin/com/emr/logging/Logger.class

1.36 KB
Binary file not shown.

lib/flatlaf-3.4.1.jar

863 KB
Binary file not shown.

logging.jar

2.88 KB
Binary file not shown.

manifest.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Manifest-Version: 1.0
2+
Created-By: Emr

src/Example.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import com.emr.logging.Logger;
2+
import com.emr.logging.LogLevel;
3+
4+
public class Example {
5+
public static void main(String[] args) {
6+
Logger logger = new Logger(LogLevel.INFO);
7+
8+
logger.debug("This is a debug message.");
9+
logger.info("App started.");
10+
logger.warn("This is a warning message.");
11+
logger.error("This is an error message.");
12+
13+
logger.close();
14+
}
15+
}

0 commit comments

Comments
 (0)