With EduTools plugin you can learn and teach Kotlin through code practicing tasks. It is available both in Android Studio and IntelliJ IDEA. This tutorial describes the interactive learning. If you want to use the EduTools plugin for teaching, read "Teaching Kotlin with EduTools plugin".
Go to Preferences -> Plugins (or Configure -> Plugins from the Welcome Screen), press Install JetBrains Plugin… and search for EduTools plugin:
When installed for the first time, the EduTools plugin asks if you're a Learner or an Educator. Please choose Learner:
To open the list of available courses, go to Browse Courses on the Welcome Screen or in the File Menu. You can start with the Kotlin Koans, a series of exercises created to get you familiar with the Kotlin Syntax:
If you have a course archive shared with you by your teacher or co-worker, use the Import Course icon to open it. You can also log in to Stepik with the corresponding link to see all the courses available to you on this MOOC platform.
To start the course, go to View -> Tool Windows -> Project. You will find a course plan, the list of lessons. Every lesson has a set of tasks and code exercises you need to solve. Start with the very first one:
Every task has a description that you can read in the Task Description panel (View -> Tool Windows -> Task Description) and exercise code in the Task.kt
file:
Now you're ready to start learning. Read the first task description and the exercise code. You will find a placeholder in the exercise code which you need to complete to solve the task:
When you are ready, verify the task with the Check icon at the top of Task Description panel. If you passed, there will be the Congratulations! message:
Go on to the next task with the Next icon at the top of Task Description panel:
Continue on with the code exercises and learn more about Kotlin. Even if you make a mistake, EduTools will help you if you get stuck. If the verification failed, you will get a message to help you to find the mistake:
If you want to start from scratch with the task, use the Reset icon at the top of Task Description panel:
Or you can fill in the right answer with the Bulb icon:
Do not give up early! Make all the exercises green to finish the course:
© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/docs/tutorials/edu-tools-learner.html