Idea issue with kotlin-android project

I have problem using Idea with kotlin and Android project. For example we have code:

setContentView(R.layout.activity_main) val text:TextView =  findViewById( as TextView

if I click(Ctrl+Click) with to R.layout.activity_main I exptected to see res/layout/activity_main.xml but Idea redirect me to t class The same problem with I expected to see TextView inside activity_main.xml but not

How to fix this ?

Thank you

What versions of Idea and Kotlin are you using?

Idea 13.1.4 Idea Kotlin Plugin 0.8.11

Java 1.8.0_11

ext.kotlin_version = ‘0.8.484’

apply plugin: ‘android’
apply plugin: ‘kotlin-android’

dependencies {
  classpath ‘’
  classpath “org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version”

dependencies {
  compile fileTree(dir: ‘libs’, include: [‘*.jar’])
  compile ‘’
  compile “org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version”

In the java classes in the same module all works perfect as expected

Thank you for report! You can follow this issue to know when it'll be fixed.