plugin Intellij Obtenha seleção atual

override fun actionPerformed(e: AnActionEvent) {
	var editor=e.getData(PlatformDataKeys.EDITOR);
	var selectedText= editor?.selectionModel?.getSelectedText();
}
Friendly Hawk