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
src/main/java/Duke.java
file, right-click it, and choose Run Duke.main()
.Aqua is a task managing application that helps you keep track of your task list.
hi
- GreetUser input format: hi
Example:
hi
Expected Outcome:
Hi!
list
- List all of the tasksUser input format: list
Example:
list
Expected Outcome:
Here are the tasks in your list:
1. [T][✓] homework
2. [T][✘] ip
3. [D][✘] quiz (by: 9月 18 2019)
todo
- Add a Todo task to the listUser input format: todo DESCRIPTION
Example:
todo CS2103S Quiz
Expected Outcome:
Got it. I've added this task:
[T][✘] CS2103 Quiz
Now you have 4 tasks in the list.
deadline
- Add a Deadline task to the listUser input format: deadline DESCRIPTION /by YYYY-MM-DD
Example:
Got it. I've added this task:
[D][✘] CS2103S ip (by: 2020-09-18)
Now you have 5 tasks in the list.
Expected Outcome:
Got it. I've added this task:
[E][✘] CS2101 OP meeting (at: Wednesday 9pm)
Now you have 6 tasks in the list.
event
- Add an Event task to the listUser input format: event DESCRIPTION /at TIME
Example:
event CS2101 OP meeting /at Wednesday 9pm
Expected Outcome:
Got it. I've added this task:
[E][✘] CS2101 OP meeting (at: Wednesday 9pm)
Now you have 6 tasks in the list.
done
- Mark a task as doneUser input format: done INDEX
Example:
done 4
Expected Outcome:
Nice! I've marked this task as done:
[T][✓] CS2103 Quiz
find
- Search for related tasks by keywordUser input format: find KEYWORD
Example:
find 2103
Expected Outcome:
Here are the tasks found:
[T][✘] 2103
[T][✓] CS2103 Quiz
[D][✘] CS2103S ip (by: 2020-09-18)
delete
- Delete a task from the task listUser input format: delete INDEX
Example:
delete 2
Expected Outcome:
Noted. I've removed this task:
[T][✘] 2103
Now you have 5 tasks in the list
bye
- Exit from the Duke applicationUser input format: bye
Example:
bye
Expected Outcome:
Bye!
The main window of the application closes.
The programme stops and you will exit from the application.