can't import a file extension which is not .scala

Greetings,

I have a Scala file that its file extention is .q
In Intellij, .q file is configured to be Scala file so some Scala plugin features such as syntax highlighting are working fine.
However, it does not seem to be able to import scala files with .q file extension. It cannot find classes in .q Scala files.
It works if the file extension is changed to .scalar.
I have tested it in Intellij 135.1230 and Scala plugin 0.41.2, and early access version.

Can it import all the file types registered as Scala files? Or could you advise if I misunderstood?

Thanks!

4 comments
Comment actions Permalink

That was a bug. It's fixed in plugin for IDEA 14, will be available as nightly tomorrow. However most probably change will not be integrated to IDEA 13 version.

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

Dear Alexander Podkhalyuzin,

Thank you for your prompt response.
I was not able to install the scala plugin (1.0.93.17.EAP. 138.2458) in IntelliJ 14 EAP (138.2210.3).
It says version is incompatible. Could you advise how I could install the lastest nightly build?

Thanks!

0
Comment actions Permalink

1.0.93.17.EAP is updated for the compatibility with upcoming IntelliJ IDEA version. It doesn't contain anything new compared to other 1.0.93 version.
What is newer is nightly builds: http://confluence.jetbrains.com/display/SCA/Scala+Plugin+Nightly+Builds+for+Cassiopeia
However note that latest builds also available only with upcoming IntelliJ IDEA version.

Best regards,
Alexander Podkhalyuzin.

0
Comment actions Permalink

Thank you again. It works for me!

0

Please sign in to leave a comment.