Group Group Group Group Group Group Group Group Group

Chapter 24 Scripting with Kotlin

Click the Refactor button to finish renaming the file. Next, you’ll need to manually clear the context of the script by going to Tools > Tasks and Contexts > Clear Context.

This doesn’t seem to be an option on my Intellij IDEA?

Hi @220284hk,
Thanks for the message! Can you share what version of the book you’re working from?

@vgonda
This is the 3rd edition.

In case you were asking about my IntellijJ IDEA version it’s 2021.2 (Community Edition)

Looks like this got moved in the 2021 edition to something with a similar but not identical name - Tools > Tasks & Contexts > Clear Context.

Mine doesn’t look like that!