Run 'Tests ...' has disappeared from the context menu in the packages view
已回答
When I right-click a package in the project window (Packages) I no longer see the option to run all unit tests. I've tried to invalidate the caches and I have restarted.
请先登录再写评论。
Could you please attach screenshots demonstrating the issue? Also please share idea.log ("Help | Show Log in...") after restarting IDE.
The Run is missing...
But it is here when Project is selected
Does it help if you disable custon plugins:
```
Loaded custom plugins: Auto filling Java call arguments (1.0), BashSupport (1.6.12.172), CheckStyle-IDEA (5.12.1), Eclipser (0.7.1), Extra Actions (1.2.1), FindBugs-IDEA (1.0.1), Gerrit (1.0.4-146), Git Bar (1.0.2), Gradle Cleaner (1.0), Gradle Dependencies Formatter (0.5.2), Gradle Dependencies Helper (1.9), Grep Console (7.2.162.000.0), Markdown support (2017.2.20170419), MetricsReloaded (1.8), Multirun (1.7), PlantUML integration (2.9.0), Python Community Edition (2017.2.172.3968.33), SonarLint (3.1.0.2244), Spek (0.5.3), String Manipulation (5.7.143.000.0)
```
I removed idea.log to avoid the mess.
I Can't figure out how to attach files and I don't paste the full log. But it is full of exceptions like this one;
I've disabled all the custom plugins but the problem remains.
Issue is related to python plugin and should be already fixed: https://youtrack.jetbrains.com/issue/PY-23994. Could you please check it with IDEA 2017.3 EAP: https://www.jetbrains.com/idea/nextversion/ ?
I tried 2017.3 EAP but the problem remains. I also tried to disable the Python plugin which didn't help.
It works now in 2017.3. I uninstalled the Python plugin and when idea was restarted the Run menus is back!
It is the same in 2016.2.5, if I uninstall the Python plugin the menus are back.
I got the same problem and it turned out to be a suggestion for a path variable fix that caused the error. Before I got errors for the CLASS variable and someone suggested to set its value to CLASS. That made the errors go away but silently caused the missing run menus. Now I simply deleted it and the run menus are back! (and it doesn't seem to complain without a CLASS variable). So I ended up with only the KOTLIN_BUNDLED variable:

@Marc thanks for sharing! Sounds like https://youtrack.jetbrains.com/issue/IDEA-75209. Fixed in 2018.2 version.