Quick Definition between HTML and CSS in RubyMine

I have a fairly simple Rails project open in RubyMine, which promises features such as Quick Definition of styles. For example, where I have


<link rel="stylesheet" type="css" href="css/parallax2.css">
      ...
      <div class="content content-white">


I should be able to right-click on

content-white
and Go To the definition. The
parallax2.css
file is present in the RubyMine project. It's not working for me, and I'm wondering if perhaps RubyMine is having trouble associating the HTML and CSS files to each other.

What can I do to fix this and enable the advanced features?
0

Do you see any warning over <link rel="stylesheet" type="css" href="css/parallax2.css"> ?


Could you provide screen shot?

0
Avatar
Permanently deleted user

The problem has solved itself. Perhaps it wasn't finished indexing before?

I now get: Right-click > Go To > Declaration.

I think the documentation is slightly out of date.

0

请先登录再写评论。