This is a project template for a greenfield Java project. It’s named after the Java mascot Duke. Given below are instructions on how to use it.
Prerequisites: JDK 11, update Intellij to the most recent version.
File
> Close Project
to close the existing project dialog first)Configure
> Structure for New Projects
and then Project Settings
> Project
> Project SDK
New...
and select the directory where you installed JDK 11OK
Open or Import
.OK
After the importing is complete, locate the src/main/java/duke.Duke.java
file, right-click it, and choose Run duke.Duke.main()
. If the setup is correct, you should see something like the below:
Are ya winning, son?
Here are the following commands you can use:
todo {name of task}
deadline {name of task} /by {YYYY-MM-DD}
event {name of task} /at {YYYY-MM-DD}
done {task index}
delete {task index}
find {keyword}
list
statistics