Welcome to chatbot Chris's user guide!
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/Chris.java
file, right-click it, and chooseRun Chris.main()
(if the code editor is showing compile errors, try restarting the IDE). If the setup is correct, you should see something like the below as the output:--------------------------------------- Hello, I am Chris! What can I do for you? ---------------------------------------
Adds a todo task.
DESCRIPTION
must not be empty
Examples:
todo buy milk
todo go for a run
Adds a deadline task.
DESCRIPTION
must not be emptyDATE
must not be emptyDATE
can take the form of any string/by
must be present
Examples:
deadline Complete CS2113 ip /by 8 Mar 2359
deadline Purchase plane tickets /by next week
Adds an event task.
DESCRIPTION
must not be emptyDATE
must not be emptyDATE
can take the form of any string/from
must be present/to
must be present
Examples:
event Mom's birthday dinner /from Sunday 1900 /to 2100
event Midterms on Tuesday /from 5pm /to 6.30pm
Mark or unmark the task at the index.
INDEX
must be in integer from 1 to total number of tasksINDEX
must not be empty
Example:
mark 1
Deletes the task at the index.
INDEX
must be in integer from 1 to total number of tasksINDEX
must not be empty
Example:
delete 1
Displays all the current tasks to the user and shows whether each task is completed.
Finds tasks that contain the keyword in the description.
KEYWORD
must not be empty
Examples:
find dinner
Exits Chris and saves the tasks.