For me it did not work, no option on src folder. To create new package I had to right-click on the Kotlin folder which is inside src/main folder.
Maybe it has changed with new Idea editor?
Versions
IntelliJ IDEA 2023.1.2 CE
built on May 16, 2023
Windows 11
In "3. Task: Create a class" (https://developer.android.com/codelabs/kotlin-bootcamp-classes#2) it says in Step 1.1 to "... right-click on the src folder."
For me it did not work, no option on src folder. To create new package I had to right-click on the Kotlin folder which is inside src/main folder. Maybe it has changed with new Idea editor?
Versions IntelliJ IDEA 2023.1.2 CE built on May 16, 2023 Windows 11
codelab: kotlin-bootcamp