intellij plugin unresolved reference to com.intellij.modules.lang in depends element
Answered
I'm going through the tutorial "Custom Language Support Tutorial" with Intellij 2018.2 and the finished the initial steps. I moved to the next section "Compatibility with Multiple Products" but encountered an issue where my depends entry does not resolve - even for the builtin modules.

How can I solve this? Is there a .jar file I need to include?
Please sign in to leave a comment.
Please verify plugin "Plugin DevKit" is enabled in IDE and your plugin.xml is correctly detected (it should have "plugin" icon in editor tab), see "Plugin Deployment" tab of your plugin module in Project Structure editor.
Everything looks enabled. The plugin works. If I remove the 'depends' clause, everything else is fine and I can run the plugin. A test IDE will appear with the functionality of supporting a "properties" file as described in the tutorial. I just try to apply the 'depends' item and it shows the error. The image should show things are enabled - just get that pesky unresolved reference.
Please press Alt+Enter on the "unresolved" 'com' reference, do you see intention "Uninject language/reference"? Or any other 3rd party plugin injecting references here possibly?
Not sure what language/reference got uninjected, but it worked. The unresolved reference is gone. Thanks, that would have taken quite a bit of experimentation to find on my own.