This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.intellij.openapi.diagnostic.Logger | |
import liveplugin.* | |
show("View Binding: ${project?.name}") | |
registerAction(id = "Replace ButterKnife", keyStroke = "ctrl shift H") { event: com.intellij.openapi.actionSystem.AnActionEvent -> | |
val project = event.project ?: return@registerAction | |
val editor = event.editor ?: return@registerAction | |
val logger = Logger.getInstance("HelloLogger") | |
// Document modifications must be done inside "commands" which will support undo/redo functionality. |