I'm not sure how scala-specific this is, but here goes. I have this method:
def findMessage(msg: String): String
It looks up msg in a properties file. I have been searching for, but can't find some way to tell intellij to validate string literals for msg against my properties file. I've looked through language injection but can't find a suitable language.