Horizon is a chatbot that can help store your tasks, if you don't mind her attitude.
Prerequisites: JDK 11, update Intellij to the most recent version.
- Open Intellij (if you are not in the welcome screen, click
File
>Close Project
to close the existing project first) - Open the project into Intellij as follows:
- Click
Open
. - Select the project directory, and click
OK
. - If there are any further prompts, accept the defaults.
- Click
- Configure the project to use JDK 11 (not other versions) as explained in here.
In the same dialog, set the Project language level field to theSDK default
option. - After that, locate the
src/main/java/Main.java
file, right-click it, and run it. If the setup is correct, you should see something like the below as the output:Hello. You may call me Horizon. Looks like you need me to remember things for you. Again. ------------------------------
- 'todo [task description]': Adds a todo with a description.
- 'deadline [task description] /by [date YYYY-MM-DD]': Adds a deadline with a description and date.
- 'event [task description] /from [date YYYY-MM-DD] /to [date YYYY-MM-DD]': Adds a event with a description and dates.
- 'list': Lists current tasks.
- 'mark [num]': Mark the selected task as done.
- 'unmark [num]': Mark the selected task as not done.
- 'delete [num]': Delete the selected task.
- 'find [description]': Find tasks with the description.
- 'bye': Exits the chatbot, saving the data to a file.