I have a Ruby on Rails project in RubyMine IDE so I want to generate the Class Diagram and when I click on 'Diagrams->Show Diagrams' teh IDE displays just:

  • Rails Model Dependency Diagram
  • Gem Dependency Diagram

I've checked the Ruby Class Diagram in the IDE Settings. Can someone help me to find out how to generate the Ruby Class Diagram with RubyMine please.!

enter image description here

有帮助吗?

解决方案

Ok, I think I've resolved that. I'm using both versions (6.0.2 and 5.4.3.2.1 - debugger issues) and in latter one I waas lacking that option. Go to Settings > Diagrams, uncheck everything and apply. You should be prompted about changes in workspace.xml. Accept that and you should have all three diagrams options available now.

If this won't help - invalidate caches, I'm not sure if it will delete workspace.xml. If not, delete .idea directory from your project and let RubyMine index it once again and recreate workspace.xml.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top